BP parameters
Séverine LE ROCH
Hello,First, I want to print a layout (sales order) only for customers with a cardcode which begins by 'AU'.
I know that I can use Option BP in the printdefinition but I don't want to choose customers one by one.
In a second case, I want to affect a print only for a group of customers.
It is possible?
Thank you for your help.
Regards,
Severine
Philipp Knecht
Hi SéverineYes this is possible.
Make a copy - query like:
SELECT CASE WHEN LEFT('[%CardCode]',2) = 'AU' THEN 1 ELSE 0 ENDThen save it in the SWA_LD_COPY - Group.
Now change the copy column in the Printdefinition to this query.
Then the same for the Layouts for the specific groups:
SELECT CASE WHEN GroupCode = '100' THEN 1 ELSE 0 END FROM OCRD WHERE CardCode = '[%CardCode]'
hth
Séverine LE ROCH
Thanks a lot Philipp!Séverine
0
Please sign in to leave a comment.
Comments
0 comments