Hello Team,
I am getting error while order creation sending with payment details via api.
Request-
Description:
While creating a Sales Order with payment via API, the system throws an error during AR Payment creation. The payment is being passed in the payload, including Cash Account and Payment Method, but the system is not recognizing the Cash Account and fails validation.
Error Message:
Inserting 'AR Payment' record raised at least one error. Please review the errors.
CashAccountID: 'Cash Account' cannot be empty.Steps to Reproduce:
-
Create a Sales Order via API.
-
Include Payment details in the request (PaymentMethod = CASH, CashAccount = 10250).
-
Submit the request.





