RetailCategoryHelper::categorySelectionChanged Method [AX 2012]
Common code to be used in forms where we display products by category.
Syntax
client server public static void categorySelectionChanged(
EcoResCategory _ecoResCategory,
FormDataSource _ecoResCategoryDescendentsDS,
FormDataSource _retailCategoryContainmentLookupDS,
boolean _isRetailSupplementalCategory)
Run On
Called
Parameters
- _ecoResCategory
Type: EcoResCategory Table
The category selected
- _ecoResCategoryDescendentsDS
Type: FormDataSource Class
all the descendants of the selected category.
- _retailCategoryContainmentLookupDS
Type: FormDataSource Class
Collection of the categories contained in other categories.
- _isRetailSupplementalCategory
Type: boolean
If the selected category is a Retail supplemental category.