MCRPriceDiscGroupItem::findPrimarySales Method
Finds the specified record in the MCRPriceDiscGroupItem table that is a primary sales group.
Syntax
client server public static MCRPriceDiscGroupItem findPrimarySales(
ModuleInventCustVend _module,
PriceGroupType _type,
ItemId _itemId,
[InventDimId _inventDimId,
boolean _update])
Run On
Called
Parameters
- _module
Type: ModuleInventCustVend Enumeration
The module identifier of the MCRPriceDiscGroupItem table record to find.
- _type
Type: PriceGroupType Enumeration
The price group type of the MCRPriceDiscGroupItem table record to find.
- _itemId
Type: ItemId Extended Data Type
The item ID of the MCRPriceDiscGroupItem table record to find.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension ID of the MCRPriceDiscGroupItem table record to find.
- _update
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: MCRPriceDiscGroupItem Table
A record in the MCRPriceDiscGroupItem; otherwise, an empty record.