problem after update of Coresuite designer with excluded documents
Michiel de Nooijer
Hi,Last week around 6/7 may we updated coresuite at a customer site. In the Sales Order, depending of serveral rules one or many documents are printed.
Before the update we only selected the Sales Order confimation document to the mail towards the customers and not the labels and some other documents. At this moment the system automaticly adds the Labels too.
We use the following code to arrange that a certain page is not printed or attached with an email. This worked well in our custom made forms till the update. After the update it does not supress some pages anymore.
'iif(GetData("LD.Par.PrintMode")="E" AND GetData("LD.SysPar.PrintDefCode")="T0000006",False,True)
Please help on this. The customers has to throw away now about 200 labels a week.
Thanks in advance.
Regards Michiel
Philipp Knecht
Hi MichielSo you are using a document with multiple pages?
How did you suppress the Pages?
You have to do the page.Visible - Settings from with the GenerateScript of the Document. Let me know if this solves this issue.
hth
Michiel de Nooijer
Hi Philipp,Sorry for the late reply. I just posted the message before I had some days off.
We indeed are using a document with multiple pages. We suppress those pages with as stated below:
On Page1 at Page "Render Visible", we use the folllowing code:
'iif(GetData("LD.Par.PrintMode")="E" AND GetData("LD.SysPar.PrintDefCode")="T0000006",False,True)
Above arranged that this page was nog attached to the email as attachement.
After the update it was not working anymore on some layouts.
Thanks in Advance.
Best Regards,
Michiel
Dit heeft altijd gewerkt maar na de Coresuite update naar V2 werkt het niet meer op een aantal layouts.
Philipp Knecht
Hi MichielYes just put your Script as stated into the genrateScript of the document.
There it will work.
hth
Michiel de Nooijer
Hi Philippe,Unfortunately, what I wrote above is what we did. This worked fine before the update of Coresuite around 6/7th of May. Afterwards the code as described did not work anymore.
Best Regards,
Michiel
Philipp Knecht
Hi MichielI've just forwarded a testcase to the supplier of the Renderengine.
Meanwhile you may use the workaround as described (put it on document generatescript)
hth
0
Please sign in to leave a comment.
Comments
0 comments