Making external subtemplate calls dynamic in BI publisher
JDE Edwards embedded BI Publisher desktop 12.2.1.4.0
Currently we have a requirement to print Terms and Conditions for Purchase Orders. We were able to make call to a RTF (external) stored on server containing a subtemplate using 'import' statement.
We however need the ability to print different T&C based on Company without having to hard code like this --
<?import:file:/C:/DC/Stage/TC.rtf?>
If Company = ABC
<?call-template:ABC T&C?>
If company = XYZ
<?call-template:XYZ T &C?>
Is there a way to make either the path name in the import statement dynamic or the subtemplate name dynamic by using XML field?