• Update UDT whenever Sales Orders are printed

    Greetings all, I was wondering if there is a way of updating a UDT whenever a Sales Order is printing via script. I have a customer that would like to keep track of the time between when the SO is printed and when the order is shipped. I figured I…
  • which event trigger when add one sales order line and want unit price change follow a specific rule

    when add one sales order line, we want some item default unit price automatically changes according to a price type defined in order header, which event should we use to trigger a script to get that price, I tried column pre-validate and post-validate…
  • In Sage 100 2023, why does the HandleScriptUI method now get Error #88 after InvokeButton?

    To reproduce, in either 32-Bit or 64-Bit Sage 100, create an "Execute Script on Server" button in either Customer Maintenance or Item Maintenance (maybe any panel) that runs a simple two line script: retVal = oScript.InvokeButton("BT_LINK_2") retVal…
  • User Defined Script causing an error

    I created the following script to populate ShipWeight$ in the CI_Item table when either of 2 UDF's are changed. I am now receiving an error 88 type mismatch (error window below). Any thoughts? START OF CODE Dim retVal Dim cpwgt Dim cpwgtstr Dim…
  • VB script function and sub raise OLE Error Number: 1002 when click Check Script

    When I using a function or sub in event Column Post-Validate, and click Check Script button to check the VB script, get this OLE Error Number: 1002 error, however if I use same function in button click script where no Check Script, it works. looks like…
  • User Defined Script Method "InvokeButton" Fails with "Cannot create Windows Script OCX object" in 2023 64-Bit!

    The identical script works in every other version, but 2023 64-Bit. I get this error at the point the oScript.InvokeButton(<<button name>>) method is used:
  • Has anyone been able to trigger a script on the Ar_CustomerMemo or other Memo tables?

    I'm trying to trigger a script that will set the "Auto Display" value to "Always" as a default on the AR_CustomerMemo. I've tested triggering a script with a simple message box on various events like, on Table Set Default Values, Table Pre-Write, and…
  • Scripting References

    Hey does anyone know where to get the objectreference.chm file? In the object training and here in Sage City it is referenced quite a bit but I'm unable to find it anywhere incuding the portal.
  • How to Manipulate the Grid UI in VBScript ?

    I want to perform a operation through VBScript , after that I want the cursor to be focused on a specific grid cell. How do I do That ?
  • Error 88 on Sales Order Entry Lines

    We are experiencing an error 88 on Sales Order Lines. The error occurs only on large orders with numerous lines, especially when adding inventory items to the order on the fly. The line prewrite script is failing and referencing different UDT objects…
  • Button Script on Customer Maintenance to open UDT maintenance UI for a particular AR_UDT. The second step would be to pass the Customer Number to the CM_UDTMaintSelect_UI

    We would like a Button Script on Customer Maintenance to open UDT maintenance UI for a particular AR_UDT. The second step would be to pass the Customer Number to the CM_UDTMaintSelect_UI. This would work great as t here are multiple records in the UDT…
  • Sage 100c 2022 Operations Management Work Ticket Printing

    We have Sage 100c 2022 with Operations Management. I would like to add a button to the Work Ticket Printing screen that replaces the Print button, launches a script to cycle through the JT_WorkTicketAttachments file for all attachments for the current…
  • How to validate posting date

    how to add script on posting Process button to validate posting date? we want the posting date in same month with all PO receipt invoice date, but some times type may happen.
  • Passing parameters to Bm_inquiry_ui

    client has requested to have a button link in the sales order entry screen that will pull up the bill of materials inquiry for the item selected. I've done this before to launch item inquiry which requires a single parameter, but I'm having difficulties…
  • File Picker Dialog

    I actually kind of figured that this would have been asked a few times, but my search attempt wasn't all that successful. The only somewhat related topic was Script to Select File , but the script I found here only displayed server-side files since it…
  • The Script Control object could not be created

    Posting this in case it helps someone else. Client is on SPC (new), v2022.2, and we received this error when trying to add a UDS (clicking the green check-mark button to verify syntax). The script host was properly installed (and Allow External Access…
  • Script Continues to Run after Deleting and Recompiling

    I had a script on a Table Pre-Write on the SO Header and I needed to turn it off for a while so I deleted it and recompiled the UDS. However, on our SO's I still see the output from the script running? Should I add something to the script to not allow…
  • Automate/Script Available Quantity Pop Up

    Has anyone attempted to script the automatic selection of "Backorder Item" anytime the "Entry Exceeds Available Quantity" screen pops up?
  • Handle to header object from tier distribution object?

    I'd like to access the header of a PO receipt from a script attached to PO Tier Distribution. This possible? Or at the very least, the other way around (handle to tier distribution from PO Receipt Header script)?
  • Button Option on SO Invoice Entry for Batched Orders

    I have two scripts running on the SO Invoice Date Entry Header, one on a pre-totals to change the "MultipleSalesOrdersApplied$" field to "N", this works no matter if there is more than one SO applied to the invoice. My next script is a post read to change…
  • How could a SetValue for a UDF cause a screen corruption in Sales Order Data Entry?

    While creating a UDS to dynamically display the total order gross profit for a sales order, I discovered that a change to a UDF in the SO_SalesOrderDetailed table while in the Sales Order Data Entry lines panel corrupted the UI display even though the…
  • Disable Specific Batch from Selection in "Daily Sales Reports/Updates"

    We're using Batches in Shipping Data Entry and want to suppress a specific batch from being selected when running "Daily Sales Reports/Updates." For example, in the screenshot below we want the print option for batch PACK to be disabled, or filter out…
  • Add general alias item on inventory main tab

    Hi... I'm trying to create a udf on the item maintenance main tab that will pull from that item's general alias and show in this udf. It appears maybe a script is the only way to do this as the alias table does not show for the udf. I tried a script…
  • Creating a simple script to restrict specific GL accounts from certain users

    Hi, I am trying to create a script that puts the focus back on the GL account field when specific GL accounts are selected by user. So, when a user enters a GL account with a UDF_RESTRICTED value of Y, then Sage will focus back on the GL account and not…
  • PO history inquiry receipt object receipt panel object name

    In Sage ERP 100 Purchase Order History Inquiry, the Receipts button click will show this PO first receipt info. When there are duplicate receipt NOs in PO receipt history record, this will only show the first one that match the receipt no, even though…