Tables [dbo].[XmlExternalInterfaceShipmentStatusMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created3:42:52 PM Tuesday, May 8, 2012
Last Modified11:13:44 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlExternalInterfaceShipmentStatusMap: XmlExternalInterfaceShipmentStatusMapIDXmlExternalInterfaceShipmentStatusMapIDint4
No
1 - 1
Foreign Keys FK_XmlExternalInterfaceShipmentStatusMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeIndexes IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ShipmentStatus: XmlInterfaceFID\ShipmentStatusFIDXmlInterfaceFIDint4
No
Foreign Keys FK_XmlExternalInterfaceShipmentStatusMap_ShipmentStatus: [dbo].[ShipmentStatus].ShipmentStatusFIDIndexes IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ShipmentStatus: XmlInterfaceFID\ShipmentStatusFIDShipmentStatusFIDint4
No
Indexes IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlExternalInterfaceShipmentStatusMap: XmlExternalInterfaceShipmentStatusMapIDPK_XmlExternalInterfaceShipmentStatusMapXmlExternalInterfaceShipmentStatusMapID
Yes
IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ShipmentStatusXmlInterfaceFID, ShipmentStatusFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlExternalInterfaceShipmentStatusMap_ShipmentStatusShipmentStatusFID->[dbo].[ShipmentStatus].[ShipmentStatusID]
FK_XmlExternalInterfaceShipmentStatusMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
Extended Properties
NameLevel 2 TypeLevel 2 NameValue
DescriptionHolds a shipment status for a particular external interface.
DescriptionCOLUMNExternalCodeCode used to map a vanline between an external interface and mover's suite.
DescriptionCOLUMNXmlExternalInterfaceShipmentStatusMapIDPrimary key of the XmlExternalInterfaceShipmentStatusMap table.
DescriptionCOLUMNXmlInterfaceFIDForeign key to an external interface.
SQL Script
CREATE TABLE [dbo].[XmlExternalInterfaceShipmentStatusMap]
(
[XmlExternalInterfaceShipmentStatusMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[ShipmentStatusFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceShipmentStatusMap] ADD CONSTRAINT [PK_XmlExternalInterfaceShipmentStatusMap] PRIMARY KEY NONCLUSTERED  ([XmlExternalInterfaceShipmentStatusMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceShipmentStatusMap] ADD CONSTRAINT [IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceShipmentStatusMap] ADD CONSTRAINT [IX_XmlExternalInterfaceShipmentStatusMap_XMLInterface_ShipmentStatus] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ShipmentStatusFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceShipmentStatusMap] ADD CONSTRAINT [FK_XmlExternalInterfaceShipmentStatusMap_ShipmentStatus] FOREIGN KEY ([ShipmentStatusFID]) REFERENCES [dbo].[ShipmentStatus] ([ShipmentStatusID])
GO
ALTER TABLE [dbo].[XmlExternalInterfaceShipmentStatusMap] ADD CONSTRAINT [FK_XmlExternalInterfaceShipmentStatusMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlExternalInterfaceShipmentStatusMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlExternalInterfaceShipmentStatusMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlExternalInterfaceShipmentStatusMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlExternalInterfaceShipmentStatusMap] TO [MssExec]
GO
EXEC sp_addextendedproperty N'Description', N'Holds a shipment status for a particular external interface.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceShipmentStatusMap', NULL, NULL
GO
EXEC sp_addextendedproperty N'Description', N'Code used to map a vanline between an external interface and mover''s suite.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceShipmentStatusMap', 'COLUMN', N'ExternalCode'
GO
EXEC sp_addextendedproperty N'Description', N'Primary key of the XmlExternalInterfaceShipmentStatusMap table.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceShipmentStatusMap', 'COLUMN', N'XmlExternalInterfaceShipmentStatusMapID'
GO
EXEC sp_addextendedproperty N'Description', N'Foreign key to an external interface.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceShipmentStatusMap', 'COLUMN', N'XmlInterfaceFID'
GO
Uses