• SO Picking Sheet Work Table

    I have an UDF on the SO Details and also created the same UDF on the SO Picking Sheet Work table and linked it to the SO Details. I can't get that UDF to show up on the crystal reports to add it to the form? Other UDF's in the same tables show up, am…
  • System Date

    I leave SAGE up to keep a program up and running to import orders (Insynch), I have a script looking at the system date to populate a UDF date field when a sales order is put into process. I am noticing that I haven't had to restart the SAGE application…
  • 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…
  • Sage - 100 Item Search on multiple Fields

    Our Item Masters contain 130k plus items. Typically I tell our sales people to enter a "z" in the item code field, then press F2. This quickly brings up the items in the item master which start with "z". Otherwise Sage attempts to bring in the entire…
  • 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…
  • Copy UDF Values from AR_CUSTOMER.M4T to Equivalent UDFs on new Sales Orders

    New to this forum, and new to using the Business Object Interface. Scenerio: I'm on Sage 100 2022 Standard, and am about to implement Sage Alerts & Workflow. One of the tasks I will be creating will periodically look at all open Sales Orders and automatically…
  • Quote to Standard Order not Firing Scripts

    I have a few scripts on column post validates, mostly watching the order quantity. I had them only running for standard orders, however this was an issue when the order starts as a quote. One script is a calculation to mark the udf quantity pulled (basically…
  • PO Receipt Detail

    Getting stuck on this script, I've tried a column post val on the qty received and a table post read. Both are getting stuck at the same point, on the first "retVal=oSOLines.MoveNext()", should it be MoveFirst? Dim sPurchaseOrderNo Dim sSalesOrderNo…
  • PO receipt header script triggers when it shouldn't.

    v2022.2 Standard, Column pre-validate on InvoiceNo, as the only script active on the table. Basically the script checks if the user is allowed to enter an InvoiceNo, and does a SetError (when a specific Role permission is active). The column pre…
  • SO lines loop, updates only one line

    I have a script, which edits line data (conditionally) based on a header event trigger. It works fine in v2020, but in v2022 (Standard, no enhancements) only one line is updated. In order to get it to update all lines, I had to add a check for a changed…
  • SetBrowseFilter

    I'm trying to use the SetBrowseFilter method with an external script using the AR_Customer_ui object. and the InvokeLookup method. I need to show only Active Customers with a SortField set to a value. I can't seem to find any documentation for the SetBrowseFilter…
  • Table -Pre-Totals Script to only Run Once

    I have these two scripts on the SO Invoice Header running, one on a "table-pre-totals" and then another one on a "table-post-write" to reverse an action in the first script. I am pretty sure when we open the batch up the "table-pre-totals" script fires…
  • Add ship to address when a new Customer is created

    Hi Forum, I need to update a ship to address code "0000" when a new cusotmer is created. I am trying to do it on a "pre-write event" is entered but I am getting an error. Any suggestions ? Regards, Manuel Roman
  • 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?
  • Date Customer Last Purchased

    Hi Guys I am looking for a field within sage that gives a date that the customer last made a purchase. The only date I found which was similar was LastActivityDate but this can be triggered by lots of different things. Do you guys know if this exists…
  • 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)?
  • Getting User Code

    I am trying to change the user code on orders importing through ROI's Insynch based on the customer no. To get the user code do you use "oSession" I wouldn't think so because the actual user is not actually in the session right? And I shouldn't use "oBusObj…
  • PurchaseOrder Detail - set UnitOfMeasure default - correct event?

    Our PO team wants Purchase Order lines to have the UnitOfMeasure to populate as EACH. I put in the most basic script I could think of; retVal = oBusObj.SetValue("UnitOfMeasure$","EACH") but I cannot seem to find the correct event to use. I was able…
  • 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…
  • Script to copy a header field to all detail fields

    I am trying to copy a header field (PO_PurchaseOrderHeader - UDF_REQ_SHIP_DATE) to a field in (PO_PurchaseOrderDetail - UDF_HEADERSHIPDATE) I tried the following script: retVal = 0 headershipdate = "" retVal = GetValue("UDF_REQ_SHIP_DATE$",headershipdate…