EcoResColor::mcrlookupByItemOrProduct Method
Looks up color by item or product (no need for item if product is supplied).
Syntax
client server public static void mcrlookupByItemOrProduct(
FormControl _formControl,
ItemId _itemId,
[RefRecId _product])
Run On
Called
Parameters
- _formControl
Type: FormControl Class
The control on which the look up will be performed.
- _itemId
Type: ItemId Extended Data Type
The item for which the products need to be looked up.
- _product
Type: RefRecId Extended Data Type
The product for which the colors have to be looked up.
Remarks
If the product RefRecId is supplied, the item will get disregarded.