InventTrans.updatePriceRevaluationPhy Method
Initializes an inventory settlement record to adjust the physical transaction value to a new cost.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public InventSettlement updatePriceRevaluationPhy(
InventTable _inventTable,
InventAccountType _inventAccountType,
Voucher _voucher,
CostAmount _adjustment,
date _revaluationDate,
[InventMovement _inventMovement,
InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 R2 (SYS)
public InventSettlement updatePriceRevaluationPhy(
InventTable _inventTable,
InventAccountType _inventAccountType,
Voucher _voucher,
CostAmount _adjustment,
date _revaluationDate,
[InventMovement _inventMovement,
InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public InventSettlement updatePriceRevaluationPhy(
InventTable _inventTable,
InventAccountType _inventAccountType,
Voucher _voucher,
CostAmount _adjustment,
date _revaluationDate,
[InventMovement _inventMovement])
Run On
Called
Parameters
- _inventTable
Type: InventTable Table
An InventTable buffer.
- _inventAccountType
Type: InventAccountType Enumeration
The inventory account type for the variance.
- _voucher
Type: Voucher Extended Data Type
The revaluation voucher.
- _adjustment
Type: CostAmount Extended Data Type
The adjustment.
- _revaluationDate
Type: date
The revaluation date.
- _inventMovement
Type: InventMovement Class
The movement if the valuation is caused by backdating; optional.
- _inventTransCurrency
Type: InventTransCurrency_RU Enumeration
Currency type to fetch initialize record.
Return Value
Type: InventSettlement Table
An initialized inventory settlement record.