Tables [dbo].[XLedgerSupplier]
Properties
PropertyValue
Row Count (~)0
Created9:07:23 AM Friday, November 22, 2024
Last Modified9:07:23 AM Friday, November 22, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XLedgerSupplier: XLedgerSupplierIdCluster Key IX_XLedgerSupplier_ExternalDbId: XLedgerSupplierIdXLedgerSupplierIdint4
No
1 - 1
ExternalDbIdint4
No
Foreign Keys FK_XLedgerSupplier_AccountingVendor: [dbo].[AccountingVendor].AccountingVendorFidAccountingVendorFidint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XLedgerSupplier: XLedgerSupplierIdPK_XLedgerSupplierXLedgerSupplierId
Yes
Cluster Key IX_XLedgerSupplier_ExternalDbId: XLedgerSupplierIdIX_XLedgerSupplier_ExternalDbIdXLedgerSupplierId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XLedgerSupplier_AccountingVendorAccountingVendorFid->[dbo].[AccountingVendor].[AccountingVendorId]
Permissions
TypeActionOwning Principal
GrantInsertMssExec
GrantDeleteMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XLedgerSupplier]
(
[XLedgerSupplierId] [int] NOT NULL IDENTITY(1, 1),
[ExternalDbId] [int] NOT NULL,
[AccountingVendorFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerSupplier] ADD CONSTRAINT [PK_XLedgerSupplier] PRIMARY KEY NONCLUSTERED  ([XLedgerSupplierId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerSupplier] ADD CONSTRAINT [IX_XLedgerSupplier_ExternalDbId] UNIQUE CLUSTERED  ([XLedgerSupplierId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerSupplier] ADD CONSTRAINT [FK_XLedgerSupplier_AccountingVendor] FOREIGN KEY ([AccountingVendorFid]) REFERENCES [dbo].[AccountingVendor] ([AccountingVendorId])
GO
GRANT SELECT ON  [dbo].[XLedgerSupplier] TO [MssExec]
GRANT INSERT ON  [dbo].[XLedgerSupplier] TO [MssExec]
GRANT DELETE ON  [dbo].[XLedgerSupplier] TO [MssExec]
GRANT UPDATE ON  [dbo].[XLedgerSupplier] TO [MssExec]
GO
Uses
Used By