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