The basic method that I use to enter information into Accpac is to record a macro while working directly in Accpac. If you record a macro of a journal entry you will see all views and view compositions that you require and which fields that you are populating in the respective views.
You can then mirror this macro code to create a VB procedure to make a journal entry. A couple of things to consider. The macro uses COMAPI to declare and set the views so make sure that you switch them to xAPI. The macro (COMAPI objects) tend to place a lot of lines that you just don't need so you will have to do some trial and error to find the exact order of events to create your Journal entry. See thread613-526541 for another example and further explanation.
When you have the basic routine working and are still having problems post your code with error explanations and we will have a look.
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.