InventAutoSalesPriceMap.updateSalesPrice Method
Calculates the sales price of the item, based on either the cost or the purchase price.
Syntax
public Price updateSalesPrice(
InventTable _inventTable,
InventAutoSalesPriceMap _inventTableModule,
Price _unitPrice)
Run On
Called
Parameters
- _inventTable
Type: InventTable Table
The InventTable table that contains the parameters for calculating the sales price.
- _inventTableModule
Type: InventAutoSalesPriceMap Map
The base price that is used as a basis for calculating the new sales price.
- _unitPrice
Type: Price Extended Data Type
The unit price of this purchase order.