- Functionality
Returns the descriptive value of the related object. If no related object can be found, it returns 'value' (String).
The function does not check whether this is a valid audited relation. The check is done in the condition of the corresponding rule.
- Arguments
getAuditedValueRelation(botypeName,attrName,valueNew)
botypeName: The name of the source BOType (String).
attrName: The name of the (maybe structured) attribute of the source BO-Type (String).
value: The string representation of the attribute value (String).
- Return
String.
- Examples
getAuditedHistoryRelation('project','budgets', 8) returns the descriptive value of the budget with budget_id (8):
'CT:SW Purchase-SW Purchase costs (Licenses) Ca: Pu: CC:14300 OU:- Pr:PR-000000001 Se:'