EcoResColor::lookupProductVariantColor Method
Displays a lookup form to use to decide a color for a product variant.
Syntax
client server public static EcoResColor lookupProductVariantColor(
FormReferenceControl _formControl,
RefRecId _productMaster,
RefRecId _productDimensionAttribute)
Run On
Called
Parameters
- _formControl
Type: FormReferenceControl Class
A control for which a lookup is performed.
- _productMaster
Type: RefRecId Extended Data Type
A value that specifies a product master to display in the lookup form.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The ID of a record in the EcoResProductDimensionAttribute table that specifies the dimension attribute for which colors are displayed in the lookup form.
Return Value
Type: EcoResColor Table
A selected EcoResColor buffer.
Remarks
The colors that are displayed are chosen from the colors that are assigned to the product master.