Tables [dbo].[XLedgerCustomerPaymentTerms]
Properties
PropertyValue
Row Count (~)0
Created9:18:42 AM Wednesday, October 15, 2025
Last Modified9:18:43 AM Wednesday, October 15, 2025
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XLedgerCustomerPaymentTerms: XLedgerCustomerPaymentTermsIdXLedgerCustomerPaymentTermsIdint4
No
1 - 1
Cluster Key IX_XLedgerCustomerPaymentTerms_ExternalDbId: ExternalDbIdExternalDbIdbigint8
No
Foreign Keys FK_XLedgerCustomerPaymentTerms_AccountingCustomerPaymentTerms: [dbo].[AccountingCustomerPaymentTerms].AccountingCustomerPaymentTermsFidAccountingCustomerPaymentTermsFidint4
No
CreatedOndatetimeoffset10
No
LastImportedOndatetimeoffset10
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XLedgerCustomerPaymentTerms: XLedgerCustomerPaymentTermsIdPK_XLedgerCustomerPaymentTermsXLedgerCustomerPaymentTermsId
Yes
Cluster Key IX_XLedgerCustomerPaymentTerms_ExternalDbId: ExternalDbIdIX_XLedgerCustomerPaymentTerms_ExternalDbIdExternalDbId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XLedgerCustomerPaymentTerms_AccountingCustomerPaymentTermsAccountingCustomerPaymentTermsFid->[dbo].[AccountingCustomerPaymentTerms].[AccountingCustomerPaymentTermsId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XLedgerCustomerPaymentTerms]
(
[XLedgerCustomerPaymentTermsId] [int] NOT NULL IDENTITY(1, 1),
[ExternalDbId] [bigint] NOT NULL,
[AccountingCustomerPaymentTermsFid] [int] NOT NULL,
[CreatedOn] [datetimeoffset] NOT NULL,
[LastImportedOn] [datetimeoffset] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerCustomerPaymentTerms] ADD CONSTRAINT [PK_XLedgerCustomerPaymentTerms] PRIMARY KEY NONCLUSTERED  ([XLedgerCustomerPaymentTermsId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerCustomerPaymentTerms] ADD CONSTRAINT [IX_XLedgerCustomerPaymentTerms_ExternalDbId] UNIQUE CLUSTERED  ([ExternalDbId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerCustomerPaymentTerms] ADD CONSTRAINT [FK_XLedgerCustomerPaymentTerms_AccountingCustomerPaymentTerms] FOREIGN KEY ([AccountingCustomerPaymentTermsFid]) REFERENCES [dbo].[AccountingCustomerPaymentTerms] ([AccountingCustomerPaymentTermsId])
GO
GRANT SELECT ON  [dbo].[XLedgerCustomerPaymentTerms] TO [MssExec]
GRANT INSERT ON  [dbo].[XLedgerCustomerPaymentTerms] TO [MssExec]
GRANT DELETE ON  [dbo].[XLedgerCustomerPaymentTerms] TO [MssExec]
GRANT UPDATE ON  [dbo].[XLedgerCustomerPaymentTerms] TO [MssExec]
GO
Uses
Used By