EcoResSize::resolveProductVariantSize Method
Finds a record in the EcoResSize table.
Syntax
client server public static EcoResSize resolveProductVariantSize(
EcoResSizeName _sizeName,
RefRecId _productMaster,
RefRecId _productDimensionAttribute)
Run On
Called
Parameters
- _sizeName
Type: EcoResSizeName Extended Data Type
The name of a size to find.
- _productMaster
Type: RefRecId Extended Data Type
The ID of an EcoResProductMaster record that identifies a product master for which a size might have been assigned.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The ID of an EcoResProductDimensionAttribute record.
Return Value
Type: EcoResSize Table
An EcoResSize buffer.
Remarks
The function is used to resolve a size name to the ID of an EcoResSize record.
The resolution is made based on the sizes assigned to the product master.