RetailGroupMemberLine::productLookupByLE Method [AX 2012]

Calls the lookup form for the product field on retail member lines, filtered by category if it is assigned, and restricted to the specified data area ID which defaults to current legal entity if it is not specified.

client server public static EcoResProduct productLookupByLE(
    FormReferenceControl _formReferenceControl, 
    RetailGroupMemberLine _groupMember, 
   [DataAreaId _dataAreaId])

Run On



Type: FormReferenceControl Class
The reference group control that has the lookup.
Type: RetailGroupMemberLine Table
The current 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: EcoResProduct Table
The selected product record.