Purchase Order PDF Using Sub Templates
Summary:
We have multiple entities and developed a custom data model and appropriate custom purchase order PDF's. All working fine for PdfDraft and PdfArchive sections. However, we have a new requirement for 1 BU we need to produce 3 completely different layouts, based on shiptolocation. We have used an existing layout and added <?template:Ireland?> at the very top. Then uploaded it as a sub-template 'FOTL_PO_IRELAND' into subfolder: shared folders/custom/procurement/purchasing. Then created a new RTF template (main template) and assigned it to the BU. The main RTF is importing and calling the sub-template as follows:
for-each
<?import:xdoxsl:///Custom/Procurement/Purchasing/FOTL_PO_IRELAND.xsb?>
Tagged:
0