Tables [dbo].[XLedgerSupplier]
Properties
PropertyValue
Row Count (~)0
Created3:09:14 PM Tuesday, June 24, 2025
Last Modified3:09:19 PM Tuesday, June 24, 2025
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XLedgerSupplier: XLedgerSupplierIdXLedgerSupplierIdint4
No
1 - 1
Cluster Key IX_XLedgerSupplier_ExternalDbId: ExternalDbIdExternalDbIdbigint8
No
Foreign Keys FK_XLedgerSupplier_AccountingVendor: [dbo].[AccountingVendor].AccountingVendorFidAccountingVendorFidint4
No
CreatedOndatetimeoffset10
No
LastImportedOndatetimeoffset10
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XLedgerSupplier: XLedgerSupplierIdPK_XLedgerSupplierXLedgerSupplierId
Yes
Cluster Key IX_XLedgerSupplier_ExternalDbId: ExternalDbIdIX_XLedgerSupplier_ExternalDbIdExternalDbId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XLedgerSupplier_AccountingVendorAccountingVendorFid->[dbo].[AccountingVendor].[AccountingVendorId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XLedgerSupplier]
(
[XLedgerSupplierId] [int] NOT NULL IDENTITY(1, 1),
[ExternalDbId] [bigint] NOT NULL,
[AccountingVendorFid] [int] NOT NULL,
[CreatedOn] [datetimeoffset] NOT NULL,
[LastImportedOn] [datetimeoffset] 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  ([ExternalDbId]) 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