Applies to: LogisticaHQ (P4 Warehouse) tenants with tray management enabled Roles required: Office users Regulatory references: none
A surgery case books a tray for a hospital on a surgery date. Cases answer the scheduling question — which tray is free on Thursday? — and prevent the same tray from being promised to two surgeries whose preparation and return windows collide. The case then rides the tray lifecycle automatically: it is marked dispatched when the tray ships and completed when the return is reconciled.
Trays > Cases
Booking window. A tray is committed to a case from a number of days before the surgery (pulling, checking and Staging the tray) until a number of days after it (return, counting, refill). Both are tenant settings: Business_Kitting_CaseLeadDays and Business_Kitting_CaseReturnDays (default 2 and 2). Two cases for the same tray whose windows touch or overlap are rejected — the day a tray comes back from one case cannot also be the day it stages for the next.
Case states. Derived automatically, never set by hand:
| State | Meaning |
|---|---|
| Booked | The case exists and the tray is committed for its window. |
| Dispatched | The tray shipped for this case. |
| Completed | The tray's return was reconciled; the cycle is finished. |
| Cancelled | The case was cancelled before dispatch. |
Tray management enabled; the tray exists and is not inactive; the hospital exists as a Customer.
The case is created with a system-generated CASE- number in state Booked. The Warehouse and client are inherited from the tray.
The Calendar button on Trays > Cases opens a month/week Calendar of all bookings. Each case is drawn as a bar spanning its full committed window — from Staging (lead days before surgery) through return and refill (return days after) — because that window, not just the surgery day, is what blocks other bookings for the same tray. Bars are colored by case state (Booked, Dispatched, Completed, Cancelled).
The Calendar is a working surface, not just a view:
The Calendar button on a tray''s detail page opens the same Calendar filtered to that tray only — a chip shows the tray number with an ✕ to return to all trays. Booking from a tray-filtered Calendar pre-selects that tray in the dialog when it is free for the chosen date.
A "free" tray is a scheduling claim, not a physical one — a tray still in refill next Thursday can be booked for it. Judge physical readiness by the tray state shown next to each result.
With Business_Kitting_RequireCaseOnDispatch on, dispatching a tray that has no open case is blocked with: "has no open surgery case - book one before dispatching". Off by default — dispatch keeps working without bookings.
Select today''s booked cases and open Other > Dispatch trays. Each selected case gets a hospital pick ticket through the normal tray dispatch (same guards — the tray still physically ships at the handheld scan-out). Results are per case: successes show the created pick ticket number, refusals show the reason without aborting the rest of the batch.
¿Te resultó útil esta página?