Skip to main content

Receiving performance and accuracy per day, and the state right now

GET 

/reports/receiving-performance

How is the dock performing? days[] has one row per UTC calendar day intersecting [from, to) (zeros included); a day's counts cover the part of the day inside the range. receipts_closed, discrepancies and receipt_cycle follow the receipt's ReceiptClosed time; lines_received counts the receiving actions (ReceiptLineReceived) and units_good / units_damaged sum their quantities by condition. receipt_cycle (open to close) and dock_dwell (check-in to completed) include only receipts and appointments whose opening or check-in the projection also saw; their p50_seconds / p95_seconds are linear-interpolated percentiles and are null when count is 0. appointments counts each milestone that fell in the window. The appointments and dock_dwell blocks are FROZEN since ADR 0019: the appointment moved to dock-scheduling, so nothing new feeds them.

dock_to_stock (ADR 0021) is the time from the carrier's gate arrival (yard-management's VisitCheckedIn) to the stow of the last Good carton (inventory-storage's ContainerStowed) of the receipts whose ReceiptStowCompleted fell in the window (a fact counts in the UTC day of its stowed_at). p50_seconds is the median and p90_seconds the 90th percentile (linear-interpolated); under_target counts the facts at or under dock_to_stock_target_seconds (11160 s = 3.1 h, the WERC best-in-class) and share_under_target is under_target / count. The percentiles and the share are null when count is 0. A receipt without an appointment arrival (a walk-in) or without cartons has no dock-to-stock and is not counted.

advice (ADR 0023) counts the receiving advices (ReceivingAdviceIssued) issued in the window (a fact counts in the UTC day of its issued_at): count, within_sla (issued inside the committed window after the last unit received) and share_within_sla (within_sla / count, null when count is 0). Receipts closed before the advice existed have none.

asn_timeliness (ADR 0025) is the KPI "% ASNs received before arrival, per supplier": one row per supplier, both sides counted in the UTC day of the ASN's registered_at -- registered (ASNs registered for the supplier that day) and late (of those, the ones registered after the visit they were received under had arrived; AsnLateForArrival). share_on_time is 1 - late / registered, null when registered is 0. The list holds at most the day's top ten suppliers by registered (ties by supplier_ref ascending); a supplier outside the bound is absent from that day's block and its facts stay in the tables. ASNs with an unknown registered_at (rows older than ADR 0025) count on neither side.

current is the state right now, independent of the range: open_receipts (opened, not yet closed), expected_today (ASNs not cancelled whose expected arrival falls in today's UTC day) and expected_today_started (those with a receipt already opened). The data is as fresh as GET /reports/freshness says.

Request​

Responses​

The report for the effective range.