Manipulating Sales Order Print to screen check box  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Manipulating Sales Order Print to screen check box

Postby indikad » Tue Nov 03, 2015 12:34 pm

** 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
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

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

Postby Scott.Pearce » Fri Nov 13, 2015 4:05 pm

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
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests