Build out of stock Product from in stock Parts

Assemble an out-of-stock product from in-stock parts, then return the finished units to the shelf.

Script Overview

This workstation builds an out-of-stock product from in-stock parts, or disassembles an in-stock product when a part has been requested. The requested count and the current step are stored on pd_build_goal. Quantities pulled off the shelf sit on pd_build_table until they are completed and written back to oc_product. A partial shelf count stays on the queue until the remaining picked count is zero.

Operator Workflow
Step 1
Choose the Product
  • Pick a row and choose Build Product or Disassemble Product.
  • Enter how many units you want, then continue.
Step 2
Gather
  • Bring the parts, or the products, to the table.
  • Choose Parts Gathered. Those quantities leave inventory and sit on the Build Table.
Step 3
Record the Work
  • Enter how many units you finished, then choose Update.
  • Choose Products Built or Products Disassembled when the whole count is done.
Step 4
Put Pieces on the Shelf
  • Enter the count you put on the shelf. A partial count stays on the Build Table.
  • Choose Products on shelf. The queue row and the goal clear only when nothing remains.
Technical Reference & Safeguards
  • Data Read: pd_build_goal, pd_build_table, and oc_product, plus English names from oc_product_description with language_id = 1. Parts come from pd_product_parts_required. Demand comes from oc_preorder_subscribers and oc_order / oc_order_product.
  • Database Writes: pd_build_goal count and step, pd_build_table.picked, oc_product.quantity, oc_product.location, and the quantity log.
  • Safeguards & Notifications: Each product's inventory change, build-table change, and quantity log commit together or roll back together. Step 4 subtracts the shelved count from picked. The queue row and the goal are deleted only when that remainder is 0.
Showing 101-136 of 136. Sort: Model ↑ | Product id | Name | StockNotify | Preorders
ProductCostPartCostLocationNameShelfQtyStockNotifyPreordersReq
91385 (103265)$13.33$0.2505-01-015Lee Precision Quick Trim Die .25-20 Winchester0001
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91387 (103025)$14.67$2.21Lee Precision Dead Length Bullet Seating Die .350 Legend0001
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2341 (690)$0.9002-02-036-2Lee Precision B.Seat Plug 35R3001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91390 (100247)$14.67$10.5003-02-016Lee Precision Bullet Seating Die .204 Ruger0001
90616 (6828)$1.9901-03-027-2Lee Precision Black 1 Die Box3001 REQ.
NB1353 (873)$6.3002-01-011-4Lee Precision Seat Die Body .204 Ruger2001 REQ.
SB1386 (876)$0.9003-01-061-1Lee Precision Bullet Seat Plug .17 Remington3001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB3507 (136621)$0.00Lee Precision B SEAT PLUG 204 RUGE0001 REQ.
SD2152-Disc (3)$0.45 Lee Precision Hex Lock Ring (Discontinued)0001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91404 (103034)$14.67$8.96Lee Precision Bullet Seating Die .25-35 Winchester0001
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2268 (700)$0.9002-02-026-4Lee Precision Bullet Seat Plug .222 Remington1001 REQ.
SB2876 (908)$6.7502-02-073-1Lee Precision Seat Die Body 25/35 W4001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91417 (100256)$14.67$10.5001-02-062-2Lee Precision Dead Length Bullet Seating Die .270 Winchester0001
90616 (6828)$1.9901-03-027-2Lee Precision Black 1 Die Box3001 REQ.
NB2559 (99)$6.3001-02-022-2Lee Precision Seat Die Body .270 Winchester1001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2152-Disc (3)$0.45 Lee Precision Hex Lock Ring (Discontinued)0001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91418 (103044)$14.67$2.21Lee Precision Bullet Seating Die .224 Valkyrie0001
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2268 (700)$0.9002-02-026-4Lee Precision Bullet Seat Plug .222 Remington1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91438 (103063)$14.67$9.49Lee Precision Bullet Seating Die .303 Savage0001
NB2892 (3848)$7.2801-01-039-2Lee Precision EZ Seat Die Body 303_SA 2001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91440 (100214)$14.67$8.5103-02-010-1Lee Precision Bullet Seating Die .300 Winchester Short Magnum0001
NB3460 (1456)$6.3001-01-070-1Lee Precision Seat Die Body .300 WSM2001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2152-Disc (3)$0.45 Lee Precision Hex Lock Ring (Discontinued)0001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91442 (100258)$14.67$10.50 Lee Precision Dead Length Bullet Seating Die .30-06 Springfield0001
90616 (6828)$1.9901-03-027-2Lee Precision Black 1 Die Box3001 REQ.
NB2561 (678)$6.3001-02-063-2Lee Precision Seat Die Body .30-06 Springfield3001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2152-Disc (3)$0.45 Lee Precision Hex Lock Ring (Discontinued)0001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91443 (100260)$14.67$8.51Lee Precision Bullet Seating Die .300 Winchester Magnum0101
NB2568 (988)$6.3001-02-061-3Lee Precision Seat Die Body 300WM3001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91448 (103071)$14.67$2.21Lee Precision Bullet Seating Die .25-3030001
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2268 (700)$0.9002-02-026-4Lee Precision Bullet Seat Plug .222 Remington1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91449 (103072)$14.67$8.51Lee Precision Bullet Seating Die .303 British0001
NB2563 (1720)$6.3002-01-012-1Lee Precision Seat Die Body .303 British5001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91456 (103079)$14.67$8.51Lee Precision Bullet Seating Die .338 Winchester Magnum0001
NB2567 (2293)$6.3001-01-061-3Lee Precision Seat Die Body 338W2001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2351 (264)$0.9003-01-058-3Lee Precision B.S.PLUG 8X57-3384001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91461 (103084)$14.67$9.49Lee Precision Bullet Seating Die .358 Winchester0001
NB2879 (3847)$7.2801-01-039-4Lee Precision EZ Seat Die Body 356/35 2001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2341 (690)$0.9002-02-036-2Lee Precision B.Seat Plug 35R3001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91465 (103088)$14.67$9.49Lee Precision Bullet Seating .375 Ruger0001
NB1588 (6948)$7.2801-02-053-4Lee Precision EZ Seat Die Body .375 Ruger2001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2386 (917)$0.9002-02-035-3Lee Precision 375 Bullet Seater Plug6001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91467 (103090)$14.67$9.49Lee Precision Bullet Seating Die .416 Remington Magnum0001
NB2938 (3849)$7.2801-01-068-2Lee Precision EZ Seat Die Body 416 1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2387 (415)$0.9002-02-038-4Lee Precision 444M Bullet Seater Plug6001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91480 (103102)$14.67$2.21Lee Precision Bullet Seating Die .300 PRC0001
NB4247 (136606)$0.00Lee Precision EZ SEAT DIE 300 PRC 0001 REQ.
SB1999 (14)$0.9002-02-023-4Lee Precision Bullet Seat Plug1001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91487 (103115)$10.65$3.85Lee Precision Factory Crimp Die .224 Valkyrie0001
S13101 (268)$3.6002-02-005-5Lee Precision Crimp Body Short1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91488 (103116)$10.65$3.85Lee Precision Factory Crimp Die 6mm Creedmoor0001
S13102 (77)$3.6002-02-011-1Lee Precision Crimp Body Medium1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91489 (103109)$14.67$2.21Lee Precision Bullet Seating Die .25-45 Sharps0001
NB3790 (102427)$6.30 EZSEAT DI BDY 25-450001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB2268 (700)$0.9002-02-026-4Lee Precision Bullet Seat Plug .222 Remington1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91491 (103117)$10.65$3.85Lee Precision Factory Crimp Die 25-3030001
S13102 (77)$3.6002-02-011-1Lee Precision Crimp Body Medium1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91492 (103118)$10.65$3.85Lee Precision Factory Crimp Die 6.5 PRC0001
S13102 (77)$3.6002-02-011-1Lee Precision Crimp Body Medium1001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91494 (103120)$10.65$3.65Lee Precision Factory Crimp Die .300 PRC0001
S13103 (15)$3.4001-04-045-2Lee Precision Crimp Body Long8001 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
91505 (101917)$8.00$2.70Lee Precision Bullet Sizer & Punch .2240001
BS3371 (852)$2.7001-02-008-6Lee Precision Sizer Punch .224/.2253001 REQ.
ZZ4261 (136843)$0.00Lee Precision 0001 REQ.
91506 (101919)$8.00$2.70Lee Precision Bullet Sizer & Punch .2250001
BS3371 (852)$2.7001-02-008-6Lee Precision Sizer Punch .224/.2253001 REQ.
91507 (101921)$8.00$2.70Lee Precision Bullet Sizer & Punch .2430001
BS3372 (1499)$2.7001-01-054-1Lee Precision Sizer Punch .24310001 REQ.
91509 (101925)$8.00$2.70Lee Precision Bullet Sizer & Punch .2840001
BS3373 (1132)$2.7001-01-020-1Lee Precision Sizer Punch .284/.2854001 REQ.
91515 (101937)$8.00$2.70Lee Precision Bullet Sizer & Punch .3230001
BS1980 (1919)$2.7001-01-037-5Lee Precision Sizer Punch 3238001 REQ.
91521 (101949)$8.00$2.70Lee Precision Bullet Sizer & Punch .4010001
BS2919 (1954)$2.7001-01-005-4Lee Precision Sizer Punch .4015001 REQ.
91532 (101971)$13.33$0.25Lee Precision Breech Lock Bullet Sizer Kit0001
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320001 REQ.
ZZ4260 (136846)$0.00Lee Precision 0001 REQ.
91564 (135311)$34.65$10.2107-01-040Lee Precision Pacesetter 3-Die Set .300 HAM'R0001
PM1405 (554)$0.4502-02-065-5Lee Precision 1.6 Powder Measure6001 REQ.
S13066 (26)$3.6001-02-027-2Lee Precision Crimp Body Extra Short2001 REQ.
SB2154 (5)$0.8302-02-037-2Lee Precision Bullet Seat Adjustment Screw25001 REQ.
SB2155 (6)$0.2303-01-063-1Lee Precision O-Ring 7/16 X .0701001 REQ.
SB3624 (23)$0.9002-02-041-6Lee Precision Seat Plug 7mmBR/6.5GREND2001 REQ.
SD2151 (2)$0.4501-02-027-1Lee Precision Decapper Clamp4101 REQ.
SD2153 (4)$0.2502-01-040-3Lee Precision O-Ring 7/8 X .10320003 REQ.
SD2267 (136584)$0.00Lee Precision 3 DIE COVER 0001 REQ.
SE3009 (2937)$3.5001-04-054-3Lee Precision EZ X Expander .300 AAC Blackout10001 REQ.
SO4195 (136921)$0.00Lee Precision CUST FC DIE 30/284 0001 REQ.
91582 (103267)$27.00$9.3407-01-015Lee Precision APP Primer Pocket Swage Kit0101
91565 (101985)$4.6701-02-048-1Lee Precision Small Swage Punch5001 REQ.
91566 (101986)$4.6701-02-048-2Lee Precision Large Swage Punch8001 REQ.
AL-A009-G (125770)$7.99$3.1508-01-077Alice String Winder 24 pcs0001
AL-A009-BK (125771)$0.3502-01-017-3Alice String Winder Black3003 REQ.
AL-A009-BL (125776)$0.3502-01-035-1Alice String Winder Blue3003 REQ.
AL-A009-BTL (125779)$0.3508-01-077Alice Guitar String Winders Storage Bottle1001 REQ.
AL-A009-CL (125772)$0.3502-01-017-4Alice String Winder Clear2003 REQ.
AL-A009-GR (125775)$0.3502-01-031-3Alice String Winder Green2003 REQ.
AL-A009-NY (125777)$0.3502-01-035-3Alice String Winder Neon Yellow4003 REQ.
AL-A009-OR (125778)$0.3502-01-014-1Alice String Winder Orange2003 REQ.
AL-A009-PR (125773)$0.3502-01-014-3Alice String Winder Purple5003 REQ.
AL-A009-RD (125774)$0.3502-01-031-1Alice String Winder Red2003 REQ.
LY-7631290 (7092)$19.44$0.4505-02-145Lyman Universal Decapping Die0001
LY-7964915 (100187)$0.4501-02-026-1Lyman Universal Decapping die Instructions4001 REQ.
LY-7964916-Disc (100188)$1.00 Lyman Universal Decapping Die Storage Box (Discontinued)0001 REQ.
OF3006 (816)$4.05$0.2302-02-009-1Lee Precision Breech Lock Challenger Ram0001
TP2108 (798)$0.2303-01-054-2Lee Precision Shellholder Retainer15001 REQ.
SE2168 (144)$1.13$0.2301-03-080-2Lee Precision Funnel Adapter0001
AD2299 (104)$0.2301-01-008-1Lee Precision O-Ring 5/8 X .01613001 REQ.
Showing 101-136 of 136. Sort: Model ↑ | Product id | Name | StockNotify | Preorders