Get_Domain

Retrieves the domain from a Reference or Key attribute.

FUNCTION Get_Domain ( 
   record_    IN type_record_,
   attribute_ IN type_name_ ) RETURN type_domain_

Parameters

record_
   
Foundation1 record.

attribute_
    Reference or Key Attribute name.

Return

    Record attribute domain value.

Example

DECLARE
   domain_ type_domain_;
BEGIN
   ...
   domain_ := Plsqlap_Record_API.Get_Domain(AM, 'APPLICATION_MESSAGE_ID');
   ...
END;