Aller au contenu principal

Product & Packaging

A Product is the template for what is tracked — the trade item or asset class. A Product is not the physical thing in your warehouse; that is an Instance.

Product

FieldTypeNotes
idintegerStockaj internal id
gtinstring(14)Canonicalised GTIN, optional, validated Mod-10
namestring
uomstringUN/CEFACT Rec 20 unit code (PCE, KGM, LTR, EA)
tracking_modeenumNONE, LOT, SERIAL, AGGREGATE
ilmd_schemaobjectOptional ILMD field schema for child instances

Tracking modes

ModeWhen to useInstance kind generated
NONEBulk consumables, no per-unit identityBULK (one bucket per location)
LOTBatch-tracked consumables, expiry mattersLOT
SERIALEach unit individually identifiedSERIAL
AGGREGATELogistic units (pallet, returnable container)SSCC

Packaging levels

A product can have multiple packaging levels, each with its own GTIN:

Each (PCE)        — GTIN-14 starting "0..."
Inner case (10x) — GTIN-14 starting "1..."
Outer case (50x) — GTIN-14 starting "2..."
Pallet (1000x) — GTIN-14 starting "3..."

Levels are recorded in packaging_levels rows attached to the product.