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 the inventCostProdCancel class.
Syntax
client server public static inventCostProdCancel newFromLedgerVoucher(
ProdTable _prodTable,
boolean _recalc,
LedgerVoucher _ledgerVoucher,
Voucher _cancelVoucher,
TransDate _cancelTransDate)
Run On
Called
Parameters
- _prodTable
Type: ProdTable Table
The production table for which the adjustments should be canceled.
- _recalc
Type: boolean
A Boolean value that indicates whether the production orders should be recalculated.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher to which the postings should be added.
- _cancelVoucher
Type: Voucher Extended Data Type
The voucher for which the adjustments should be canceled.
- _cancelTransDate
Type: TransDate Extended Data Type
The transaction date for which the adjustments should be canceled.
Return Value
Type: inventCostProdCancel Class
An initialized instance of the inventCostProdCancel class.
Exceptions
Exception | Condition |
---|---|
Error | No ledger voucher is given. |
Error | No ledger voucher is given. |