• oSession.UserName object required

    Hello, We have a customer using our button for a form in Sage 100. We are on 2020 advanced, with script for button to execute on the server. The username: oSession.UserName worked but now it is throwing an error, nothing seems to have changed…
  • Scripting (maybe) / Paperless

    Is it possible to have a batch print job, say Sales Order Printing, set to electronic delivery and then have it NOT deliver the document based on X Criteria? IE, if the only item on the SO is an item that the customer doesn't need to see, how can I do…
  • VB/.Net (BOI syntax) to VBScript (UDS) syntax for calling Custom Report

    Hi everyone, I see many examples of processing a report in BOI, like this one . But all of them are VB/.NET or C#. Could someone please help me translate the syntax to UDS work with Events like Column_PostValidate? Below is Bret's example of Previewing…
  • Trying to Schedule VBScript that prints Sales Orders

    We are on Sage 100 Advanced v2017 and I have a VBScript that prints Sales Orders using the SO_SalesOrderPrinting_UI object. Does anyone know if this object requires an active Windows session in order to run? The script runs perfectly when I run it…
  • How do I run a script after a sales order is really saved?

    I need to run a script after a sales order is saved. The Post-Write doesn't work, because the data is not yet in the tables when the Post-Write script runs. My script prints a specific sales order form for the order being saved, but on new orders, since…
  • "The Module Code is Required" IM_PhysicalCountWrkst_rpt nSetKey()

    I'm trying to script against IM_PhysicalCountWrkst_rpt but keep getting "The Module Code is Required" when calling nSetKey(). Script sample is below. We are running 5.10.4.0. Anyone have any suggestions on what to try? Const HKEY_CURRENT_USER = &H80000001…