• Order Entry Macro, how to get the order number once posted?

    I wrote a simple macro in VBA that enters an order and then posts it. On post, SAGE 300 assigns the next order number. How do I return that order number to the macro? I want to put it in the message box for the user.
  • I am writing a macro using ACCPACCOMAPI and was wondering how you get the Applications version

    When i run my accpac session init, as part of the arguments for that function it requires i put an arbitrary number for the version CompanySession.Init "", "CS", "CS0001", "60A". Regardless of what version the computer is using the macro now reads…