Share via


InventCostItemDim.insertCostListTrans Method [AX 2012]

Writes an adjustment to the database so that it can be handled later.

Syntax

protected Connection insertCostListTrans(
    ItemId _itemId, 
    InventTransOriginId _inventTransOrigin, 
    CostAmount _adjustment, 
    InventTransOriginId _returnInventTransOrigin, 
    Voucher _voucherPhysical, 
   [Connection _connection])

Run On

Called

Parameters

  • _voucherPhysical
    Type: Voucher Extended Data Type
    The physical voucher of the transactions to which this adjustment will eventually be made.

Return Value

Type: Connection Class
Always returns nullNothingnullptrunita null reference (Nothing in Visual Basic).

Remarks

If the item in the _itemId parameter does not occur in the inventory closing work list, it is automatically put on the work list.

See Also

Reference

InventCostItemDim Class