My company is just moving over to SAP B1.
I have utilised the DI-API to create (as required) a business partner, sales order, down payment invoice and incoming payment, from data obtained through multiple sources.
I've tested this over approx 80 orders now but I have encountered one that continually fails when creating the down payment invoice with the error -2010. I can find no information on what this error is. Can anyone shed any light on what it might be?
I can provide code if you'd like to see it.