InventItemSalesAnalysisDP_CN.calcLatestContractPrice Method [AX 2012]
Get the latest contract price, based on the specified parameters.
Syntax
private Price calcLatestContractPrice(
InventTrans _inventTrans,
AccountNum _custAccount,
PriceGroupId _priceGroupId)
Run On
Server
Parameters
- _inventTrans
Type: InventTrans Table
The inventory transction table.
- _custAccount
Type: AccountNum Extended Data Type
The customer account number.
- _priceGroupId
Type: PriceGroupId Extended Data Type
The price group ID.
Return Value
Type: Price Extended Data Type
The latest contract price.