• Silent and Unassisted Removal and Deployment Sage 100v 2019

    Does Sage support silent removal and deployment for client installs? We are using Sage 100 v2016 and moving to a new server with Sage 100c v2019. Is there a way to deploy a script to uninstall the client on all the machines and reinstall a new client…
  • 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 (…
  • Possible to use a lookup for a UDF validating against a UDT?

    Hello, I have a UDF/script combo on sales order entry which requires the user to input a customer of type "A" into the UDF if the customer placing the order is of type "B". The values allowed are located on a UDT which I use the UDF to validate against…
  • script a button for multiple keystrokes

    Is it possible to create a button with a script that is a sequence of keystrokes? Sage 100c 2016 sp5 from item Maintenance or Item Inquiry I would like to create a button that would take the user through a series of keystrokes. ALT 5 ALT W ALT Y…
  • 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…
  • Script to change payment type works for all except "Credit Card" ?

    Hello, I am working on a script to change the payment type based on the terms code that is entered in the sales order. This script fires fine for setting the field to "None" or "Check", but when the script is supposed to change the value to "Credit…
  • Scripting Dilemma (Pre vs Post Table write)

    Hello, I am working on a scripting solution that sets a hard cap on the number of free sample items a salesperson can receive. I currently have a UDT set up that tracks how many of each product line a sales person has, and am able to write to that table…
  • Script to update a Date UDF

    Hello, I am a bit new to scripting on Sage and would like some assistance if anyone is willing. I am writing a script to update a UDF date field based on any change on the specifications Tab in Item Maintenance. I have attached my script below. I am…
  • Button Script to open Sales Order UI with parameter.

    Hello, I have been struggling to get this to work for quite some time and am starting to go crazy! I have created a button on the Invoice History Inquiry which opens up the Sales Order UI, but I want to pass through a parameter so that the Sales Order…
  • BOI SETVALUE/CLEAR Error Handling

    Hello, We recently ran into a problem while importing AP invoices as a batch. Here is a summary of our code in C#: // Loop though AP invoices a batch foreach (var invoice in batch.NonInventoryInvoices) { try { service.Call("nCLEAR"); service…
  • Script to transfer data to secondary company

    Is it possible to write data into different company within some Sage 100 company. For Example add a button on Sales Order Entry to copy order to secondary company. I know how to do it outside of Sage with a script but not sure if session to different…
  • Creating a New Line Item in Common Information using BOI

    I'm stuck and can't quite figure out why. Below is a script I wrote to add a new line item to the CI module (I copied and pasted from several places). If SetSession("C/I", "CI_ItemCode_UI") Then writeLog("Connection Complete - Item Maintenance") Try…
  • UDF on JT_WORKTICKET to Work Ticket line on Sales Order

    I have a UDF on JT_WORKTICKET that totals a UDF field for each item on the Parts tab of the Work Ticket. I would like to have that data populate a UDF on the Parent Item in the associated Sales Order. Screen shots attached. I can't find a means…
  • Script to Export SO

    I'm working on a button script ("Execute on Server" selected, MAS 200) that will export a PDF of a Sales Order to a specific location without prompting the user. I'm running into some strange issues and was hoping someone has seen some of these things…
  • PO Detail History SetKeyValue not working

    Not sure how to word this, but I'm trying to pull some values from PO_PurchaseOrderHistoryInqDetail_bus. The script runs with no errors (button script), but no data is returned. I have a working script that pulls from SO_SalesOrderHistoryInquiryDetail_bus…
  • Add new line SO Detail : can't set Vendor Number

    I've got a button script on Sales Order Entry that a user can enter an Invoice number and a line number, and the script will copy that line to the Sales Order. Everything is working great, except I can't seem to get "VendorNo" to set. I'm getting the…
  • Script check Product Type from BOM

    I am writing a script on the lines object in BOM. I want to check the product type of the item and do stuff if it is a kit type. However, in BOM detail that info isn't available. The product type is available in the CI table so what is the best way to…
  • BOM lines counter Script

    I am attempting to write a script that will loop through all line items in a BOM and update a UDF on the header tab with a total number of lines. However my script hangs up and locks the BOM record when the script runs. Here is my script. I haven't even…
  • Check if a specific Task (Unattended Barcode Import) is running

    Hi, Is there a method that I can use in a script to detect if a specific task is running in a specific company? In my case, this task would be the Unattended Barcode Import Task. I am basically looking for a coding approach to what I see in the Console…
  • UDT Posting

    I have a UDT that is used to capture data during SO Invoice Data Entry. I want to copy data from this UDT into different UDT where data will be stored for historical purposes. Ideally I would like to have this automated during Sales Journal update but…