• Create Sales Order Lines Object from MS Access Module ( Second attempt )

    Good Day, I hope this message finds you well. I am currently facing an issue with a control I've created in MS Access that interacts with Sage100 (Standard 2020 v6.20.4). I'm reaching out to seek your assistance in resolving this matter. The control…
  • creating AP Invoice

    I have the following code working properly to post AR Invoices. var homePath = @"C:\Sage\Sage 100\MAS90\Home"; var userName = "test"; var password = "test" var companyCode = "test"; var sessionLogon = new SessionLogon { CompanyCode = companyCode, UserLogon…
  • Open Source: C# Helper to initialize PVX & OSS

    Hey all, As I've been learning how to implement BOI within a C# project I was really bothered by the amount of code reuse in my project surrounding instantiating the main BOI connections. This led me to refactor out that common code into a helper class…
  • Sage 100 JobCost Module BOI Script

    Hi all, I am working on the JobCost Maintainance module using BOI, Can you please anyone let me know what object I need to initiate for this?? Thank you in advance !! Thanks SF
  • RMA Processing using BOI

    I am trying to duplicate the following UI process using the BOI: 1) Create RMA Receipt (header/details) for an Invoice. (Note that the procedure for us is to skip creating the RMA return in the UI.) 2) Distribute RMA lines. 3) Generate Transactions…
  • Issue updating Inventory Transaction Receipt Multi-Bin Distribution using BOI

    When attempting to create line items for a Inventory Transaction Receipt batch I'm having issues when I attempt to update the distribution. my code was working on Sage 2018 but they are upgrading to Sage 2021 and it now throws an System.Runtime.InteropServices…
  • nSetKeyValue returns 100006 and Triggers VBA Error 438 but sLastErrorMsg is Empty

    I'm using the identical code to nSetValue R/W fields that has worked for years, but I am finding that it fails for some tables even though they show a R/W Business Object. I am modifying a non-key field in GL_DetailPosting, but I cannot get past the nSetKeyValue…
  • C# BOI example of creating an AR_Invoice with lines/details

    Is there anyone that can help with providing an example of creating an AR Invoice with lines/details in C# using either BOI or the nuget package www.nuget.org/.../
  • Sage100.ObjectManagement Interfaces .net Error when creating line entry

    var sessionLogon = new SessionLogon { CompanyCode = companyCode, UserLogon = new NetworkCredential { UserName = userName, Password = password }, ModuleCode = ModuleNames.AccountsReceivable, ModuleDate = DateTime.Today }; using (var…
  • Attempting to pull data into Excel from a UDT. Receive "Expression.Error: The key didn't match any rows in the table." in Power Query.

    Attempting to pull data into Excel from a UDT. Raw data will pull, but, when I try to edit Query, receive "Expression.Error: The key didn't match any rows in the table." in Power Query. See screen shot : Any Thoughts? I have used "syzcon" running…
  • Script for "Daily Sales Reports/update" using BOI

    Hi I am looking for a script to update "Daily Sales Report/Updates" in sales order (sage100 v2021). Could anyone suggest me what script i can use in BOI suing c# or VB?
  • Looking for a Microsoft Power App expert

    Looking for a Microsoft Power App expert who can develop a power app application that will fetch data from the SQL database in bulk and then send that data to Sage 100 ERP via Sage 100 API connector which is already installed. Data to be picked and sent…
  • Purchase Order Receipt not properly saving

    I'm working on an integration for a client and am trying to create PO Receipts using c# and Sage 100's BOI. The end result shows the vendor when I look at all PO Receipts, but the receipt is empty when I view the full receipt Here are the current…
  • Does Sage 100 support any Single Sign-On (SSO) Methods? If so, which ones?

    All of the users in my company have separate SAGE 100 credentials and I wanted to see if there's a way to configure it so that they can authenticate through LDAP instead. I also wanted to see what other authentication methods there are out there for SAGE…
  • creating an order

    Hi I am trying to create an order using C# but I get an error with the "invoke" as below An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Exception has been thrown by the target of an invocation…
  • BOI Print PickingSheet resets form code to STANDARD

    Hi everyone, would you please have a look at this and see why this is running erratically? I've seen some sample scripts here and there, and the bulk of my script is from the other posts on this forum. I must be misunderstanding what objects and what…
  • Error 65 in program SO_commonentry detail.pvc

    Hi All I am facing this error while running BOI "Error 65 in program SO_commonentry detail.pvc". can anyone please help to solve it?
  • Check if SalesOrder is completed

    I am trying to check to see if a sales order has been completed from an external VbScript. I'm guessing I'm not hitting the right object. Any suggestions would be appreciated. Public Function IsSalesOrderComplete(strOrderNo) Dim so, rtnVal, status…
  • Error:0 in Method ADDLINE

    Help. I'm getting this error at the ADDLINE. What am I doing wrong? Here is my code: Dim Answer As String Dim MyNote As String 'Place your text here MyNote = "Import AP invoice into Sage?" 'Display MessageBox Answer = MsgBox(MyNote, vbQuestion + vbYesNo…
  • ProvideX object has been released

    Hi, I've been encountering the error "ProvideX object has been released" on posting production entries. Im using BM_Production_bus and BM_Bill_bus, and dropping those objects if there's any error/component mismatch on the BOM. Thanks!
  • <Error: 0 in Method UPDATEINT>

    Hi, I have the code below for automatic registration/update of the production transactions. I've been getting an error on the UpdateInit method. oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI")) objTransactionRegister = oScript2.NewObject…
  • Invalid or missing posting date encountered on Bill of Materials transaction update

    Hi, I've been working on automatic registration of transactions for Bill of materials. but I've been encoutering this issue for a couple of days now. its been throwing me an error that says "Invalid or missing posting date encountered" I opted…
  • BM Production register Error "The register must be printed prior to posting"

    Hi, I've been wondering if someone else encountered or might have a solution for this. Im getting the error "The register must be printed prior to posting" oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI")) objTransactionRegister…
  • BM ProductionRegister - New object error:200

    Hi, i've been constantly getting the error "System.Exception: <NewObject Error: 200>" when I register the BM production entries. here's what I have coded: oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI")) objTransactionRegister =…
  • CODE - Customer Maintenance

    I'm having issue trying to get into Customer Maintenance from Script. This was working before, but has become an issue over the last week or so. I don't remember changing anything. Maybe you can spot check me to see what i am doing wrong. Shell (…