Hi All,
I am trying to update existing Sales order header record using Dynamics AX connector in LogicApps, but getting error message mentioned below:
{ "status": 400, "message": "Only 1 of 2 keys provided for lookup, provide keys for SalesOrderNumber,dataAreaId.", "source": "127.0.0.1" }
Passing the following values:
"body": {
"Email": "abc@gmail.com"
"OrderingCustomerAccountNumber": "000",
"SalesOrderNumber": "000013A",
"dataAreaId": "usmf"
}
I am able to create new record, but I am only getting this issue when trying to update existing Sales order header record. In this case, I was trying to update the Email field in Sales order header. Does anyone have any clue what could be the reason. I have tried different things, but nothing worked for me.
Any help in this regard would be highly appreciated.
Thanks,
Baber.