Am using the Sage300 Web API for the first time.
We can create invoices via AR/ARInvoiceBatches, but they end up with a BatchStatus of "Open" and cannot be posted by the /AR/ARPostInvoices('$process') service.
It seems the /AR/ARPostInvoices('$process') service only posts batches with a BatchStatus of "ReadyToPost".
Invoice batches that we create via the Web API post successfully, as long as someone logs in and manually sets them to the "Ready To Post" state, which defeats the purpose of the API.
Is there a way via the Sage300 Web API to set the ARInvoiceBatch status to "ReadyToPost"?
Or, is there a way to force the ARPostInvoices service to post the batch?
Or, is there a user setting / permission setting that will allow this to work?
Thanks in advance!