EcoResSize::lookupProductVariantSize Method
Displays a lookup form to select a size for a product variant.
Syntax
client server public static EcoResSize lookupProductVariantSize(
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 indicates which generic product model that sizes assigned to is displayed in the lookup form.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The ID of a record in the EcoResProductDimensionAttribute table that indicates the dimension attribute for which sizes are displayed in the lookup form.
Return Value
Type: EcoResSize Table
A selected EcoResSize table buffer.
Remarks
The sizes that are displayed are chosen from the sizes that are assigned to the product master.