Does that help In the OnAfterGetRecord trigger for each Customer, do a count of their SalesLines and if the count is zero then use CurrReport.Skip() to skip that data item (Customer). Something like this:
IF SalesLines.COUNT = 0 THEN BEGIN
I wish did fix the issue. that's not how it works...NAV is not a database it's a business application which stores data in tables. You need to sit down with an experienced NAV Professional and and discuss every specific reporting needs. If you can give me an example i'm happy to point you to the right direction...
Creating Navision service using Navision application server?