When adding payment it throws error "error": "'OrigDocAmt' cannot be empty.; OrigDocAmt: 'OrigDocAmt' cannot be empty.", Can anyone help in resolving this
Hi @hdussa When I create without payment it works fine, but when I include payment array it throws below error with 402 code. Is this related to Id mismatch. I directly creating sales order with payment only not shipping now. Can you help in this? "error": "Inserting 'AR Payment' record raised at least one error. Please review the errors.; CashAccountID: 'Cash Account' cannot be empty.",
@Jayavenitha Please find the jSON below to create the Sales Order with Payment. I just tried in my local machine with the demo data and it is working as expected. Please check with this jSON and confirm.
Hi @hdussa When I create without payment it works fine, but when I include payment array it throws below error with 402 code. Is this related to Id mismatch. I directly creating sales order with payment only not shipping now. Can you help in this? "error": "Inserting 'AR Payment' record raised at least one error. Please review the errors.; CashAccountID: 'Cash Account' cannot be empty.",
It is possible that there is a data mismatch or missing a field value. How about you share the request load against the demo data here? This way it is easy to replicate the issue and suggest the solution.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.