Report filter

I have a Report with 2 dataItems: Purch. Inv. Header and Purch. Inv. Line

In Purch. Inv. Header, GroupFooter (4) - OnPreSection() I have one recor that operate all data from a specific vendor.

On this section I have a variable that keeps all vendor invoice No.

I pretend exclude from My print report, some invoice No. from Purch. Inv. Header , that has a specific Item No. on Purch. Inv. Line.

How can I Implement That on my report, if I don’t have any Purch. Inv. Line section. All my report has only Purch. Inv. Header sections.


You need to create a record variable of type Purch Inv. Line and get the lines using Code.

Thanks Mohana :slight_smile: