Multi documents print
Emanuele Croci
Hi,I need to associate a layout definition to a user query.
The query has some parameters to select dinamically the documents to print.
I'd like to start the printing of all these documents (selected by the query).
Is it possible to obtain this massive print of multi documents with Swiss AddOn?
Query Example:
Select DocEntry
FROM OCRD
WHERE TaxDate BETWEEN ([%StartDate], [%EndDate]) AND (OWNERCODE = [%MyOwner])
For each sales order selected by the query I 'd like to print its SWA_LD_MarketingDocument
Regards,
Emanuele
Philipp Knecht
Hi EmanueleLook at the BestPractise Documentation:
http://www.coresuite.ch/index.php?id=458&L=
There you'll find samples for SelectGrid and Batchprinting which is what you need.
hth
Emanuele Croci
Dear Philipp,excuse me...
but I understood... that the BestPractise showes how to create a periodic batch (for example, every hour, etc...)...
but we need to visualised N documents at the same time (clicking on the print preview).
For example, the first 10 "Sales A/R" reports of a CardCode:
SELECT TOP 10 T0.DocEntry
FROM OINV T0
WHERE (T0.CardCode = '[%CardCode]')
Is it possible?
Regards,
Emanuele
Philipp Knecht
Hi EmanueleYes look at the SelectGrid Example in the mentioned document.
hth
0
Please sign in to leave a comment.
Comments
0 comments