• What's the purpose of SetDate?

    I took the BOI class, but that seems to be intended as a high-level overview, not so much a function-by-function breakdown. I checked the documentation, but it just says "Set module date". Not exactly helpful. So, what's the effect of setting the module…
  • Error Attempting to Open Crystal Reports via Script.

    Hello, I'm working on a project where I need to pass a parameter to and open a custom crystal report. I have done a lot of searching, and understand that it is possible, but I can't even open crystal let alone pass parameters. I keep receiving the…
  • Script to change payment type works for all except "Credit Card" ?

    Hello, I am working on a script to change the payment type based on the terms code that is entered in the sales order. This script fires fine for setting the field to "None" or "Check", but when the script is supposed to change the value to "Credit…
  • BOI SETVALUE/CLEAR Error Handling

    Hello, We recently ran into a problem while importing AP invoices as a batch. Here is a summary of our code in C#: // Loop though AP invoices a batch foreach (var invoice in batch.NonInventoryInvoices) { try { service.Call("nCLEAR"); service…
  • Script to transfer data to secondary company

    Is it possible to write data into different company within some Sage 100 company. For Example add a button on Sales Order Entry to copy order to secondary company. I know how to do it outside of Sage with a script but not sure if session to different…
  • Creating a New Line Item in Common Information using BOI

    I'm stuck and can't quite figure out why. Below is a script I wrote to add a new line item to the CI module (I copied and pasted from several places). If SetSession("C/I", "CI_ItemCode_UI") Then writeLog("Connection Complete - Item Maintenance") Try…
  • BOI with PR : Cant figure out how to add detail lines to pr_payroll

    Hi all! I'm working with the new BOI capable PR module and having trouble sorting out how to add detail lines. I seem to have worked out creating a transaction, at least the batch I create does end up with an entry for the employee I am adding to…
  • AR_NoSEDesktop - Cannot communicate with Sage Exchange Desktop 2.0.

    Verify the application is installed and running. Contact Sage 100 Customer Support if the problem persists Has anyone seen this error before? It is happening when I try to write a sales order with SO_SalesOrder. It happens on the nWrite. It actually…
  • Reversing electronic payment through BOI C#

    I get an error "Module J/C is not on file" when attempting to reverse an electronic payment. Here is my code using (DispatchObject mCheck = new DispatchObject(pvx.InvokeMethod("NewObject", "AP_ManualCheck_bus", oSS.GetObject()))) { // Perfrom Check…
  • Is there a programmatic way to subscribe business object events?

    I'm doing preliminary research on what kind of API we can use to integrate with Sage 100 ERP. I've discovered Sage_Certified_Solution_Requirements.pdf with several statements about automation: Automation: Certified applications must offer automated…
  • oScript.InvokeButton("xxx") Alternative in BOI Script

    I am using a BOI script to check if the Unattended Barcode Import Task is running. If it is not running, the script starts up the UI for Unattended Barcode Import. But I need to programmatically press the "Proceed" Button in the UI. Any ideas? Is…
  • Getting <NewObject: 200> error while connecting to Sage 100 / AR_Customer_svc

    I am fairly new to Sage, went through the Object Interface class at SageU.com. While running the example I am getting an error <NewObject: 200> whenever there is a call to Invoke Method on "AR_Customer_svc". Using Win 2012 Server, Sage 100 - 2014 with…
  • RE: <Error: 0 in Method GetValue>

    80020009 Same problem here - SO and PO modules. Upgrading from Sage MAS 200 4.40.0.5 to MAS 100 2013 5.00.7.0. Tried on XP, Windows 7 (cmd as 32-bit), Windows 2012 Server Standard (cmd as 32-bit) support.microsoft.com/.../896456 (%windir%\SysWoW64…
  • UDT Posting

    I have a UDT that is used to capture data during SO Invoice Data Entry. I want to copy data from this UDT into different UDT where data will be stored for historical purposes. Ideally I would like to have this automated during Sales Journal update but…
  • Get NewObject Error 65 When Creating Sales Order object

    On my development machine I am getting the error code "NewObject Error: 65" when trying to create a sales order object. Our MAS 200 installation is on an internal server local to our office but not on my machine. I am developing in C# but have created…