InventSettlement::stdCostPhysical2FinancialAdjustment Method
Initializes an inventory settlement with a financial adjustment that corresponds to a physical standard cost adjustment.
Syntax
client server public static InventSettlement stdCostPhysical2FinancialAdjustment(
LedgerVoucher _ledgerVoucher,
InventMovement _inventMovement,
InventTrans _inventTrans,
InventSettlement _inventSettlement)
Run On
Called
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher.
- _inventMovement
Type: InventMovement Class
The inventory movement.
- _inventTrans
Type: InventTrans Table
The inventory transaction.
- _inventSettlement
Type: InventSettlement Table
An inventory settlement buffer with the physical adjustment.
Return Value
Type: InventSettlement Table
An inventory settlement.
Exceptions
Exception | Condition |
---|---|
Error | The inventory settlement is not a physical adjustment or canceled. |