RetailGroupMemberLine::variantLookup Method [AX 2012]

Calls the lookup form for variant field on retail member lines, filtered by product if it exists.

client server public static EcoResDistinctProductVariant variantLookup(
    FormReferenceControl _formReferenceControl, 
    RetailGroupMemberLine _groupMember, 
   [DataAreaId _dataAreaId])

Run On



Type: FormReferenceControl Class
The reference group control that has the lookup.
Type: RetailGroupMemberLine Table
The RetailGroupMemberLine record that is being edited.
Type: DataAreaId Extended Data Type
The data area ID of the legal entity to filter; optional.

Return Value

Type: EcoResDistinctProductVariant Table
The selected DistinctProductVariant record.