Print multiple report

Hi All,

I want to print multiple report in a queue. In a dialog I will select range of sales order then on button click sales confirmation report starts printing. Is it possible to do. Please suggest me.

Thanks

Nitish

Hi Nitish,

You mean you want to print a single report in a continuous fashion for a selected or a range of sale orders ?

If above is the issue, you definitely can. You will need to put some code on the fetch method if you are using standard AX reporting.

hi Nitish Kumar

by this code u can do this customize :

str My_Array[1000];
int i;
salesorder My_Salesorder;
;
for (f = salesorder _ds.getFirst(true) ?
salesorder _ds.getFirst(true) :My_Salesorder; My_Salesorder;
f = salesorder _ds.getNext())
{

counter++;
My_Array[counter]=My_Salesorder.SalesorderId;
}

if(counter==0)
{

//info(Salesorder.SalesorderId);
btnPrint.clicked(); // the button that u must change declaration to “yes”
}
else
{
for(i=1;i<=counter;i++)
{

Salesorder_ds.filter(fieldnum(Salesorder,SalesorderId),( My_Array [ i ] ));
btnPrint.clicked();
Salesorder_ds.removeFilter();
}
}