InventTrans.updatePriceVariancePhy Method
Initializes an inventory settlement record that adjusts the physical value of the transaction with a price variance.
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 updatePriceVariancePhy(
InventMovement _inventMovement,
InventAccountType _inventAccountType,
CostAmount _varianceAmount,
[InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 R2 (SYS)
public InventSettlement updatePriceVariancePhy(
InventMovement _inventMovement,
InventAccountType _inventAccountType,
CostAmount _varianceAmount,
[InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public InventSettlement updatePriceVariancePhy(
InventMovement _inventMovement,
InventAccountType _inventAccountType,
CostAmount _varianceAmount)
Run On
Called
Parameters
- _inventMovement
Type: InventMovement Class
The inventory movement.
- _inventAccountType
Type: InventAccountType Enumeration
The inventory account type for the variance.
- _varianceAmount
Type: CostAmount Extended Data Type
The variance amount.
- _inventTransCurrency
Type: InventTransCurrency_RU Enumeration
Currency type to fetch initialize record.
Return Value
Type: InventSettlement Table
An inventory settlement record.