• ACCPACCOMAPI Order Prepayment not working

    Hi, I'm trying to automate order ->prepayment->shipment->invoice with COMAPI. I did what I usually do by recording a macro and see the code. I'm able to create the shipment and the invoice but I cant see the prepayment in ARBTA. Sub MainSub() ' ' Sage…
  • Speed of the Browse Filters

    I'm calling the browse method and trying to find an order by number. This code takes around 4-5 minutes. Are these method really that slow? var view = OpenView("OE0520"); view.Browse("ORDNUMBER = 5555555555", true);
  • The program UP0023 has been deleted or damaged .net API Order Insert

    var view = OpenView("OE0520"); view.Cancel(); view.Init(); view.Fields.FieldByName("ORDNUMBER").SetValue(order.OrderNumber, false); view.Fields.FieldByName("CUSTOMER").SetValue(order.CustomerID, true); This code is returning the error, "The…
  • What are Sage 300 ".NET Libraries"?

    We are upgrading from Sage 300 2018 to Sage 300 2021. After installing Sage 300 2021 in our test environment, we ended up with "Sage 300 2021" showing up in the software inventory for that machine, which was expected, but we also now see "Sage 300 .NET…
  • composing views

    I am trying to compose the views using the .NET library in VBA but having issues as I believe it is just a syntax issue, which I can't figure this part out ' TODO: To increase efficiency, comment out any unused DB links. Dim mDBLinkCmpRW As ACCPAC_Advantage…