← Hub -- Document Number Generator
v10.0
01 Overview GFS numbering system for documents, lots, and SKUs
8Document Types
3Generators
2Facilities
4NS Record Types

Every GFS document, lot code, and SKU follows a deterministic numbering convention. This tool generates properly formatted identifiers for all document types, production lot codes, and product SKUs. All generated numbers follow the pattern established in the GFS Operations Manual and are compatible with NetSuite record fields.

Documents: GFS-{TYPE}-{YYYY}-{SEQ}
Lot Codes: {YYYY}-{JJJ}-{FF}-{LL}
SKUs: GFS-{CAT}-{SUB}-{SIZE}{PACK}
■ All identifiers are deterministic and NetSuite-compatible. No duplicates within a calendar year.
02 Document Number Generator Generate formatted GFS document numbers with sequential counters
Generated Document Number
GFS-PO-2026-0001
GFS prefix + Purchase Order + Year 2026 + Sequence 0001
GFS Company prefix
PO Document type
2026 Calendar year
0001 4-digit sequence
Generation History
No documents generated yet. Numbers appear here as you copy them.
■ Sequence resets to 0001 at the start of each calendar year. Department suffix is optional.
03 Lot Code Generator YYYY-JJJ-FF-LL format for production tracking
Generated Lot Code
2026-138-01-01
Year 2026 + Julian Day 138 + Facility 01 (Edgewood, NY) + Line 01
YYYY 4-digit year
JJJ Julian day (001-366)
FF Facility code
LL Production line
Julian Day Reference
MonthStart DayEnd DayDays
January00103131
February03205928
March06009031
April09112030
May12115131
June15218130
July18221231
August21324331
September24427330
October27430431
November30533430
December33536531
■ Julian day calculation accounts for leap years automatically. Lot codes are traceable to facility, line, and date.
04 SKU Generator Structured product identifiers for inventory and NetSuite
Generated SKU
GFS-CHZ-CDD-40L-SNG
Cheese + Cheddar + 40 LB + Single
GFS Company prefix
CAT 3-letter category
SUB 3-letter sub-type
SIZE Weight/volume code
PACK Pack configuration
Category & Sub-Type Reference
CategoryCodeSub-Types
CheeseCHZCDD (Cheddar), MOZ (Mozzarella), SWS (Swiss), PRV (Provolone), AMR (American), PPJ (Pepper Jack), GDA (Gouda), CRM (Cream Cheese)
DairyDRYBTR (Butter), MLK (Milk), CRM (Cream), YGT (Yogurt), WHP (Whey Protein), NDM (Non-Fat Dry Milk)
EggsEGGSHL (Shell), LQD (Liquid), FRZ (Frozen), PWD (Powder), WHT (Whites), YLK (Yolks)
FrozenFRZPCK (Pancakes), WFL (Waffles), FRT (French Toast), PTY (Patties), NGT (Nuggets), VEG (Vegetables)
Oils & FatsOILSOY (Soybean), CAN (Canola), OLV (Olive), PLM (Palm), CRN (Corn), BLD (Blend)
GrainsGRNFLR (Flour), RCE (Rice), OAT (Oats), CRN (Corn), WHT (Wheat), BRD (Bread)
BeveragesBEVJCE (Juice), WTR (Water), TEA (Tea), CFE (Coffee), MIX (Mix), CON (Concentrate)
SaucesSAUTOM (Tomato), BBQ (BBQ), HOT (Hot Sauce), SOY (Soy), RNC (Ranch), MST (Mustard)
PackagingPKGBOX (Boxes), BAG (Bags), WRP (Wrap), LBL (Labels), PLT (Pallets), LNR (Liners)
■ SKUs are unique across categories. Sub-type codes map directly to NetSuite item records.
05 Data Dictionary Complete reference for every GFS document type and numbering convention
Document Type Prefix Format Example Description Generated By Retention
Purchase Order PO GFS-PO-YYYY-#### GFS-PO-2026-0042 Vendor purchase orders for goods and services Procurement / NetSuite 7 years
Invoice INV GFS-INV-YYYY-#### GFS-INV-2026-0318 Customer invoices for delivered goods Finance / NetSuite 7 years
Sales Order SO GFS-SO-YYYY-#### GFS-SO-2026-0155 Customer sales orders (internal) Sales / NetSuite 7 years
Credit Memo CM GFS-CM-YYYY-#### GFS-CM-2026-0009 Customer credit adjustments and returns Finance / NetSuite 7 years
Bill BIL GFS-BIL-YYYY-#### GFS-BIL-2026-0201 Vendor bills received for payment AP / NetSuite 7 years
Journal Entry JE GFS-JE-YYYY-#### GFS-JE-2026-0077 General ledger journal entries Finance / NetSuite Permanent
Letter LTR GFS-LTR-YYYY-#### GFS-LTR-2026-0012 Formal business correspondence Any department 5 years
Memo MEM GFS-MEM-YYYY-#### GFS-MEM-2026-0005 Internal memoranda and directives Management 3 years
Proposal PRO GFS-PRO-YYYY-#### GFS-PRO-2026-0003 Customer proposals and bid responses Sales 5 years
Quote QTE GFS-QTE-YYYY-#### GFS-QTE-2026-0089 Price quotes issued to customers Sales / NetSuite 3 years
Report RPT GFS-RPT-YYYY-#### GFS-RPT-2026-0027 Internal reports, analyses, and KPIs Any department 5 years
Spec Sheet SPC GFS-SPC-YYYY-#### GFS-SPC-2026-0015 Product specification sheets Quality / Sales Active + 3 years
Lot Code LOT YYYY-JJJ-FF-LL 2026-138-01-01 Production lot tracking identifier Manufacturing Product life + 2 years
SKU SKU GFS-CAT-SUB-SIZE-PACK GFS-CHZ-CDD-40L-SNG Product stock keeping unit Operations / NetSuite Permanent
Bill of Lading BOL GFS-BOL-YYYY-#### GFS-BOL-2026-0445 Shipping and transport documents Logistics 7 years
Work Order WO GFS-WO-YYYY-#### GFS-WO-2026-0033 Manufacturing work orders Manufacturing / NetSuite 5 years
Receiving Report RCV GFS-RCV-YYYY-#### GFS-RCV-2026-0112 Goods received at facility Warehouse 5 years
Certificate CRT GFS-CRT-YYYY-#### GFS-CRT-2026-0008 Certificates of analysis, origin, insurance Quality / Compliance Active + 5 years
Audit Report AUD GFS-AUD-YYYY-#### GFS-AUD-2026-0002 Internal and external audit reports Quality / Compliance Permanent
CAPA CAP GFS-CAP-YYYY-#### GFS-CAP-2026-0004 Corrective and preventive action reports Quality Permanent
SOP SOP GFS-SOP-YYYY-#### GFS-SOP-2026-0011 Standard operating procedures Operations / Quality Active + 3 years
License LIC GFS-LIC-YYYY-#### GFS-LIC-2026-0001 Facility and product licenses Compliance Permanent
HACCP Plan HCP GFS-HCP-YYYY-#### GFS-HCP-2026-0001 Hazard analysis critical control point plans Quality / Food Safety Permanent
■ Retention periods follow FDA 21 CFR, USDA, and NY State record-keeping requirements. "Permanent" means retained indefinitely.
06 NetSuite Field Reference Key fields across Customer, Vendor, Item, and Transaction records
Customer Record Fields
Internal ID Label Type Req Default Description
entityidCustomer IDTextYesAutoSystem-generated customer number
companynameCompany NameTextYes--Legal company name
subsidiarySubsidiaryList/RecordYesGFS Inc.Parent subsidiary assignment
emailEmailEmailNo--Primary contact email address
phonePhonePhoneNo--Primary phone number
categoryCategoryList/RecordNo--Customer category (Distributor, Retail, etc.)
termsTermsList/RecordNoNet 30Default payment terms
creditlimitCredit LimitCurrencyNo0.00Maximum credit extended
pricelevelPrice LevelList/RecordNoBase PriceDefault pricing tier
salesrepSales RepList/RecordNo--Assigned sales representative
territoryTerritoryList/RecordNo--Sales territory assignment
custentity_rebate_pctRebate %PercentNo0%Customer-specific rebate percentage
ispersonIs IndividualCheckboxNoFIndividual vs. company customer
isinactiveInactiveCheckboxNoFMarks customer as inactive
Vendor Record Fields
Internal ID Label Type Req Default Description
entityidVendor IDTextYesAutoSystem-generated vendor number
companynameCompany NameTextYes--Vendor legal name
subsidiarySubsidiaryList/RecordYesGFS Inc.Parent subsidiary
emailEmailEmailNo--Primary vendor email
phonePhonePhoneNo--Primary vendor phone
termsTermsList/RecordNoNet 30Default payment terms from vendor
categoryCategoryList/RecordNo--Vendor category (Manufacturer, Broker, etc.)
taxidnumTax IDTextNo--Federal tax identification number
is1099eligible1099 EligibleCheckboxNoFSubject to 1099 reporting
expenseaccountExpense AccountList/RecordNo--Default expense GL account
custentity_vendor_ratingVendor RatingListNo--A/B/C performance rating
commentsCommentsText AreaNo--Internal notes (use this for notes, not messages)
isinactiveInactiveCheckboxNoFMarks vendor as inactive
Item Record Fields
Internal ID Label Type Req Default Description
itemidItem Name/NumberTextYes--SKU or item identifier (GFS-CAT-SUB-SIZE-PACK)
displaynameDisplay NameTextNo--Human-readable product name
subsidiarySubsidiaryList/RecordYesGFS Inc.Subsidiary ownership
itemtypeItem TypeListYesInventoryInventory, Non-Inventory, Service, etc.
departmentDepartment (Brand)List/RecordNo--Brand field -- maps to department in NetSuite
classClassList/RecordNo--Product class or line
upccodeUPC CodeTextNo--Universal product code (barcode)
salesdescriptionSales DescriptionText AreaNo--Description shown on invoices/quotes
purchasedescriptionPurchase DescriptionText AreaNo--Description shown on POs
costPurchase PriceCurrencyNo0.00Default vendor cost
basepriceBase PriceCurrencyNo0.00Standard selling price
weightWeightDecimalNo--Item weight in lbs
weightunitWeight UnitListNolbUnit of weight measurement
unitstypeUnits TypeList/RecordNo--Unit of measure group
cogsaccountCOGS AccountList/RecordNo5000Cost of goods sold GL account
incomeaccountIncome AccountList/RecordNo4000Revenue GL account
custitem_shelf_life_daysShelf Life (Days)IntegerNo--Product shelf life in days from production
custitem_storage_tempStorage TempTextNo--Required storage temperature range
isinactiveInactiveCheckboxNoFMarks item as inactive
Transaction Record Fields (PO / SO / Invoice / Bill)
Internal ID Label Type Req Default Description
tranidTransaction NumberTextYesAutoGFS document number (GFS-PO-YYYY-####)
trandateDateDateYesTodayTransaction date
entityEntityList/RecordYes--Customer (SO/INV) or Vendor (PO/BIL)
subsidiarySubsidiaryList/RecordYesGFS Inc.Subsidiary for this transaction
departmentDepartment (Brand)List/RecordNo--Brand -- maps to department on POs
classClassList/RecordNo--Transaction classification
locationLocationList/RecordNo--Facility / warehouse location
termsTermsList/RecordNoFrom EntityPayment terms
duedateDue DateDateNoCalculatedPayment due date (from terms)
memoMemoTextNo--Transaction memo / reference
statusStatusListNoPendingTransaction workflow status
shipmethodShip MethodList/RecordNo--Shipping carrier and method
shipdateShip DateDateNo--Expected or actual ship date
custbody_lot_codeLot CodeTextNo--Associated lot code (YYYY-JJJ-FF-LL)
custbody_bol_numberBOL NumberTextNo--Bill of lading reference
totalTotalCurrencyNoCalculatedTransaction total amount
■ Internal IDs match NetSuite SuiteScript 2.0 field identifiers. "Brand" maps to the department field on POs and items. Use comments (not messages) for notes on vendor/entity records.
← Back to Hub · GFS Design System v10.0 · Global Food Solutions, Inc. · 131 Heartland Blvd, Edgewood, NY 11717