CX Sales Mobile Script get related object fields
Summary:
We need to get a value from a related object. How to achieve that?
Content (please ensure you mask any confidential information):
In Opportunity, On Edit event, I need to retrive information from the standard related account field.
As I saw in some other questions here, it's not possible to access related objects. According to the documentation, we should query the required object.
So, in my case, I should query the Accounts object, using Account Id as parameter. But the standard field TargetPartyId is not available from the fields list to be selected.
All that being said, how am I supposed to retrieve information from a related object?