Skip to main content

Outlet Schema

  • File Name: outlet_dump_01.01.parquet
  • Type: Full
  • Schema Version: 01.01
  • Last Updated: 2026-02-26

Description

Contains master data for all outlets (locations) including address information, organizational assignments, sales representatives, ordering configuration, and contact details.

Fields

📋 Includes Common Fields: Client Information, Geographic Information, Audit Fields

Core Location Fields

Column NameData TypeNullableDescription
LocationIdintNOT NULLUnique identifier for the location
Namenvarchar(200)NULLLocation name
Codenvarchar(100)NULLLocation code
ExternalLocationCodenvarchar(250)NULLExternal system location code
Streetnvarchar(150)NULLStreet address line 1
Street2nvarchar(150)NULLStreet address line 2
Street3nvarchar(150)NULLStreet address line 3
Citynvarchar(50)NULLCity name
PostalCodenvarchar(50)NULLPostal/ZIP code
Latitudedecimal(13,6)NOT NULLGeographic latitude coordinate
Longitudedecimal(13,6)NOT NULLGeographic longitude coordinate
IsKeyLocationbitNOT NULLWhether this is a key/strategic location
IsActivebitNOT NULLWhether location is active
IsDeletedtinyintNOT NULLSoft delete flag
TDLinxvarchar(50)NOT NULLTDLinx identifier
BuyerGTINvarchar(50)NOT NULLBuyer Global Trade Item Number
OutletGTINvarchar(50)NOT NULLOutlet Global Trade Item Number
OutletTypeIdintNOT NULLOutlet type identifier
OutletTypevarchar(500)NULLOutlet type display value
LocationTextnvarchar(1000)NULLAdditional location description
PrimaryPhonevarchar(50)NOT NULLPrimary phone number

Ordering & Delivery Fields

Column NameData TypeNullableDescription
ASNToSalesRepbitNOT NULLAdvanced Shipping Notice recipient
IsUseSalesRepRouteToOrderbitNOT NULLWhether to use sales rep route for ordering
IsSkipOrderbitNOT NULLWhether to skip automatic ordering
ScheduledOrderIdintNOT NULLScheduled order identifier
MoVintNOT NULLMinimum Order Value
MoQintNOT NULLMinimum Order Quantity
OrderStatusIdintNOT NULLCurrent order status
RestockScheduleDaysintNOT NULLRestock schedule (days of week)
LastRestockdatetimeNULLLast restock date
LastDeliveryDatedateNULLLast delivery date
LastOrderDatedateNULLLast order date
DeliveryNotesvarchar(250)NOT NULLSpecial delivery instructions
IsCreditHoldbitNOT NULLWhether location is on credit hold

Geographic Fields

Column NameData TypeNullableDescription
TimeZonevarchar(500)NOT NULLTime zone display name
StateIdintNOT NULLState/province identifier
Statenvarchar(50)NOT NULLState/province name
CountryIdintNOT NULLCountry identifier
Countryvarchar(50)NOT NULLCountry name

Client Fields

Column NameData TypeNullableDescription
ClientNamenvarchar(50)NOT NULLName of the client
ClientCodevarchar(10)NOT NULLCode of the client
Currencynvarchar(2000)NULLCurrency code for this location

Organizational Fields

Column NameData TypeNullableDescription
MarketIdintNOT NULLMarket identifier
MarketNamenvarchar(150)NOT NULLMarket name
ChannelIdintNOT NULLChannel/location type identifier (from LocationTypeId)
Channelnvarchar(255)NOT NULLChannel/location type name
ClassificationIdintNOT NULLLocation classification identifier
Classificationnvarchar(200)NOT NULLLocation classification name
DistributorIdintNULLDistributor identifier
DistributorNamenvarchar(100)NULLDistributor name
DistributorGTINnvarchar(50)NULLDistributor Global Trade Item Number

Sales Representative Fields

Column NameData TypeNullableDescription
SalesRepIdintNULLPrimary sales rep ID (from FirstRepId)
PrimarySalesRepnvarchar(255)NULLPrimary sales rep email
SecondarySalesRepEmailnvarchar(255)NULLSecondary sales rep email
SalesModelvarchar(500)NULLSales model type
LocationRoutenvarchar(255)NULLLocation's master route name
PreSellerRoutenvarchar(255)NULLPre-seller route name

Customer & Contact Fields

Column NameData TypeNullableDescription
CustomerNamenvarchar(50)NOT NULLCustomer type name
KeyAccountIdintNOT NULLKey account identifier
KeyAccountvarchar(500)NULLKey account type display value
StoreOwnervarchar(200)NOT NULLStore owner name
LocationSalesRepvarchar(200)NOT NULLLocation-specific sales rep
InfieldContactPersonIdintNOT NULLIn-field contact person ID
InfieldContactPersonEmailnvarchar(255)NULLIn-field contact person email
InfieldContactPersonvarcharNULLIn-field contact person full name
PrimaryContactIdintNULLPrimary contact identifier
FirstNamenvarchar(100)NOT NULLPrimary contact first name
LastNamenvarchar(100)NOT NULLPrimary contact last name

Audit Fields

Column NameData TypeNullableDescription
CreatedByUserIdintNOT NULLUser ID who created the record
CreatedOndatetimeNOT NULLRecord creation timestamp (UTC)
CreatedByUservarchar(50)NOT NULLUsername who created the record
ModifiedByUserIdintNOT NULLUser ID who last modified the record
ModifiedOndatetimeNOT NULLRecord modification timestamp (UTC)
ModifiedByUservarchar(50)NOT NULLUsername who last modified the record