Skip to content

Get_Value

Retrieves a record attribute value.

FUNCTION Get_Value (   
   record_  IN type_record_,  
   name_    IN type_name_ ) RETURN type_value_  

FUNCTION Get_Value (  
   attr_    IN type_item_record_ ) type_value_

Parameters

record_
  Foundation1 record.

name_
    Record attribute name.

attr_
    Attribute item record.

Return

Record attribute value. The returned value is always of type VARCHAR2.

Example

DECLARE  
   value_   Plsqlap_Record_API.type_value_;  
   created_ DATE;  
BEGIN  
   ...  
   value_   := Plsqlap_Record_API.Get_Value(AM,'APPLICATION_MESSAGE_ID');  
   created_ := TO_DATE(Plsqlap_Record_API.Get_Value(AM,'CREATED_DATE'),Plsqlap_Server_API.ti22_date_format_);  
   ...  
END;