Oracle Analytics Cloud and Server

Products Banner

different header part in every 2nd , 3rd and last page

Received Response
182
Views
20
Comments

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

Tagged:

Answers

  • YGUTTIKONDA
    YGUTTIKONDA ✭✭✭✭✭

    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 ?

  • YGUTTIKONDA
    YGUTTIKONDA ✭✭✭✭✭

    Hello,

    try creating conditional headers ... check the below blog post for more info

    https://blogs.oracle.com/xmlpublisher/conditional-headers

    Hope this helps

    --YG

  • mist123
    mist123 ✭✭✭

    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

  • mist123
    mist123 ✭✭✭

    It would be great if any sample rtf template files.

  • mist123
    mist123 ✭✭✭

    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

  • mist123
    mist123 ✭✭✭

    Could any one help me on this?

  • mist123
    mist123 ✭✭✭

    Could you please help me on this?

  • Dir_Pal
    Dir_Pal ✭✭✭✭✭

    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

  • mist123
    mist123 ✭✭✭

    Hi

    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.

  • mist123
    mist123 ✭✭✭
    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.

  • mist123
    mist123 ✭✭✭

    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!

  • Dir_Pal
    Dir_Pal ✭✭✭✭✭

    ok create three  template and call in this header

    folow this

    .https://blogs.oracle.com/xmlpublisher/more-subtemplates

  • Dir_Pal
    Dir_Pal ✭✭✭✭✭

    You have to create multiple template and call in this body section of this rtf template which will help you

  • Dir_Pal
    Dir_Pal ✭✭✭✭✭

    How many pages are  there ....how you want to use and what do u mean by 2,3 and last page.

  • Dir_Pal
    Dir_Pal ✭✭✭✭✭

    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

  • Dir_Pal
    Dir_Pal ✭✭✭✭✭

    Y don`t you create a sub template and call that template each page you want to display

  • mist123
    mist123 ✭✭✭
    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?>

  • mist123
    mist123 ✭✭✭

    Thanks for your help.

    Can you please help me where & how to add the above code in the below sample file?

    Thanks again,

  • mist123
    mist123 ✭✭✭

    Could you please help me on this?