Scripting

  • 1.  Question for all of you amazing scripters... I wro

    Posted 02-23-2016 14:06
    Question for all of you amazing scripters... I wrote a script for SO Shipping Data Entry that allows the user to click a button that will save the shipment they're on, re-open it & print the packing list without them having leave the shipment. From there, they use StarShip... This works well except for one thing... the system wants to print the additional packing list as though the box was checked in the UI. Any idea how I can add to the script to NOT print addt'l packing list?


  • 2.  RE: Question for all of you amazing scripters... I wro

    Posted 02-23-2016 14:16
    I believe you can set the PROPERTY PrintAdditionalPackingLists$ in the report settings


  • 3.  RE: Question for all of you amazing scripters... I wro

    Posted 02-23-2016 14:45
    Sorry for the lack of knowledge here Michael, but how would I set that? It only happens when I use: oReport.QuickPrint = sInv If I don't use that though, it prints all of the Pack Lists for all batches.


  • 4.  RE: Question for all of you amazing scripters... I wro

    Posted 02-23-2016 15:03
    I'm not sure that you can set this property for a QuickPrint, but I'd give it a try. Add retVal = oReport.SetValue(""PrintAdditionalPackingLists$"", ""N"") before oReport.Write()


  • 5.  RE: Question for all of you amazing scripters... I wro

    Posted 02-24-2016 07:21
    That did it, thank you SO much!! I really appreciate your help!!