Skip to main content

System Codes

All records in Mac Leather Dashboard are identified by unique system-generated codes. This reference explains each code format.

Code Summary

CodeFull NameFormatExample
SMPSampleSMP-YYYY-XXXSMP-2026-042
PRDProduction OrderPRD-YYYY-XXXPRD-2026-015
JCJob CardJC-YYYY-XXXXXJC-2026-00142
POPurchase OrderPO-YYYY-XXXPO-2026-088
SHPShipmentSHP-YYYY-XXXSHP-2026-007

SMP - Sample Code

Format

SMP-YYYY-XXX
PartMeaningValues
SMPSample prefixFixed
YYYYYear created2024, 2025, 2026…
XXXSequential number001-999

Examples

CodeMeaning
SMP-2026-001First sample created in 2026
SMP-2026-04242nd sample created in 2026
SMP-2025-156156th sample created in 2025

Generation Rules

RuleDescription
AutomaticGenerated when sample is created
SequentialIncrements by 1 for each new sample
Year ResetResets to 001 on January 1st
ImmutableCannot be changed after creation
UniqueNo duplicates within same year

PRD - Production Order Code

Format

PRD-YYYY-XXX
PartMeaningValues
PRDProduction prefixFixed
YYYYYear created2024, 2025, 2026…
XXXSequential number001-999

Examples

CodeMeaning
PRD-2026-001First production order in 2026
PRD-2026-01515th production order in 2026
PRD-2025-203203rd production order in 2025

Generation Rules

RuleDescription
AutomaticGenerated when production order is created
SequentialIncrements by 1 for each new order
Year ResetResets to 001 on January 1st
ImmutableCannot be changed after creation
LinkedMay reference source sample (SMP code)

JC - Job Card Code

Format

JC-YYYY-XXXXX
PartMeaningValues
JCJob Card prefixFixed
YYYYYear created2024, 2025, 2026…
XXXXXSequential number00001-99999

Examples

CodeMeaning
JC-2026-00001First job card in 2026
JC-2026-00142142nd job card in 2026
JC-2025-056785,678th job card in 2025

Generation Rules

RuleDescription
AutomaticGenerated when job card is created
SequentialIncrements by 1 for each new job card
5-DigitUses 5 digits (higher volume than other codes)
Year ResetResets to 00001 on January 1st
Parent LinkAlways linked to a production order (PRD)

Why 5 Digits?

Job cards are created more frequently than other records. A single production order may generate multiple job cards (one per size, per batch, etc.), so the numbering supports up to 99,999 per year.

PO - Purchase Order Code

Format

PO-YYYY-XXX
PartMeaningValues
POPurchase Order prefixFixed
YYYYYear created2024, 2025, 2026…
XXXSequential number001-999

Examples

CodeMeaning
PO-2026-001First purchase order in 2026
PO-2026-08888th purchase order in 2026
PO-2025-142142nd purchase order in 2025

Generation Rules

RuleDescription
AutomaticGenerated when PO is created
SequentialIncrements by 1 for each new PO
Year ResetResets to 001 on January 1st
ImmutableCannot be changed after creation
Link OptionalMay link to sample material

SHP - Shipment Code

Format

SHP-YYYY-XXX
PartMeaningValues
SHPShipment prefixFixed
YYYYYear created2024, 2025, 2026…
XXXSequential number001-999

Examples

CodeMeaning
SHP-2026-001First shipment in 2026
SHP-2026-0077th shipment in 2026
SHP-2025-08989th shipment in 2025

Generation Rules

RuleDescription
AutomaticGenerated when shipment is created
SequentialIncrements by 1 for each new shipment
Year ResetResets to 001 on January 1st
ImmutableCannot be changed after creation
ContainsLinks to production orders being shipped

Code Relationships

FromToRelationship
SampleProduction OrderSample approved → Production order created
SamplePurchase OrderMaterial needed → PO created from sample
Production OrderJob CardOrder split into job cards for production
Production OrderShipmentCompleted orders grouped into shipment

Quick Lookup

By Prefix

PrefixGo To
SMPSamples section
PRDProduction section
JCProduction → Job Cards
POProcurement section
SHPExports section

Finding a Record

  1. Note the code prefix (SMP, PRD, JC, PO, SHP)
  2. Go to the relevant section
  3. Use search or filter by code
  4. Or use global search (Ctrl/Cmd + K)

Common Questions

QuestionAnswer
Can I change a code?No, codes are immutable after creation
What if we exceed 999?System uses 4 digits (0001-9999) automatically
Why do codes reset yearly?Easier to track volume and find records by year
Can codes have gaps?Yes, if records are deleted (rare)
Are codes globally unique?Unique per year per type