Does anyone have experiences or know if it is possible to import/insert a P/O invoice entry programmatically. I am using Accpac Advantage 5.2 but Import isn't an option in my P/O Invoice Entry.
Yes it can be done successfully. You will need to use the ACCPAC xAPI or the COMAPI (COMAPI is preferrable)objects. You can create a macro or do it externally in VB (for example).
Basically you need to create an ACCPAC session and then open the views that you need and insert the data into the views and update ACCPAC. There is obviously more involved than that. I suggest that you look into programming with the ACCPAC objects. Search this forum for xAPI and COMAPI for examples and issues that you may come accross. If you have access to the ACCPAC site then downloading the SDK would be helpful. The SDK has many examples. Also download the Application object model for your version of ACCPAC.
Otherwise when youo have specific questions about the objects and how to program with them you can post another question.
As you said, I've done all required steps up to the point that actually inserting the record. I have no idea which fields are required and editable, so I tried a few fields and keep getting an error saying "Invoice line must be apply to a receipt line". Any light on this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.