PickTask
Updated
A warehouse document that moves on-hand stock from a storage cell to a picking cell when it is Confirmed. A Draft holds reserved stock on the storage cell and leaves the on-hand balance there.
| Kind | Document |
| Module | Inventory |
| Menu | Inventory → Documents → Picking |
Fields#
| Field | Caption | Points at |
|---|---|---|
FromCell |
From cell (storage) | StoreCell |
ID |
Number | number sequence |
FromCell is required. StoreCell has no card in this set.
Table parts#
Lines#
The table part is PickTaskLines. Its caption is Lines.
| Field | Caption | Points at |
|---|---|---|
Item |
Item | Item |
Quantity |
Quantity | decimal |
Unit |
Unit | UnitOfMeasure |
ToCell |
To cell (picking) | StoreCell |
BaseQuantity |
Qty in base unit | decimal, hidden |
Item, Quantity, and ToCell are required. Unit is optional. BaseQuantity is filled on save and is hidden. The posted quantity is BaseQuantity when that value is not zero, and Quantity otherwise. UnitOfMeasure has no card in this set.
Commands and states#
The stored values Draft and Confirmed use those same captions. Confirmed is read-only. Confirm pick is bound to Draft. There is no command on Confirmed.
| State | Command | What happens |
|---|---|---|
| Draft | Confirm pick | Confirmed. Stock decreases on FromCell and increases on each line's ToCell. The draft reservation on the storage cell is removed. A task with a sales order parent writes ReservedStock on the picking cell. |
| — | Gather pick wave | User command on Inventory → Documents. Two or more drafts that share FromCell and that have a sales order parent become one new draft. The folded drafts are deleted. On-hand stock stays. |
Registers#
Draft writes ReservedStock on FromCell, for a hand-made task as well as one created from a sales order. Confirmed writes Stock (PickTaskTx): minus the posted quantity on FromCell, plus the same quantity on ToCell. PickTaskFollowReserveTx writes ReservedStock on the picking cell when the task has a sales order parent. There is no general-ledger posting. Stock allows a negative balance; the shortage check is in the command and the before-post handler.