Skip to content

Get_Domain

Retrieves the domain from a Reference or Key attribute.

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

FUNCTION Get_Domain (   
   attr_    IN type_item_record_ ) RETURN type_domain_

Parameters

record_
Foundation1 record.

attribute_
    Reference or Key Attribute name.

attr_
    Attribute item record.

Return

Record attribute domain value.

Example

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