inventCostProdCancel::cancelFromProdEnding Method [AX 2012]
Cancels adjustments for a single production order and posts them to the specified ledger voucher.
Syntax
client server public static void cancelFromProdEnding(
ProdTable _prodTable,
TransDate _endDate,
LedgerVoucher _ledgerVoucher)
Run On
Called
Parameters
- _prodTable
Type: ProdTable Table
The production table for which the adjustments should be canceled.
- _endDate
Type: TransDate Extended Data Type
The date that should be used to determine which adjustments must be canceled.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher to which the postings should be added.