Printing Orders from SelectGrid with CoreSuite Documents Layout
Christophe Vuignier
Hello !I have a big problem. I need printing Orders, orders selected from a query.
The standard layout i'm using is your layout (Document DIN FR Green (DOC00011)) (layout used for not only orders).
Also, I need to have the Printed Flag checked when I print an Order from this SelectGrid.
How to do that ?? (I have problems with th FormType, the printed flag, etc..)
I'm using you SelectGrid for a lot of "query layout" without problem, but now, usins "Documents" as Data Source, I cannot....
Thank you very much in advance.
Chris.
Philipp Knecht
Hi ChristopheJust use this additional Column in your SelectGrid - Query:
...,'UXXXXXXX' As PrintDef_ldi,...
(where UXXXXXX is your PrintDef Code)
Then in The Parameters also define a new Parameter:
Key: PrintDef
ItemId: PrintDef_ldi
MatrixId: grdSelect
And assign this Parameter to your Formtype
(Also include the DocEntry in the Query and the Parameters if you don't already have)
Then it should work.
hth
Christophe Vuignier
Thank you Philipp !But I don't understand..
Need I to replace th XXXXX From the PrintDef value ? If yes with what ?
And how the layout will know which FormType to use (order in this case) ?
I juste tried following your instructions, but there is no more a PrintDef defined over my selectgrid..
Thank you.
Chris.
Philipp Knecht
Hi ChrisJust go to the Sales Order and open the Printdefinition with the pen.
There you get this Code.
>And how the layout will know which FormType to use (order in this case) ?
-> Thats why you should add this additional column with printdef.
If the systems knows the printdef it also knows the formtype ;)
hth
Christophe Vuignier
Oh yes, it works !!Thank you very much for quick and very helping assistance !
Chris.
0
Please sign in to leave a comment.
Comments
0 comments