Hi All,
I am trying to create a record using code below generated from XRM CRM Rest Builder. The code works if I remove the lookup field so I know its a problem there. Any ideas what I am missing?
xxxxx is my tenant code which I am just masking.
var entity = {};
entity.cr93b_name = results.entities[i]["xxxxx_jdeadressbooknumber"];
entity.cr93b_contacttype = 900450000;
entity.cr93b_emailaddress = results.entities[i]["xxxxx_emailaddress"];
entity.cr93b_phonenumber = results.entities[i]["xxxxx_phonenumber"];
entity.cr93b_jdeaddressbooknumber = results.entities[i]["xxxxx_jdeadressbooknumber"];
entity["cr93b_vendorrequestmanagementid@odata.bind"] = "/xxxxx_vendorrequestmanagements(9d7fb079-5082-44d8-a60c-292be6f4f68d)";
Xrm.WebApi.online.createRecord("xxxxx_vendorrequestmanagementcontactinfo", entity);
If I comment out the lookup field it creates the record.
General I think is good.
No problem, I can simply move the thread. Do you know which forum would be appropriate?
Hi Martin - its not apologies. didnt realize I was inside the finance forum
Is this somehow related to Dynamics 365 Finance or shall I move it to another forum?
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Eugen Podkorytov
106
Muhammad Shahzad Sh...
106
Most Valuable Professional