EcoResColor::resolveProductVariantColor Method
Finds an EcoResColor record.
Syntax
client server public static EcoResColor resolveProductVariantColor(
EcoResColorName _colorName,
RefRecId _productMaster,
RefRecId _productDimensionAttribute)
Run On
Called
Parameters
- _colorName
Type: EcoResColorName Extended Data Type
The name of a color to find.
- _productMaster
Type: RefRecId Extended Data Type
The ID of an EcoResGenericProductMaster record that identifies a product master for which a color is assigned.
- _productDimensionAttribute
Type: RefRecId Extended Data Type
The ID of an EcoResProductDimensionAttribute record.
Return Value
Type: EcoResColor Table
A EcoResColor buffer.
Remarks
This function is used to resolve a color name to the ID of an EcoResColor record.
It is resolved based on the colors that are assigned to a specified product master.