GETOBJVALUE
Specification | Value |
---|---|
Description | Gets a value from a specified object. Used when you want to retrieve a value from an object different from the current one. That object is listed in the Repository Name field of the current row. |
Parameter 1 Name | obj |
Parameter 1 Type | object |
Parameter 2 Name | value |
Parameter 2 Type | attribute value |
Parameter 3 Name | - |
Parameter 3 Type | - |
Return value | Returns value from obj. |
Example:
Let's return the value of Default Delivery Term Days set in the definition of a customer in a sales order:
10: GETOBJVALUE REF:Customer ATTRIB:DefaultDeliveryTermDays
OUTPUT:
If 'DefaultDeliveryTermDays = 5', the output will be '5'.
Note
The repository of the attribute is Crm.Sales.SalesOrders