On my way to using a button to submit AR Invoice Report directly to System Agent without the user having to go thru the print options settings.
There’s plenty of posts with code examples on how to do that but…
First I was exploring the Erp.Rpt.ARInvFormSvc\SubmitToAgent REST call looking at the network payload using developer tools.
What’s strange is when using the built in print functionality, even though I have a specific invoice loaded, the ARInvFormParam[0].InvoiceNum param doesn’t specify the invoice number (it’s 0), but the single invoice does print.
But…if I copy the payload and use it in Epicor REST API Helper, when I execute it is printing all the invoices for that invoice group.
Any ideas how this is possible ?