0

Empty filter error on linking with another table

Hello Experts,

I have a report that links the purchase header with purchase line and further, with purchase receipt line table.

For the purchase line, I have used a NL row replicator, and then the NF() for Document No. & Line No.

For linking the receipt line, and populating the Document no., I have used the following formula:
=NL("Rows","Purch. Rcpt. Line","Document No.","Order No.",S8,"Order Line No.",T8)

On report execution, the output flashes an error "the filter can not be empty" and the cursor points to the cell, which does not have a corresponding Order Line No. i.e. No value in cell T8

I tried using the "allow special characters" function for the filter values S8 and T8, but it didn't work.

I also tried to tweak the formula by using the IF condition, but it does not work correctly:
=IF(len(T8)>0,NL("Rows","Purch. Rcpt. Line","Document No.","Order No.",S8,"Order Line No.",T8),"")

The issue is how do I deal with this empty filter that links to other table.

Thanks in advance for the help.

6 comments

Please sign in to leave a comment.