Print production Order autom.
Bart De Cattelle
Dear all,I have been able to create a production Order if the user clicks a button on a certain item. (code with Coresuite Customize).
I want the production Order to be printed autom. after created. The flag "Print after save" is on.
If I add the production Order manually, the lay-out gets printed.
If I add the production Order with my Coresuite Customize code, nothing gets printed.
Can this be solved or is this not possible or am I missing something?
Kind regards.
Bastian Hofmeister
Hi,can u give as u look on your code?
Philipp Knecht
Hi BartIn this case just add in your customize rule after creation:
LayoutOpener.ExecutePrintDef("CodeOfPrintdeftoUse",LayoutOpener.OpenLayoutModes.Print,"DocEntry",NewDocEntry)
Whereby NewDocEntry is the new Code of the generated Production Order.
hth
0
Please sign in to leave a comment.
Comments
0 comments