Sage 100

 View Only
  • 1.  Creating New Item Code Through a Dialog Box

    Posted 02-26-2020 14:39
    Does anyone know if it is possible to create a item code thru a Dialog Box.
    My client wants to enter data into 5 field box and then use the values to create an item code.
    The field boxes are Product Line, Grade, Size, Length, and Misc.

    Is it possible to create a Custom Office script to open a dialog box, enter the values, and then create the item code?
    This would be for version 2019.

    Any ideas or suggestions would be appreciated.

    Thank you
    Michael

    ------------------------------
    Michael Davis
    Warren Averett Technology Group
    Birmingham, AL
    ------------------------------


  • 2.  RE: Creating New Item Code Through a Dialog Box

    Posted 02-27-2020 01:21
    Hi Michael,

    Short answer is Yes but what screen would the dialog be living on - S/O Entry / Lines?

    You could create a regular Customizer BT_LINK_x button for the dialog then within the Dialog itself add your 5 UDFs. But also add another BT_LINK_x button on the dialog itself, call it say "Create Item" (or it call "OK" to replace the regular OK button) and tie it to a script to create a new item code if your conditions are met. Either you have the button create the item right there and be done with it OR just flag it for creation at this point (maybe SetValue into a 6th UDF or SetStorageVar) then when they accept the order (or whatever this screen is for) then create the item code on Table PostWrite. 

    In the end it can be simple or complex depending on the complexity and rules you want to build in.

    ------------------------------
    Alnoor Cassim

    Accounting Systems, Inc. (ASI)
    Email: alnoor@asifocus.com
    Orange County, CA
    ------------------------------