D2D² Schedulerhelp

D² Scheduling — Metric definitions

Published for systems that read D2 data and compute the same numbers over a longer history or across systems. Each entry states what D2 counts: the numerator, the denominator, the dates, the window and what is left out. A consumer adopts the definition for the D2 number and documents any difference in its own. D2 does not take metric definitions from a tenant; a definition that is wrong for every tenant changes through D2's normal process, and the change is dated here.

Current lead time (current_queue_leadtime_v1)

Shipped 2026-10-26.

For a work centre or a department, the forward-looking lead time in days is the hours of work on hand divided by the daily capacity in hours. Work on hand is what D2's Capacity view shows: everything in the work centre's queue (Released and Loaded) plus committed work pinned inside the next 14 open days. Daily capacity is D2's capacity formula for that scope, averaged over the shop's 14 open days starting from the material-arrival day (today when that day is past, and the answer says so). A department pools its work centres' hours and capacity before dividing. Work centres that only sequence work, with no labor, are left out. With no capacity there is no lead time, and the answer says so; it never divides by zero. It is a ratio only: not a walk through the queue, not historical lead time, and not a delivery promise.

On-time delivery (on_time_ship_v1)

Defined 2026-11-13 (Kelsey DEC-006 and P-1 A to P-5 A; contract shipments-and-on-time; D2 route GET planning/shipments-week).

For a period of the company's local dates, the lines counted are the sales-order lines whose promise date falls in it. A line's promise date is its own OrderTime date, else the release date a planner typed in D2 (the line-level promise), else its order's promise date as OrderTime gives it (a calendar date); a line with none has no promise and is not counted. A line's shipments are the lines of shipping documents whose status is one of the company's shipped statuses (Closed and Shipped By Shipping unless the company names others) and that OrderTime still returns; each is dated by the document's own date. A line is complete on the date of the shipment that brings its shipped quantity to its ordered quantity. It is on time when that date is on or before the promise date, with no grace; late when it is after it, or when the line is still open and its promise date is before today. A line closed with less shipped than ordered is left out and counted apart; a line not yet due and not complete is counted apart. On-time % is on time over on time plus late; days late are averaged over late lines, to the completing shipment or, while open, to today. Shipped lines in the period that D2 holds no sales-order line for are counted apart: the measure reaches back only as far as D2 holds the orders.

Shipments this week (shipments_week_v1)

Defined 2026-11-13 (Kelsey DEC-007 Q-1 A and Q-2 A, V-1 A to V-5 A, S-1 A, D-1 A, CV-1 A, C2-1 A; contract shipments-and-on-time; D2 route GET planning/shipments-week).

The week is Monday 00:00 to the next Monday 00:00 in the company's time zone, every day counted. Values are quantity times the line's unit price in exact cents, rounded half up (Kelsey R-2 A); a line with no price is counted and never valued. A line's unfilled quantity is its ordered quantity less its shipped quantity (shipped as in on-time delivery above). Due lines are open lines whose promise date is before the next Monday; one before this Monday is overdue.

It is a projection, not a promise, and stock is not set aside for any order.