Dynamically modify the header and footer of rtf template
hi Team,
We have a requirement to dynamically modify the header of a RTF template. Please look into below RTF code, the first page of the output should show value for header (under group - g_cons_details): CIPOSKUH1, Body = CIPOSKU and Footer = CIPOSKUF. The second page should show header (under group: g_header_detail) INVH, Body = INV and trx number and Footer = INVF.
Value of customer_trx_class_code = 'CIPOSKU' (under group g_cons_details)
Value of customer_trx_class_code = 'INV' (under group g_header_details)
Header:
<?choose:?>
<?when:customer_trx_class_code=’CIPOSKU’?>
’CIPOSKUH1’
<?end when?>
<?otherwise:?>