TAMVendRebateItem::insertTAMVendRebateItemFromProduct Method
Inserts a vendor rebate item record from the product provided.
Syntax
server public static boolean insertTAMVendRebateItemFromProduct(container _productContainer, TAMVendRebateAgreement _tamVendRebateAgreement)
Run On
Server
Parameters
- _productContainer
Type: container
A container of the products to be inserted into the TAmVendRebateItem table.
- _tamVendRebateAgreement
Type: TAMVendRebateAgreement Table
The rebate agreement record used to get the RefRecId.
Return Value
Type: boolean
true if no errors occured; otherwise, false.