different header part in every 2nd , 3rd and last page
Summary
different header part in every 2nd , 3rd and last page
Content
Hi All,
I am developing EBS rtf template to print in PDF output.
So ,i need to display different header part in every 2nd , 3rd and last page.
how to do this ?
Thanks
Answers
-
Hello ,
Follow thru the link and even tough you do not have conditions .. you can use the same logic
how do you determine what goes into 2 nd, 3rd and last page ? what is the total pages of the output ?
0 -
Hello,
try creating conditional headers ... check the below blog post for more info
https://blogs.oracle.com/xmlpublisher/conditional-headers
Hope this helps
--YG
0 -
Hi Thanks for your reply.
Actually i don't have any specific condition to display header parts for 1st and 2nd page.
any samples on this that would be great
0 -
It would be great if any sample rtf template files.
0 -
Hi Thanks for your help!
Expected out and i don;t have any Total Page output.
Inv Org :Pick Slip : Page: 1 of 1Order Number :Order Number Order Type Pick Slip No CarrierCust. Date Delivery Number Line No Item No Qty Amount------------------------------------------------------------------------------------------------------------------------------------Inv Org :Pick Slip : Page: 2 of 2Order Number :Line No Item No Qty Amount
Thanks
0 -
Could any one help me on this?
0 -
Could you please help me on this?
0 -
Main Template : <?call-inline-template:invoice_logo?>
Sub template: <?if order =1234?>I pasted the actual logo for order1234.jpg image<?end if?>
<?if order number =2345?>I pasted the actual logo for order1456 .jpg image<?end if?>
like that try it
0 -
Could you please help me on this requirement ?
Inv Org :Pick Slip : Page: 1 of 1Order Number : 1234 <<...I need this only on first page if the order has more than one page lines..>>Order Number Order Type Pick Slip No CarrierCust. Date Delivery Number <<.......>>Line No Item No Qty Amount------------------------------------------------------------------------------------------------------------------------------------Inv Org :Pick Slip : Page: 2 of 2Order Number : 1234Line No Item No Qty Amount
Thank you.
0 -
3591335 wrote:Main Template : <?call-inline-template:invoice_logo?> Sub template: <?if order =1234?>I pasted the actual logo for order1234.jpg image<?end if?> <?if order number =2345?>I pasted the actual logo for order1456 .jpg image<?end if?> like that try it
Thanks , Actually i don't have any filters to display different headers in the different pages.
0 -
Like this?
<?start:body?>
<?call-template:header_details?> --->for page1??
<?call-template:header_details1?> --->for page2??
<?call-template:header_details2?>--->for page3??
<?for-each@section:XMLELEMENT?>
<?call-template:line_details?>
<?end for-each?>
<?end body?>
Please correct me!
0 -
ok create three template and call in this header
folow this
0 -
You have to create multiple template and call in this body section of this rtf template which will help you
0 -
How many pages are there ....how you want to use and what do u mean by 2,3 and last page.
0 -
Create different template and call them as follow
<?call-template:tHEADER_VERSO?> <?start:body?> <?call-template:tHEADER_RECTO?> <?for-each@section:XMLELEMENT?> <?call-template:tDETAILS?> <?end for-each?> <?end body?> <?call-template:tFOOTER?>
To define a template
<?template:tDetail?> text content <?end template?>
hope this helps
0 -
Y don`t you create a sub template and call that template each page you want to display
0 -
3591335 wrote:How many pages are there ....how you want to use and what do u mean by 2,3 and last page.
I will have max 3 pages lines data for one Order Number.
I have header and lines data only , i don';t have total amount (ex: Total on last page).
Ex:
Page 1of 1
Order Number
1234
Order Date
<?Order_Date?>
Order Total
<?Order_Tot?>
Cust Name
<?cust_name?>
Line No
Line Total
Line Desc
<?line?>
<?Line_Tot?>
<?Line_Desc?>
Page 2of 2
Order Number
1234
Line No
Line Total
Line Desc
<?line?>
<?Line_Tot?>
<?Line_Desc?>
Page 3of 3
Order Number
1234
Line No
Line Total
Line Desc
<?line?>
<?Line_Tot?>
<?Line_Desc?>
0 -
Thanks for your help.
Can you please help me where & how to add the above code in the below sample file?
Thanks again,
0 -
Could you please help me on this?
0