Share via


InventCostCancel::newFromParameter Method [AX 2012]

Initializes a new instance of the InventCostCancel class.

Syntax

client server protected static InventCostCancel newFromParameter(
    InventTransRefId _transRefId, 
    Voucher _cancelVoucher, 
    TransDate _cancelTransDate, 
    Voucher _newVoucher, 
    TransDate _newTransDate)

Run On

Called

Parameters

Return Value

Type: InventCostCancel Class
An initialized instance of the InventCostCancel class.

Exceptions

Exception Condition
Error

There is no transaction reference.

Error

There is no transaction reference.

See Also

Reference

InventCostCancel Class