3.1.1.1.13.2.1 GetCustomField
This procedure can be used to retrieve the custom field in the form of CustomField for the given record identifier. It takes the following input parameter.
Param_Id: The RecordId of the custom field requested.
The following is the output parameter of this procedure.
Result_customField: This is of type CustomField specifying the custom field instance.
The following are the processing steps involved.
Locate the row in the ADM_CustomFieldsTable that has the RecordId to be Param_Id.
If the row is found,
Set Result_customField.RecordId to be the RecordId of the row.
Copy CustomFieldDetails of the row to Result_customField.
If Result_customField.Type is Multivalued, call the procedure GetCustomFieldValuesForCustomField passing Param_Id. Store Result_customFieldValues to Result_customField.Values.
Return Result_customField as the output value.