Hi community,
When i use the Xrm.WebApi.online.executeMultiple i have this error :

this is my code :
function CreateReqs(_id, _price) {
var reqObject = {};
reqObject.Entity = { "@odata.type": "Microsoft.Dynamics.CRM.opportunityproduct",
"@opportunityproduct.id": _id };
reqObject.Price= _price;
reqObject.getMetadata = function () {
var metadata = {
boundParameter: "entity",
operationType: 2,
operationName: "Update",
parameterTypes: {
"Entity": {
typeName: "Microsoft.Dynamics.CRM.opportunityproduct",
structuralProperty: 5
},
"Price": {
typeName: "Edm.Deciaml",
structuralProperty: 1
}
}
};
return metadata;
}
return reqObject;
}
Best
*This post is locked for comments
I have the same question (0)