Welcome to the Sage 300 Support Group on Community Hub! Available 24/7, the Forums are a great place to ask and answer product questions, as well as share tips and tricks with Sage peers, partners, and pros.
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.
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…