CX Mobile - Retrieve a secondary object parameter to set it in a custom field through script
Summary
Get using mobile scripts the related (secondary) object of a DCL field and set one of its properties in another field of the main objectContent
Hello everyone,
We have a main custom object (Expense_c) with a secondary object (Resource) related by a DCL (OraZcxOwner_c) from which we want to recover a field value (OraZcxOwner_c?.PersonLastName) and set it in a field of the main object (Expense_c?.CNT_GST_Descripcion_c).
On the firsts attempts we tried to achieve this through this piece of code:
var expenseRow = getCurrentRow();
var owner = expenseRow.getColumn("OraZcxOwner_Obj_c");
Tagged:
0