Sage 100

 View Only
  • 1.  Hello fellow scripters. I thinking there should b

    Posted 03-13-2015 06:47
    Hello fellow scripters. I thinking there should be a fairly easy way to determine the name of the current oBusObj that a script is in or that launched it. (maybe, hopefully). I want my script to know if it was launched from the SO_SalesOrderEntry UI or if it was launched from the eBusinessManager order approval. I want to run one version of the script on a field change and a slightly different version on the record pre-write. Any ideas?


  • 2.  RE: Hello fellow scripters. I thinking there should b

    Posted 03-13-2015 06:52
    Thanks Robert I suck at tagging.


  • 3.  RE: Hello fellow scripters. I thinking there should b

    Posted 03-13-2015 06:52
    Can't you get that by calling oSession.StartProgram ?


  • 4.  RE: Hello fellow scripters. I thinking there should b

    Posted 03-13-2015 06:54
    Sounds good. I'll try it, thanks. I need a huge object reference library, is there one?


  • 5.  RE: Hello fellow scripters. I thinking there should b

    Posted 03-13-2015 06:59
    The main guide is the Scripting .doc that Sage provides and Alnoor updates and releases as ScriptingPlus.doc.


  • 6.  RE: Hello fellow scripters. I thinking there should b

    Posted 03-13-2015 08:06
    oSession.StartProgram is exactly what I needed, it worked well. Thanks for your help, @RobertWood !!