← VVD Glazing Router

Routing Rules

Each rule in plain IF / THEN form. Rules are checked in order and the first one that matches decides the order. Use the checker to try your own situation.

What-if checker

Answer yes or no for each question. The matching rule lights up on the right.

Compact table view

✓ yes · ✗ no · – doesn't matter

Frame and Lens mean in stock at that portal. Under cap means open jobs are below max cap.

#DCClient's HUBTOGWorked outResultFlag
FrameUnder capLens Has HUBFrameLensUnder cap TOG lensFrameUnder cap Frame out everywhereHUB can take it
1✓✓–––––––––– DC, directLENS_OOS_SUBSTITUTE if DC has no lens
2–––✓✓✓✓––––– Client's HUB, directnone
3–––––––✓✓✓–– TOG, directnone
4––––––––––✓✓ Client's HUB. The client sends their own frame to the HUB. If the HUB has no lens, it ships from DC (or TOG makes it on demand for a TOG lens).FRAME_OOS_CLIENT_FRAME_HUB
5––––––––––✓✗ DC. The client sends their own frame to DC.FRAME_OOS_CLIENT_FRAME, plus LENS_OOS_SUBSTITUTE if DC has no lens
6––––––––––✗– Transfer or overflow, see rule 6 below.none, or CAP_OVERFLOW (plus LENS_OOS_SUBSTITUTE if DC has no lens)