Using a query to extract data
Microsoft Dynamics NAV 2013 introduced a new object type called query. We can use a query to retrieve data from one or multiple tables. A query can be configured with specific filters, joins, and totaling methods. The following recipe will help to build a simple query to retrieve data from one table.
How to do it...
Create a new query with Object Designer.
In Query Designer, leave the default value of the column
Typeas it is; that is,DataItem.Select
CustomerasData Sourcefrom the table list.In the next row, select
ColumnasTypeandNo.asData Source. Keep the methodNoneas it is.Add another two columns,
NameandBalance, with theMethod TypevalueNone.With the cursor hovering over the
Balancerow, click on Properties in the View menu or press Shift + F4.In
ColumnFilter, select the assist edit button to apply the following filter:Column
Type
Value
BalanceFilter<>0You should see the following screenshot:

Select the blank row and click...