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 batches enable for AP Data Entry, so when trying to do MoveFirst(), I get the error: "A batch number is not set up."
Probably means I need to first set the Batch and then to loop it's own invoices. The problem is I want to loop through all the invoices regardless of the batch they are in
Is there a way to loop through the table even if I have batches enable?