Tables [dbo].[POShipmentDetailSourceLinks]
PropertyValue
Row Count (~)0
Created12:58:34 AM Thursday, March 21, 2019
Last Modified1:13:26 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_POShipmentDetailSourceLinks: ShipmentDetailSourceLinkIDShipmentDetailSourceLinkIDint4
False
1 - 1
Foreign Keys FK_POShipmentDetailSourceLinks_ShipmentID_POShipments: [dbo].[POShipments].ShipmentIDShipmentIDint4
False
POShipmentDetailIDint4
False
Foreign Keys FK_POShipmentDetailSourceLinks_SourcePOShipmentDetailID_POShipmentDetails: [dbo].[POShipmentDetails].SourcePOShipmentDetailIDSourcePOShipmentDetailIDint4
False
Foreign Keys FK_POShipmentDetailSourceLinks_SourcePOShipmentDetailBinID_POShipmentDetailBins: [dbo].[POShipmentDetailBins].SourcePOShipmentDetailBinIDSourcePOShipmentDetailBinIDint4
True
QuantityReverseddecimal(18,6)9
False
CreateDatedatetime8
False
(getdate())
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_POShipmentDetailSourceLinks: ShipmentDetailSourceLinkIDPK_POShipmentDetailSourceLinksShipmentDetailSourceLinkID
True
80
NameColumns
FK_POShipmentDetailSourceLinks_ShipmentID_POShipmentsShipmentID->[dbo].[POShipments].[ShipmentID]
FK_POShipmentDetailSourceLinks_SourcePOShipmentDetailBinID_POShipmentDetailBinsSourcePOShipmentDetailBinID->[dbo].[POShipmentDetailBins].[POShipmentDetailBinID]
FK_POShipmentDetailSourceLinks_SourcePOShipmentDetailID_POShipmentDetailsSourcePOShipmentDetailID->[dbo].[POShipmentDetails].[POShipmentDetailID]
CREATE TABLE [dbo].[POShipmentDetailSourceLinks]
(
[ShipmentDetailSourceLinkID] [int] NOT NULL IDENTITY(1, 1),
[ShipmentID] [int] NOT NULL,
[POShipmentDetailID] [int] NOT NULL,
[SourcePOShipmentDetailID] [int] NOT NULL,
[SourcePOShipmentDetailBinID] [int] NULL,
[QuantityReversed] [decimal] (18, 6) NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_POShipmentDetailsourceLinks_CreateDate] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[POShipmentDetailSourceLinks] ADD CONSTRAINT [PK_POShipmentDetailSourceLinks] PRIMARY KEY CLUSTERED  ([ShipmentDetailSourceLinkID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[POShipmentDetailSourceLinks] ADD CONSTRAINT [FK_POShipmentDetailSourceLinks_ShipmentID_POShipments] FOREIGN KEY ([ShipmentID]) REFERENCES [dbo].[POShipments] ([ShipmentID])
GO
ALTER TABLE [dbo].[POShipmentDetailSourceLinks] ADD CONSTRAINT [FK_POShipmentDetailSourceLinks_SourcePOShipmentDetailBinID_POShipmentDetailBins] FOREIGN KEY ([SourcePOShipmentDetailBinID]) REFERENCES [dbo].[POShipmentDetailBins] ([POShipmentDetailBinID])
GO
ALTER TABLE [dbo].[POShipmentDetailSourceLinks] ADD CONSTRAINT [FK_POShipmentDetailSourceLinks_SourcePOShipmentDetailID_POShipmentDetails] FOREIGN KEY ([SourcePOShipmentDetailID]) REFERENCES [dbo].[POShipmentDetails] ([POShipmentDetailID])
GO