Page 1 of 1

Manipulating Sales Order Print to screen check box

PostPosted: Tue Nov 03, 2015 12:34 pm
by indikad
** I was asking a side question from Scott on a ( different thread -
[url]
viewtopic.php?f=26&t=420&p=1412#p1412
[/url]
). thought its more appropriate to open a new thread.**


My question is

in 6513 i have a code in SalesOrder FormPrintBefore the following code

Code: Select all
rtnPrintToScreen = false


this makes the print to screen checkBox unticked when the print window pops up for the first time.

However I cannot get this happening "properly" ( using the code below)

Code: Select all
salesOrder.SystemSettings.PrintToScreen  = False

The change displays only after the print window opens once and closed by hitting ok. ( only subsequent opens will have the change )
I need this to happen before this first time and obviously the event i am using is wrong.
what is the event I should use ?
I am using the event .SalesOrder.Printing so far

Re: Manipulating Sales Order Print to screen check box  Topic is solved

PostPosted: Fri Nov 13, 2015 4:05 pm
by Scott.Pearce
You should check the plugin I just posted on the other thread. Let me know here if it does not meet your requirement also.

viewtopic.php?f=26&t=420&p=1540#p1540