Hello,
For specific advance invoices that come from our online store processing, we’d like that these invoices get automatically set to “PostedAuth”. Since this can be done by having those invoices print off automatically, I tried to create a workflow to grab the wanted invoice when one has been created via an event action, but whenever I attempt to call the Projection “CustomerOrderInvoiceHandling” with the call “CustomerOrderInvHead_PrintInvoice(NcfReference):ReportResultStruc” I get the following error
ORA-00034: cannot ROLLBACK in current PL/SQL session ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INV_HEAD_API", line 3139 ORA-00034: cannot SET SAVEPOINT in current PL/SQL session ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INV_HEAD_API", line 2781 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INV_HEAD_API", line 3175 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INV_HEAD_API", line 3180 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_FLOW_API", line 6610 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_FLOW_API", line 2488 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INVOICE_HANDLING_SVC", line 21036 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INVOICE_HANDLING_SVC", line 21530 ORA-06512: at "IFSAPP.CUSTOMER_ORDER_INVOICE_HANDLING_SVC", line 6592 ORA-06512: at line 5
This obviously stops any attempt at printing the invoice automatically. I’ve tried ordering the invoice via OrderReportHandling but this doesnt work either.
One thing I also noticed was that the NcfReference value for all invoices are NULL so.. I’m not really sure how else to approach this.
I would normally attempt to create an event action of type execute online sql, but that doesn’t get me far as I have no idea what calls to use to print invoices off via the procedures/functions for the backend plsql that IFS is built with.
We are currently using IFS Cloud 22R2 but we have plans to move to 23R1 soon. Any and all advise would be greatly appreciated.
Thanks,
Bryan