Code highlight in yellow is important.
--place
below text in header
<?call@inlines:HeaderLogo?><?with-param:orgName;.//DocumentPayable/InvoiceBusinessUnit/InvoiceBusinessUnitName?><?end
call?>
Place below in rtf main body
<?start-body?>
<?for-each-group@section:OutboundPayment;.//DocumentPayable/InvoiceBusinessUnit/InvoiceBusinessUnitName?>
---write desired code/tablees here ---
<?end for-each-group?>
<?end-body?>
--place
below text in footer
<?call@inlines:footer_content?><?with-param:orgName;
.//DocumentPayable/InvoiceBusinessUnit/InvoiceBusinessUnitName?><?end
call?>
Subtemplates used
:
<?template:HeaderLogo?>
<?param:
orgName;’zz’?>
<?choose:?>
<?when:
$orgName = ‘ABC Company’?>ABC LTD (You can attach Image here as well)<?end when?>
<?when:
$orgName =’XYZ Company’?>XYZ LTD (You can attach Image here as well)<?end
when?>
<?otherwise:?>
none
<?end
otherwise?>
<?end
choose?>
<?end
template?>
<?template: footer_content?>
<?param: orgName;’tt’?>
<?choose:?>
<?when:
$orgName = ‘ABC Company’?>ABC LTD (You can attach Image here as well)<?end when?>
<?when:
$orgName =’XYZ Company’?>XYZ LTD (You can attach Image here as well)<?end
when?>
<?end otherwise?>
none
<?end choose?>
<?end template?>
good Abhishek.
ReplyDelete
ReplyDeleteI am very happy for seeing your webpage. I was searching this one for a long time. Here is another webpage same as yours, I got it while am searching for the same information on internetOracle ADF Iam stuck on another one also
Oracle ADF Interview Questions and Answers .Thank you for your great information.