cancel
Showing results for 
Search instead for 
Did you mean: 

how can i restrict line items in check printing.

Former Member
0 Kudos

I am printing a check and its invoice details(Item details) alos in the same page.How it look means frst check part

will print and in the main window i am printing item details. Up to this part it is working fine. But in case of these item details if more than 10 line items are there it should print on second page.can any one help what is the code to solve this issue and where i have to write the code.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

if iam not wrorng,,, u r requirement is..

u have to print the Check and after that u have print the item details on the page...

can u plese explain littlil bit clear

Former Member
0 Kudos

for check printing i am using standard form f110_prenumcheck.i getting two pages out put in which first page consists of document line item and check. and in second page the check details are coming in first i need ten invoice details if it exceeds ten it should print in second page.where i have to write code for this.

Shivaji16
Active Participant
0 Kudos

Hi,

We can write an if condition in the text element of the Main window for this..

Put a counter....if a counter reaches 10..call the NEW-PAGE command..

if counter > 10.

NEW-PAGE.

counter = 0.

endif.

Former Member
0 Kudos

thanks for ur answer.weather i should do any coding in the check window also.along with the main window.pls answer me.

Former Member
0 Kudos

hi ajay,

in if u print these items in the main window then the next page will be triggered auto matally.. if u r already using this ignore this..

Shivaji16
Active Participant
0 Kudos

Hi Ajay,

Code in the window where u need the restriction..

The first page with document line item and check will print once and the

Check details run across different pages with a restriction of 10 items per

page..