Skip to main content
1 of 2
Deployment Failure
  • 4.9k
  • 16
  • 89
  • 190

Can I retrieve related data using RetrieveSalesforceObjects?

Using RetrieveSalesforceObjects I'm able to retrieve specified objects data, from what I understand this function uses the SC SOQL API to retrieve data. Using SOQL I'm able to query data like Account.Name from my Order.

However doing this using RetrieveSalesforceObjects, like this:

SET @Order = RetrieveSalesforceObjects(SObject,"Id, OrderNumber, Account.Name","Id", "=", RecordId)

Is this simply not possible or am I doing something wrong?

Deployment Failure
  • 4.9k
  • 16
  • 89
  • 190