Hello folks,
I am using purchAutoCreate_Sales in x++ code to create the purch orders, it works fine and creates a PO.
However need to ensure that the created PO is submitted to the workflow through the code.
Upon checking the workflow I found that type of workflow type is VendInvoiceRecordingTemplate also found this URL but cannot figure out what should I replace custinvoiceTable for my workflow.
Initially I thought it should be vendinvoiceinfotable, however looks like that is not the correct table as none of the PO created via purchAutoCreate_Sales are creating recs in that vendinvoiceinfotable even after I manually confirm the PO.
Please suggest a solution.
Thanks
Mav