Get_Status

Retrieves a record attribute status.

FUNCTION Get_Status ( 
   record_    IN type_record_,
   attribute_ IN type_name_ ) RETURN type_status_

Parameters

record_
   
Foundation1 record.

attribute_
    Attribute name.

Return

    Returns '*' if the record attribute is dirty.

Example

DECLARE
   status_ Plsqlap_Record_API.type_status_;
BEGIN
   ...
   if ( Plsqlap_Record_API.Get_Status(AM, 'APPLICATION_MESSAGE_ID') = '*' ) then
      -- record attribute is dirty (record attribute value is changed)
   else
      -- record attribute is not dirty (record attribute value is not changed)
   end if;
   --
   -- This would be equivalent to
   -- ---------------------------
   if ( Plsqlap_Record_API.Is_Dirty(AM, 'APPLICATION_MESSAGE_ID') ) then
      -- record attribute is dirty (record attribute value is changed)
   else
      -- record attribute is not dirty (record attribute value is not changed )
   end if;
   ...
END;