Sage 100

 View Only
  • 1.  Looking for alternate solution to customer JavaScripts

    Posted 07-09-2020 14:56
    Edited by Alnoor Cassim 07-09-2020 15:10

    We acquired a customer last year in food service distribution industry. They are on 2016 Adv now being upgraded to 2019 Adv. Their programmer resigned years ago before we were involved but had created custom Javascript programming that runs daily, weekly, monthly jobs through Windows Task Scheduler for purposes mentioned below.

    These are mission critical tasks for them involving reporting, exporting, and sending data files and when there's a problem it's usually a semi-urgent call. Our concern is because it requires knowledge of Javascript to fix, we cannot triage the issue with our consulting staff, rather I have to stop what I'm working on. This is OK for the short term but we really want to put them on something easier to support.

    *** We were wondering what solutions others use to accomplish the tasks below or what ideas you could share.

    Customer has Knowledge Sync already but is used for alerting / emailing purposes only. BUT not sure if K-Sync or Visual CUT can do everything these 15 to 20 Javascripts do. 

    (Note: the .JS script files themselves run thru Windows Scripting Host - Cscript.exe or Wscript.exe, called as BAT files from unattended Windows Task Scheduler jobs. They run directly from  Sage server.)
    --------------------------------------------------
    1. Create ODBC connections (via ADO) to Sage 100 to read data (instead of BOI - works nicely)
    2. Create formatted HTML files that serve as reports for internal staff. They find the files on a network share and dbl-click to open in Chrome or IE to print out and distribute internally. THIS IS THE HARDEST to support.
    3. Create Ascii, CSV, and XLS files for vendors, customers and internal staff (XLS output uses Excel object connections).
    4. Most Vendor/Customer files sent via FTP and SFTP
    5. Some files sent via email instead of FTP / SFTP.
    --------------------------------------------------
    Types of Issues I've fixed:
    a. Scripts stopped half-way due to data files getting larger over time or run during busy time of the day. Fixed by adjusting SQL stmt to run faster OR increasing TIMEOUT values so script doesn't end prematurely. 
    b. Vendor changed spec and required change in output file format so adjusted the SQL stmt.
    c. Vendor changed spec to now require SFTP instead of FTP.
    d. Script stopped emailing b/c Gmail SMTP server was used and needed adjustment for TLS 1.2

    Type of phone call I would dread to field from them today:
    1- Please change the HTML formatting for our reports.

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

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


  • 2.  RE: Looking for alternate solution to customer JavaScripts

    Posted 07-09-2020 16:29
    The only thing in the list that I'd question is if the Excel object connections are needed.  Otherwise everything should be possible in Visual Cut.  The HTML output from VC is not pretty sometimes (column alignment), but you can code in the table tags easily enough...
    ...or change to image output or PDFs instead.

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 3.  RE: Looking for alternate solution to customer JavaScripts

    Posted 07-09-2020 17:38
    @Alnoor Cassim​​​ - I am not a KS expert but I have a client that requires a lot of the same that you describe.  Sage Alerts handles it all for them.(with maybe some windows scheduler help).  And if @Kevin Moyes can do it with Visual Cut, then Sage Alerts should be able to handle as well.  Plus they already own SA.  And SA v10 is being released.  Give Don Farber or someone on their tech staff for full details and abilities.


    ------------------------------
    Jeff Schwenk
    FORMER 90M Board Member
    Bottomline Software, Inc.
    Waynesboro VA
    540-221-4444
    ------------------------------



  • 4.  RE: Looking for alternate solution to customer JavaScripts

    Posted 07-09-2020 17:57
    Edited by Dan Burleson 07-09-2020 18:03
    It must be the convert from HTML season. I was just looking to convert a HTML pop-up in IE to something Crystal based for a client.  LogiCity Professional can be launched from UDS or BOI scripting and has screen lock-down features that allow one to hide the screen controls and, of course, with Crystal you can set the page size to be similar to a small pop-up.
    Attached are:
    1. My original HTML pop-up
    2. LogiCity Pro preview small page size
    3. LogiCity Pro screen lock down features



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



  • 5.  RE: Looking for alternate solution to customer JavaScripts

    Posted 07-10-2020 05:47
    I've only used KS Webcasting once but it seemed easy enough to configure and set up the automated HTML pages/reports.

    ------------------------------
    Amber Prayfrock, Blytheco
    ------------------------------



  • 6.  RE: Looking for alternate solution to customer JavaScripts

    Posted 07-10-2020 08:43
    It does seem like KSync would do this. However, you should check in with Codeless Platforms (fka TaskCentre) as an alternative, and perhaps better. NicoleLaurier 877.241.7713

    ------------------------------
    Jerry Norman
    VP, 90 Minds
    Smartbridge Partners
    512.419.1444 x112
    ------------------------------



  • 7.  RE: Looking for alternate solution to customer JavaScripts

    Posted 07-10-2020 09:14
    Awesome stuff @Dan Burleson​​​​.

    ------------------------------
    Jeff Schwenk
    FORMER 90M Board Member
    Bottomline Software, Inc.
    Waynesboro VA
    540-221-4444
    ------------------------------