PdsRebateItem::insertPdsRebateItemFromProduct Method
Inserts a rebate item record from the product provided.
Syntax
server public static boolean insertPdsRebateItemFromProduct(
container _productContainer,
PdsRebateAgreement _pdsRebateAgreement,
InventDim _inventDim)
Run On
Server
Parameters
- _productContainer
Type: container
A container of the product records to be inserted into the PdsREbateItem table.
- _pdsRebateAgreement
Type: PdsRebateAgreement Table
The rebate agreement record used to get the RefRecId.
- _inventDim
Type: InventDim Table
The inventory dimension of the rebate.
Return Value
Type: boolean
true if no errors occured; otherwise, false.