Saturday 21 November 2020

How to print each invoice in a new page in XML Publisher?

How to print each invoice in a new page in XML Publisher?

Hi friends, we are going to discuss about how to print each invoice in a new page in XML Publisher. In this post, We will be share how we split the each invoice into new page in xml publisher. In xml publisher, we designs the Invoice layout in the rtf template. We need to put the xml syntax in the rtf template to print each invoice in a new page using xml publisher. 

In xml publisher , helps to design the oracle reports layout designing in oracle apps. XML publisher have many advanced features , which helps to design the more dynamic and smart reports layouts. We will share the method which helps to split the each invoice in a new page. In XML publisher , We have the data input in the xml format to print the invoice.  Please find below the complete detail about how to print each invoice in a new page in XML Publisher.


XML Publisher method to print each invoice in a new page in XML Publisher

Here below is the xml syntax, which we need to put in the rtf template which helps to print each invoice in a new page. We need to put this below , syntax in the rtf template between the xml groups.


<?split-by-page-break:?> 


Example to print each invoice in a new page in XML Publisher

Here below , we will share the complete working example which helps to print the invoice in a new page.

Step 1: For example , Here below is the xml output , based on that we will develop the xml publisher report which will be print each invoice in a new page in xml publisher.

<LIST_G_INVOICE_ID>
<G_HEADER_ID>
<START_DATE/>
<INVNO>4001</INVNO>
<SUPPLIER>TEST SUPPLIER</SUPPLIER>
<ORDER_QTY>2</ORDER_QTY>
<QTY_DUE>0</QTY_DUE>
<UNIT_PRICE>1026</UNIT_PRICE>
<EXT_PRICE>2052</EXT_PRICE>
<INVDESC>TEST INVOICE INFORMATION</INVDESC>
<ITEM_DESCRIPTION>TEST INVOICE INFORMATIONDSD123456642</ITEM_DESCRIPTION>
<UOM>EA</UOM>
</G_INVOICE_ID>
</LIST_G_INVOICE_ID>


Step 2:-

We need to put the syntax <?split-by-page-break:?>  before the end of the xml output group in the rtf template as below.
How to print each invoice in a new page in XML Publisher?



Step 3:-
This  <?split-by-page-break:?>  helps to print each invoice in a new page in XML Publisher. Please use this syntax method and let us know if any help or concern on this.

How to print each invoice in a new page in XML Publisher?
How to print each invoice in a new page in XML Publisher?




0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *