• Looping a table while batches enabled

    Hi, I want to loop through all my not-registered invoices. What I do (in general) is: dynamic obj = pvx.NewObject("AP_ManualCheck_bus", oSession); obj.nMoveFirst(); //To get to the first record //Rest of code The problem is that I have…
  • Invoice Batching – Can't Set the Cost Account Key

    When invoicing RMA's, we use logic in a custom script to set the cost account key and the sales account key on the line items based on based on the customer division. When I go to the newly created invoice, the sales account key has the correct value…
  • Trying to set PO ROG batch as "Private" through scripting

    Hey all, I'm having a fun time trying to do a seemingly easy task. We have a customer that would like to set all their PO batches to be private when they are entered, even when they are not selected to be when they are created. I figured I could set…