InventCostCancel::cancelFromInventCostProdCancel Method [AX 2012]
Cancels the variances for a given production ID and voucher.
Syntax
client server public static void cancelFromInventCostProdCancel(
ProdId _prodId,
Voucher _cancelVoucher,
TransDate _cancelTransDate,
Voucher _newVoucher,
TransDate _newTransDate)
Run On
Called
Parameters
- _prodId
Type: ProdId Extended Data Type
The production ID for which the variances should be canceled.
- _cancelVoucher
Type: Voucher Extended Data Type
The voucher for which the variances should be canceled.
- _cancelTransDate
Type: TransDate Extended Data Type
The transaction date for which the variances should be canceled.
- _newVoucher
Type: Voucher Extended Data Type
The voucher to which the canceled adjustments should be attached.
- _newTransDate
Type: TransDate Extended Data Type
The transaction date that should be used to cancel the adjustments.