• Deleting a batch - am I missing something or is this a bug?

    I thought I'd done this before, but perhaps I haven't. The batch is empty. I've confirmed that. But the below doesn't delete it and the retval doesn't return an error. Am I missing something? I've confirmed that sBatchNo has the correct batch number value…
  • Copy UDF Values from AR_CUSTOMER.M4T to Equivalent UDFs on new Sales Orders

    New to this forum, and new to using the Business Object Interface. Scenerio: I'm on Sage 100 2022 Standard, and am about to implement Sage Alerts & Workflow. One of the tasks I will be creating will periodically look at all open Sales Orders and automatically…
  • C# Create Sales Invoice From Sales Order; nSetKey() fails, sLastErrorMsg = "The [InvoiceNo] is invalid"

    I am on Sage 100c Standard 2016 (Version 5.30.5.0) (yes, I know it is very old, and have plans to upgrade to a supported version). I am attempting to create a program in C# that creates a sales invoice from a sales order. When my program executes the…
  • Is DeactivateProcedure usable on external scripts?

    I've used DeactivateProcedure on scripts running within Sage, but not on external scripts. I'm working on a script that requires me to disable procedures in SO Entry. I've tried a few variations, but I'm getting "Object doesn't support this property or…
  • Launch Sales Order Entry to create new order from Customer Maintenance and pass Customer Number

    Hi Sage City and Happy Friday! I have been working on a button script to launch Sales Order Entry from AR Customer Maintenance. The goal is to click on the button and open SO Entry, automatically select the next Order Number and pass the Customer Number…
  • Sales Order boi c# , doesn't register the order

    I've been using c# to insert customers, now I'm trying to insert an order, I don't get any error but it don't find the order, I reasearched needed values but maybe I'm missing something int TaskID = (int)oSS.InvokeMethod("nLookupTask", "SO_SalesOrder_ui…
  • Can I use table IM_ItemWarehouse to trigger script?

    Hello I was just wondering If I can trigger a user defined script, with table IM Item Warehouse? I'm looking to trigger a script when there are changes on an item inventory. I see a field named Available on Item Maintenance > Quantity, I'm assuming this…
  • 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…
  • Add TaxSchedule in SalesOrder using BOI program.

    Hi ALL, I want to add the TaxSchedule in SalesOrder according to the ZipCode. When I creating a Sales Order manually it works, But if I creating a sales Order entry using BOI with C#.Net code it is not working. Can anyone advice or give me hint…
  • BOI - Unable to edit QuantityBackOrdered in salesorder lines

    Hello, I am using Sage ERP 100 Version 2015 and using BOI to update QuantityBackOrdered on an existing sales order line item. The QuantityBackOrdered is not getting updated in MAS. I am able to change it from the UI. liStatus = gpSalesOrderHeader…
  • Automatically Save Changes on Event Script

    Without going in to the whole story we are trying to update some fields for auditing purposes and don't want the user to have the option to not save the changes to the order thus not having a record of the auditing information we are looking for. I have…
  • Sales Order Entry via BOI

    Please forgive me as I have been scouring the internet and other Sage sites to find the answer to this question with no avail. I am trying to insert a sales order from c#. The order gets created, yet it doesn't have an assigned customer or any lines…
  • 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…
  • Issue creating multiple invoices with BOI

    I am working on creating a script to automate the creation of S/O Invoices. It is creating the first invoice without issue, but the second invoice (and everyone after that) has an issue with the Job No even though I am starting a new invoice. If I run…
  • BOI Scripting Problem - Fails on path

    A customer needs to bring in a sales order from a SQLdatabase in Sage 2013 using the BOI. The SQL server is separate from the MAS server, both in our data center environment. We believe permissions are OK. Our code is doing: PathHome = "\\machinename…
  • Release or Kill Record Lock

    Is there a command to release a Lock on a Record? Can it be used to kick out a user and give access to your application?
  • Code For Sales Order CRUD Using Business Object

    This BOI is driving me nuts. You just cant tell why something is not working. Would someone be willing to post full code examples for Sales Order CRUD Operations? What I need to do is: Create the original Sales Order Update the Sales Order Add…
  • How to find Information for BOI

    Are there any other resource for finding information such as this? ( AccountKey$ ) A Nice list of sorts? I'm terribly spoiled by intellisense...lol retVAL = oGLBudget.nSetKeyValue(" AccountKey$ ", Accountkey)
  • Unattended Electronic Sales Order Invoice Delivery

    Sage MAS 100 ERP Premium 4.50.7.0 running on MS Windows Server 2008 R2 We are attempting to convert a script that prints a Sales Invoice to a physical printer to instead output the Invoice as an e-mail with PDF attached. For the user we have successfully…