Constants

System Constants

Configure system-wide constants and settings used throughout the application. Changes to these values will affect various calculations and processes.

Constant Name Value Data Type
Urgent Fence
Number of days after purchase time that defines the end of the urgent planning window for both RT and DTC channels. Orders within this timeframe require urgent procurement.
int
Arrival Buffer
Number of days before the OOS week that inventory must arrive. Applied uniformly across all products and channels.
int
Default RT Shelf Life Requirement
Default shelf life requirement (in days) for RT demand when not specified in customer_emails
int
Transit Days to Retailer
Number of transit days from our warehouse to retailer DC. Added to shelf_life_req to account for transit time.
int
DTC Shelf Life Requirement
Minimum shelf life (in days) required for DTC products at moment of sale.
int
Supplier Run Length
Maximum number of days required for a supplier to complete a production run.
int
Dwell Time
Number of days products remain at the supplier's facility after production ends before pickup.
int
Supplier Stale Allowance
Allowance for days subtracted from shelf life to account for product aging at the supplier before pickup.
int
SE Purchased Through Week
Date through which seasonal (SB FM, RT SE) products have been purchased.
date
Bulk Buffer Percentage
Extra quantity percentage added to bulk products, to account for variability in units per case.
float
DTC Forecast End
End date for DTC demand forecasting. DTC demand beyond this date is excluded from inventory planning and purchase order calculations.
date
RT Forecast End
End date for Retail (RT) demand forecasting. RT demand beyond this date is excluded from inventory planning and purchase order calculations.
date