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.
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
- _itemId
Type: ItemId Extended Data Type
The item to which the adjustment must be made.
- _inventTransOrigin
Type: InventTransOriginId Extended Data Type
The origin ID of the transactions to which this adjustment will eventually be made.
- _adjustment
Type: CostAmount Extended Data Type
The amount by which the cost will eventually be adjusted.
- _returnInventTransOrigin
Type: InventTransOriginId Extended Data Type
The return origin ID of the transactions to which this adjustment will eventually be made.
- _voucherPhysical
Type: Voucher Extended Data Type
The physical voucher of the transactions to which this adjustment will eventually be made.
- _connection
Type: Connection Class
An obsolete parameter; optional.
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.