RetailGroupMemberLineQueryProvider::availableVariantsQuery Method [AX 2012]

Builds query to which returns all variants, or all for a given master product

client server public static Query availableVariantsQuery(
    EcoResCategoryId _category, 
    EcoResProductRecId _product, 
   [DataAreaId _dataAreaId])

Run On

Called

Parameters

_category
Type: EcoResCategoryId Extended Data Type
The record ID of the record that contains the category for a variant; optional.
_product
Type: EcoResProductRecId Extended Data Type
The record ID of the product master; optional.
_dataAreaId
Type: DataAreaId Extended Data Type
The data area ID of the legal entity by which to filter values; optional.

Return Value

Type: Query Class
A query to find all variants of the given master product, or all variants if no master given.
Show: