SUPRESS CONTRACT ATTACHMENTS ON PO PRINTING
Whenever a purchase order is printed and it has a reference document (contract agreement) linked to it, the PO output for communication prints out all the attachments of the PO and also the contract - we don't want contract attachments on PO.
how this can be achieved ?
below is an extract from the coding of Standard Purchase Order Template:
<?if:LINE_URL_ATTACHMENTS!=’’?><?end if?><?for-each:LINE_URL_ATTACHMENTS_ROW?> Reference: <?WEB_PAGE?><?end for-each?>
<?if:LINE_SHORT_TEXT_ROW!=’’?>Attachment:<?for-each:LINE_SHORT_TEXT_ROW?> <?SHORT_TEXT?><?end for-each?><?end if?>
<?variable@incontext:PoLnID;'PO_LINE_ID'?><?for-each:/PO_DATA/LINE_ATTACHMENTS/ID[. =$PoLnID]?>