Skip to content

Is_Dirty

Returns the record attribute state.

FUNCTION Is_Dirty (  
   record_  IN OUT type_record_,  
   name_    IN     type_name_ ) RETURN BOOLEAN

Parameters

record_
Foundation1 record.

name_
    Record attribute name.

Return

True or False.

Example

DECLARE  
BEGIN  
   IF ( Plsqlap_Record_API.Is_Dirty(AM,'APPLICATION_MESSAGE_ID') ) THEN  
      -- record attribute value has been changed  
   ELSE  
      -- record attribute value has not been changed  
   END IF;  
END;