• SO_SalesOrderHistoryDetail has records with a null SalesOrderNo

    I've noticed that we have just over 14,000 records in the SO_SalesOrderHistoryDetail table where the SalesOrderNo field is null. This is causing some issues with trying to do a copy into a MySQL database due to the Primary Key not accepting null values…
  • How do I remove an unposted invoice for error handling using BOI.

    I want to improve error handling in a script I have. How do I remove a unposted invoice using BOI. I couldn't seem to get the Delete function to work.
  • 100E - Sage 100 - Object Interface Course

    Hi, I want to read and write data in sage100 database, so after some research I found out this course for reference. But just need to validate that is this course really guides on how to read and write back data to Sage100 database or not? This…
  • Read & Write data in Sage100 using Business Object Interface

    Hi, I am new to Sage100 and customer is using Sage100 advanced which comes with ProvideX ODBC driver which only allows to read data from Sage100. I did some research on the functionality to write back the data in Sage100 but was not able to find any…
  • How to automatically create Work Ticket in Production Management from Sales Order using BOI

    I have built an order importer that automatically creates sales orders based off of an EDI file from our customers. It works great. We are currently upgrading Sage 100 to include Production Management Plus and I want to be able to add in the ability to…
  • Having problem adding Customer Contact through BOI

    I am running the following VB scripting: do while not RS3.eof ARDiv=trim(cstr(rs3("Field1"))) strCustNo=trim(cstr(rs3("Field2"))) strContNo=trim(cstr(rs3("Field3"))) If strContNo="" Then strContNo=" " End If retVAL = oSS.nSetProgram(oSS.nLookupTask…
  • BOI in Microsoft PowerShell

    I am trying to use PowerShell instead of VBScript to access Sage via BOI. I am able to login, set the company, set the module and get a handle to the table I want. But I am not able to retrieve values when looping through the table. I tried multiple variations…
  • 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…
  • Unable to read line level data

    Hello I am trying to read data from SO_SalesOrderDetial i tried setting key value to read data for a given sales order i am able to get data using GetResultSet but i am not able to read values like price , ordered etc and when i am trying to use…
  • Error 26 : variable type invalid

    Hello i am trying to read data for each line in sales order and i am getting a error , i am not sure why i am getting this error cause the same code is working for few lines but not for few this is my code ##################################################################################################…
  • How to create work orders

    I have finished the "100E - Sage 100 - Object Interface Course" on the Sage University site. With this I was able to send items and sales orders from my C# application to Sage. But I also need to send work orders and work order lines to Sage. …
  • item price using boi in sage 100 /mass 90 /mass 200

    Hi i am trying to read item code, item description,and item price of all the items, i am able to read both item code and item description in an object but i am getting item price as null or empty string . can any one help me out on how to read a…
  • Editing Tax Amount using BOI

    hello i am trying to override tax of a sales order ,, i have used the following code ************************************************************************************************************************* Public Function sales_details() dim xx…
  • How to write Data back to sage100 / mas90 using BOI?

    Hello, I am new to sage100 BOI and i am trying to understand the workflow of BOI, i am able to read data of a customer from sage but when i am trying to change a value i am getting error's This is a sample code that i tried: '****************…
  • 3rd party integration with sage 100

    Hello Everyone, I am trying to build a 3rd party C# application for my client on sage 100, i read several things but was not able to achieve this, i have been trying few sample codes to connect with sage using BOI but i am not able to read data from…
  • Is Company ID from ODBC login available?

    Is Company ID from ODBC login available?
  • Difference between nWrite and Write

    I feel like I've seen this in another forum post somewhere. Could someone point me in the direction of the answer? What's the difference between using the COM ProvideX object that requires nWrite and nSetValue versus the Sage VB script interface where…
  • Warehouse Transfer not updating IM_itemcost

    Hello all! First post so I'm pretty new to this. My first foray into BOI programming is trying to create a warehouse transfer from one warehouse to another. It looks like the process completes without errors and that when I look at the Quantity in Item…
  • BOI IM Transaction Entry - Error CI_LineEntry_Header 'Missing or invalid Header'

    Running what should be a simple Transaction Entry test for BOI. I can create all the object I need, test for and create the Batch. Set Key values. But the call to SetKey is continually returning 0. Last Error Text is 'Missing or invalid Header' and…