Hi all,
I'm trying to create a prepayment invoice via the Acumatica Contract-Based REST API. I'm POSTing to:
/entity/BDP/24.200.001/SalesOrder/CreatePrepaymentInvoiceOK
With payload:
{
"entity": {
"OrderType": {"value": "SA"},
"OrderNbr": {"value": "0001170"}
},
"parameters": {
"PrepaymentPct": {"value": 100.00},
"CuryID": {"value": "GBP"}
}
}
I'm getting a 500 error: "The Create button is disabled" (PXActionDisabledException). The SO status is fine — I can create the prepayment invoice manually without issue in SO301000 and SO501000.
My understanding is that the Acumatica commerce connector creates prepayment invoices via the API successfully — so there must be a way to do this. Has anyone solved this, or can point me to how the commerce connector achieves it?
Thanks,
James
