I am working to update a receipt entry using REST API. It’s my understanding that I should be able to use the natural business methods to make the REST call and update the receipt qty, but it’s not working.
It won’t work when I use POST /{currentCompany}/Erp.BO.ReceiptSvc/GetDtlQtyInfo
But it does work when I use UpdateExt instead. The problem with this one is that the cost and freight burden are not calculating properly.
Example of POST /{currentCompany}/Erp.BO.ReceiptSvc/GetDtlQtyInfo
{
“HttpStatus”: 400,
“ReasonPhrase”: “REST API Exception”,
“ErrorMessage”: “Parameter ds is not found in the input object”,
“ErrorType”: “Epicor.RESTApi.ErrorHandling.ApiException”
}
I changed the method for updating the receipt quantities. (I changed to UpdatedExt)
I added a Rest call to disburse the freight. (POST/DisburseLandedCost)
I also added a Rest call to apply the landed cost. (POST/ProcessLandedCost).
Now I’m showing the correct quantity and material burden on my receipts.
Thanks.
I know this is an old post, but I kept getting this error too, and was able to get the right method working. If it helps anyone, here are the steps I took to fix it. I recommend using the full dataset that comes from Erp.BO.ReceiptSvc/GetByIdChkContainerID