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

Called

Parameters

_formReferenceControl
Type: FormReferenceControl Class
The reference group control that has the lookup.
_groupMember
Type: RetailGroupMemberLine Table
The RetailGroupMemberLine record that is being edited.
_dataAreaId
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.
Show: