Scripting

Expand all | Collapse all

Anyone know how to Shipping Data Entry \ Ship Remaining Lines via button script?

  • 1.  Anyone know how to Shipping Data Entry \ Ship Remaining Lines via button script?

    Posted 04-24-2026 14:55

    Sage 100 2025 64-bit

    I have a customer leaving StarShip and they have a great button on the Shipping Data Entry \ Lines screen called "Quick Ship" that effectively Ships Remaining Lines and then launches StarShip. Rather than teach the user Alt-S, I'd like to re-create the Quick Ship button so is there a way to trigger Ship Remaining Lines via button script? I didn't see an obvious method in the Object Reference.

    I also tried a WScript.SendKeys approach, but WScript is broken in 64-bit and my following Tablascus code doesn't work (not surprising as I have no idea how that works).

    Set SC = CreateObject("ScriptControl")
    SC.Language = "VBScript"
    SC.AddObject "WScript", WScript
    SC.AddCode "WScript.SendKeys ""%S"""    ' Alt-S = Ship Remaining Lines



    ------------------------------
    Steve Iwanowski, NextStep Technology Advisors, aka DSD Lancaster PA ¯\_(ツ)_/¯
    ------------------------------


  • 2.  RE: Anyone know how to Shipping Data Entry \ Ship Remaining Lines via button script?

    Posted 04-24-2026 15:53

    Or I could just Execute from the Server and do the following (seems simpler):

    r = oScript.InvokeButton("BT_SHIP_REMAIN")
    r = oScript.InvokeButton("fldr.PSHIPPING")
    r = oUIObj.HandleScriptUI()



    ------------------------------
    Steve Iwanowski, NextStep Technology Advisors, aka DSD Lancaster PA ¯\_(ツ)_/¯
    ------------------------------