Multiple Invoice copy



How to make copies based on the value for each invoice from XML
The copies are different for each invoice.

make two loop, one for the no of invoice , which controls , number of invoice to printed.

Now you need to make , number of copies based on element, for each invoice.
so , make a group variable, for outer loop, so that you refer them in the header and footer, so that the context is maintained through out the page.

Make a loop now, using foreach_number, based on the copies element.

and put your logic or style for the report, inside this inner loop.

But what ever you put, you got to prepend as $G1, otherwise inner loop context will be applied and report will be blank , if you ain't.




Comments

Anonymous said…
hi,

Thank you for the information.

Keep posting new things on BIP.

Thanks.
iXAP said…
Hi,

I followed the same logic for my RTF using for-each-group, $G1 and foreach_number. It works fine and output the expected result.

But when i upload it on JDE, i don't get any output. In the logs it mentions there is an error around the foreach_number loop.

Can you please help?

Thanks

Popular posts from this blog

Repeat Table Header in all pages in BIP

Configure Concurrent Reports to be run

Limit rows per page