EcoResStyle::lookupProductVariantStyle Method
Displays a lookup form to select a style for a product variant.
Syntax
client server public static EcoResStyle lookupProductVariantStyle(
FormReferenceControl _formControl,
RefRecId _productMaster,
RefRecId _productDimensionAttribute)
Run On
Called
Parameters
- _formControl
Type: FormReferenceControl Class
A control for which the 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 styles are displayed in the lookup form.
Return Value
Type: EcoResStyle Table
A EcoResStyle record.
Remarks
The styles displayed are chosen from the styles assigned to the product master.