• How to use RoundUp in UDF Scripts for Sage 100

    Hi Everyone, I created the following Script and there are no errors. I am trying to figure out how many packages are needed by dividing the Quantity Shipped / Pack Qty. The issue is I do not know how to ROUNDUP in the Sage 100 Scripts. Example #1…
  • using a UDF for customer item pricing

    Since the default customer price level is only 1character, I'm considering making a UDF and then having SO and SOI reference that column to populate the price instead of the default column. I haven't played with Custom Office since I haven't really…
  • 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…
  • Multiple table writes requires multiple Objects? (Audit Script)

    Hello, I am in the process of building a "Change Tracking" system for Sales orders which tracks any changes to a specified list of fields. To do this, on a Table Pre-Write script I simply gather the information from the So History record and compare…
  • Accessing CM_UDF

    Hi, I am trying to integrate Sage 100 UDFs with our application's UI. I was going to read UDF caption and data type. Our end users are supposed to search Sage 100 orders using a UDF field; so we wanted to show the title properly, and adjust search conditions…
  • Is it possible to trigger a script when a PO line is deleted?

    Hi All, I have a client that wants to prevent users from deleting a COMPLETED line on a PO. It appears that we can't do this via scripting but wanted to confirm before I send it to programming. And just a note - there are all kinds of problems with…
  • Sage 100 ship weight not carrying over to the totals tab

    Hello: I have an issue where the client needs the ship weight and the freight to carry over to the Totals tab in Sales order data entry. It will not due to the line item setting in sales order options. I believe my options are to write a script to…
  • Filter the look of UDT

    Hello all, I have a button script on repetitive invoice header which will pulls out a UDT. But what I want to do is not just pulls out the UDT, (cause it will show all the datas) but also filter the UDT values that shows only for this particular customer…
  • RE: Sales Order Invoice Data Entry, Loop through Lines from dMain button script

    I successfuly tested the following (slightly modified) version of your script on both Main and Header panels. If you don't have oSession, then you likely haven't set the script to run on the server. Be sure to use the standard oBusObj to reuse the provided…
  • Trying to update Sales Order Header UDF from Invoice Entry getting error

    I'm trying to update a user defined field in the Sales Order Header table using a script from Sales Order Invoice entry from the Table - PreWrite event. The script saves the USERCODE from the session object into a UDF in the Invoice and then tries writing…
  • Printing From Shipping Data Entry

    Sage 100 ERP 5.00.8.0 We are adding a button to our Shipping Data Entry that calls for a print of an invoice based on a Sales Order Number. I am consistently getting the following two errors: 1) "The S/O0000000022SO_INVOICEPRINTING_UI STANDARD 00001…
  • VBScript to add a new customer

    Hello, I am new to Sage and was wondering if someone could point me in the right direction on how to add a new customer by using vbscript.