﻿CREATE TABLE [dbo].[RouteMaster]
(
	[BranchCode] VARCHAR(12) NOT NULL, 
    [ItemNumber] VARCHAR(25) NOT NULL, 
    [RoutingType] VARCHAR(3) NOT NULL, 
    [SequenceNumber] DECIMAL(7, 2) NOT NULL, 
	[FunctionCode] VARCHAR(15) NULL,
	[WorkCenterCode] VARCHAR(12) NULL,
    [StartDate] DATETIME NOT NULL, 
    [EndDate] DATETIME NULL,
	[LastUpdateDT] DATETIME NOT NULL,
	CONSTRAINT [PK_RouteMaster] PRIMARY KEY CLUSTERED([BranchCode], [ItemNumber], [RoutingType], [SequenceNumber], [StartDate])
)

GO
