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.
Syntax
client server public static Query containedProductsQuery(
EcoResCategoryId _categoryId,
[boolean _includeSubcategories,
DataAreaId _dataAreaId])
Run On
Called
Parameters
- _categoryId
Type: EcoResCategoryId Extended Data Type
The retail category record ID in which to find products.
- _includeSubcategories
Type: boolean
A Boolean value that indicates whether the query should include products in subcategories; optional.
- _dataAreaId
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