RetailGroupMemberLineQueryProvider::containedProductsQuery Method [AX 2012]

Creates a query to find all products that are contained in a specified retail category.

This category can be standard retail product category or retail special category.

client server public static Query containedProductsQuery(
    EcoResCategoryId _categoryId, 
   [boolean _includeSubcategories, 
    DataAreaId _dataAreaId])

Run On



Type: EcoResCategoryId Extended Data Type
The retail category record ID in which to find products.
Type: boolean
A Boolean value that indicates whether the query should include products in subcategories; optional.
Type: DataAreaId Extended Data Type
The data area ID of the legal entity by which to filter data.

Return Value

Type: Query Class
The query to find products that belong to the given Retail category