Share via


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

  • _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.

See Also

Reference

RetailCategoryHelper Class