Sage 100

 View Only
  • 1.  Trying to troubleshoot a button script that will a

    Posted 03-23-2018 14:03
    Trying to troubleshoot a button script that will allow you to attach a file. Get a messge after 10 seconds while trying to search for the file that ""the script you are executing is taking longer than expected to run"". The sota.ini says 45 for timeout this is v2016 std execute on client


  • 2.  RE: Trying to troubleshoot a button script that will a

    Posted 03-23-2018 14:33
    Attach to what?


  • 3.  RE: Trying to troubleshoot a button script that will a

    Posted 03-23-2018 14:45
    Attaching a pdf to an invoice data entry screen. I did not create the script or button. My question is, it times out before I can search for my pdf to attach. I click on button it open browser window and within 10 seconds I get the timeout message


  • 4.  RE: Trying to troubleshoot a button script that will a

    Posted 03-24-2018 11:49
    If I'm not mistaken, the script timeout value is represented in milliseconds. Do you have a value of 45 or 45000 in sota.ini?


  • 5.  RE: Trying to troubleshoot a button script that will a

    Posted 03-24-2018 13:44
    Make sure it says 45000 not 45 (David is correct UOM is in milliseconds) then exit the Launcher and restart Sage (required) and try button again. @Sage100AdvancedScripting


  • 6.  RE: Trying to troubleshoot a button script that will a

    Posted 03-24-2018 13:47
    thanks for catching that typo, missed a zero.


  • 7.  RE: Trying to troubleshoot a button script that will a

    Posted 03-26-2018 09:17
    Hi gang. I'm actually the one working on this today. I tried David's and Alnoor's suggestion, but I still got the same results.


  • 8.  RE: Trying to troubleshoot a button script that will a

    Posted 03-26-2018 10:03
    I remember a script prompt for file name gave me problems with a newer version of Windows (with a depreciated vbs command). Does your script work for someone else on the same version of Windows?


  • 9.  RE: Trying to troubleshoot a button script that will a

    Posted 03-28-2018 14:20
    No, it does not work on another computer with the same windows version.


  • 10.  RE: Trying to troubleshoot a button script that will a

    Posted 03-28-2018 14:38
    If you want to swap out the file open commands, this is what I found and works for me on Win7 (see images... credit for source is in the comments).