Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of this class based on a ledger voucher.
Syntax
client server public static InventCostProdAdjust newFromLedgerVoucher(
InventTransAdjustDataMap _inventTransAdjustDataMap,
boolean _recalc,
LedgerVoucher _ledgerVoucher)
Run On
Called
Parameters
- _inventTransAdjustDataMap
Type: InventTransAdjustDataMap Class
The InventTransAdjustDataMap class that holds the adjustments.
- _recalc
Type: boolean
A Boolean value that indicates whether the production order should be recalculated.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher to which the postings should be added.
Return Value
Type: InventCostProdAdjust Class
An initialized instance of the class.
Exceptions
Exception | Condition |
---|---|
Error | No ledgerVoucher is passed. |
Error | No ledgerVoucher is passed. |