Preview Draft Document
Chi Fai Cheung
Hi all,I have create a Print definitions that linked to a BP-code.
When i click on Print-preview, i get an error with: "coresuite Designer: No Printdefinition found (Formtype 133).
Thanks,
I am using the newest version.
Chi Fai
Attachment
[url=http://www.coresystems.ch/wp-content/../wp-content/forum-image-uploads/vicichief/printdef_BP.JPG]printdef_BP.JPG[/url]
Philipp Knecht
Hi Chi FaiAre you sure that this invoice had one of those BP's?
Please also have in mind that you should use Copyqueries for that kind of problem.
It's more powerful and in the end more userfriendly.
hth
Chi Fai Cheung
[quote]"Philipp"]Hi Chi Fai
Are you sure that this invoice had one of those BP's?
Please also have in mind that you should use Copyqueries for that kind of problem.
It's more powerful and in the end more userfriendly.
hth
[/quote]
Hi Philipp,
Yes, i am sure i have an invoice with the BP. When i want to see the draft preview (it's not saved) then i got the wrong layout.
Could you explain me how the copyqueries works?
Thanks in advance,
Chifai
Philipp Knecht
Hi Chi FaiWell proceed as follows:
- Make an UDF on the BP (lets say U_DocType)
- Then make a query like:
SELECT CASE WHEN T2.U_DocType = '1' THEN 1 ELSE 0 END FROM O@@RDR T1
INNER JOIN OCRD T2 ON T1.CardCode = T2.CardCode WHERE T1.DocEntry = [%DocEntry]
- Save it to SWA_LD_Copy.
- Reference it in the Printdef Copy - Column.
hth
0
Please sign in to leave a comment.
Comments
0 comments