Unable to read Account using ZDK.Apps
I'm trying to read an account with the following line of code:
let r_AccountDetails = ZDK.Apps.CRM.Accounts.fetchById(v_AccountID);
I know v_AccountID is a valid account Id, but r_AccountDetails is always undefined. I've tried hard coded account ids, it's always undefined.
This appears to be isolated to Accounts as I can retrieve a deal with ZDK.Apps.CRM.Deals.fetchById.
Any suggestions welcome.