ReqEventProcessKanban.markInventoryTransactions Method [AX 2012]
Marks or unmarks inventory transactions if it is required.
Syntax
protected InventQty markInventoryTransactions(
Kanban _kanban,
KanbanJob _kanbanJob,
InventQty _markQty,
[InventTransOriginId _receiptInventTransOriginId,
boolean _silent])
Run On
Called
Parameters
- _kanban
Type: Kanban Table
A Kanban table buffer that represents the receipt to mark against.
- _kanbanJob
Type: KanbanJob Table
A KanbanJob table buffer that represents the receipt to mark against.
- _markQty
Type: InventQty Extended Data Type
The quantity to mark in inventory unit.
- _receiptInventTransOriginId
Type: InventTransOriginId Extended Data Type
The kanban receipt inventory transaction originator; optional.
- _silent
Type: boolean
A Boolean value that specifies whether to add messages to the Infolog.
Return Value
Type: InventQty Extended Data Type
The marked quantity.
Exceptions
Exception | Condition |
---|---|
Error | The same quantity could not be marked on receipt and issue side. -or- The same quantity could not be unmarked on receipt and issue side. |
Remarks
Provide a positive quantity to increase marking or a negative quantity to decrease marking.