an anyone identify why this works (I see result.defaultpricelevelid.pricelevelid in an alert())--
Xrm.WebApi.retrieveRecord("account", accountid, "?$select=name,_new_universalterritoryid_value&$expand=defaultpricelevelid($select=pricelevelid,name)").then(
...and yet this one skips directly to the error call back--
Xrm.WebApi.retrieveRecord("new_universalterritory", UTid, "?$select=new_name,_new_regionid_value&$expand=new_defaultpricelevelid($select=pricelevelid,name)").then(
The error.message is actually empty. The FormNotification contains only my constant text.
They look syntactically identical to me. All the lookups and values exist/are populated.
thanks for looking
ps- if I remove the &$expand statement from the second, new_name comes back fine.
*This post is locked for comments
I have the same question (0)