You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Purchase Order PDF Report with conditional sub template

edited Jun 17, 2024 10:50AM in Reporting & Analytics for Fusion Service 5 comments

Summary:

We have a requirement for one business unit to issue 4 completely different purchase order PDF's based on shiptolocationname. We have the sub template working with the <?for-each:PdfDraftHelperDataSet?> and <?for-each:PdfArchiveHelperDataSet?> for the DRAFT and ARCHIVED version. See customer connect note 1064906

We are now trying create the IF statments for the conditional call of the sub templates. The main template is as follows (testing on 2 simple examples VNO and MOC represent the different shiptolocations):

<?import:xdoxsl:///Custom/Procurement/Purchasing/FOTL_VNO_SUB.xsb?><?import:xdoxsl:///Custom/Procurement/Purchasing/FOTL_MOC_SUB.xsb?>

<?call@inlines:VNODraft?><?with-param:shiptoloactionname;./SHIPTOLOCATIONNAME?><?end call?><?call@inlines:VNOArchive?><?with-param:shiptoloactionname;./SHIPTOLOCATIONNAME?><?end call?>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!