Sage 100

 View Only
  • 1.  Script to automate Reinitialize Data Files

    Posted 06-11-2019 13:28
    Has anyone written a script/batch file/code to automate running the Reinitialize Data Files utility? 

    Specifically, it would be for the WO Crystal workfiles.

    ------------------------------
    John Shaver
    Chief Value Officer
    Aries Technology Group, LLC
    Knoxville TN
    (865) 389-3600
    ------------------------------


  • 2.  RE: Script to automate Reinitialize Data Files

    Posted 06-12-2019 01:10
    You could create an external script to copy saved empty data files over the active ones.

    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 3.  RE: Script to automate Reinitialize Data Files

    Posted 06-12-2019 01:25
    If you are referring to the files used by work order traveler printing, then yes, I do have simple button script added to the task so users can reset the files on demand.

    The caveat is that no other users have WO traveler printing open.

    I'll post it later when I get a chance.

    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------



  • 4.  RE: Script to automate Reinitialize Data Files

    Posted 06-14-2019 22:35
      |   view attached
    Dan, that is a good idea too.
    Attached is a zip file containing a .vbs and .pl file.
    Both go in MAS90\CM\Script.
    Add a button to the work order traveler screen and set it to execute on the server and point it to the .vbs file.

    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------

    Attachment(s)