Skip to content

Set_Domain

Sets the domain value on record key- or reference-attribute.

PROCEDURE Set_Domain (   
   record_     IN OUT type_record_,  
   name_       IN     type_name_,  
   domain_     IN     type_domain_,  
   overwrite_  IN     BOOLEAN DEFAULT TRUE )

Parameters

record_
Foundation1 record.

name_
    Record Key or Reference attribute name.

domain_
    Domain value.

overwrite_
    If True domain is set to new value, if False domain is set to new value only if domain is not previously set (old value is NOT overwritten).

Example

DECLARE  
   domain_ VARCHAR2(100) := Plsqlap_Server_API.Get_Default_Domain;  
BEGIN  
   ...  
   Plsqlap_Record_API.Set_Domain(AM, 'APPLICATION_MESSAGE_ID', domain_);  
   ...  
END;