Hello Experts,
I am trying modify the existing record of item journal page using ODATA V4 Service in business central.
We can successfully able to run Get and Post Method But PATCH method not work correct.
Getting Following Error:
"error": {
"code": "BadRequest_MethodNotAllowed",
"message": "'PATCH' requests for 'Item_Journals' of EdmType 'Collection' are not allowed within Dynamics 365 Business Central OData web services. CorrelationId: d43828e7-0c97-44e3-a12c-2d1d03f00b4a."
Request URL:
Body:
{
"Journal_Template_Name": "ITEM",
"Journal_Batch_Name": "D19BF2BD-0",
"Line_No": 10030,
"Entry_Type": "Positive Adjmt.",
"Document_No": "T000001",
"External_Document_No": "",
"Item_No": "1952",
"Location_Code": "",
"Bin_Code": "",
"Quantity": 12
}
Please advice me how to solve this issue?
Thank you in advance