Continuous printing of Sales Invoice

Hi The requirement is to print multiple sales invoices in a single click. For Ex: A sales order which has more than 1 line. the user wants to print all the lines of salesinvoice as a different report in a single click. Praveen

I think you are trying to print each item in a sales order in a separate page…

If so put the code in the body - BodyCustInvoiceTrans -

void executeSection()

{

;

this.checkPrintLineHeader();

this.sendInventDimLine();

/////////////////

x++;//////Declare the variable in the class declaration…

if(x>1)

element.newPage();

///////////////

super();

}