cancel
Showing results for 
Search instead for 
Did you mean: 

skip the line item in Scripts

Former Member
0 Kudos

Hi friends......

how to skip the line item having the document no starting with 15th series.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hey,

In the form editor just write a sub routine using perform.

there in the program check if the document no is starting from 15 series , if the condition is satisfied , set a flag say v_flag = 'X'..

Later in the main window print the line item values only when the flag v_flag is initial.

dont forget to clear the value of v_flag after printing all the columns of the line item or else you might face some irregularities.

hope this helps.

Regards,

RK

Answers (0)