Tables [dbo].[XLedgerAuthorityTypeObjectValueMap]
Properties
PropertyValue
Row Count (~)0
Created12:01:02 PM Thursday, July 24, 2025
Last Modified12:01:12 PM Thursday, July 24, 2025
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_XLedgerAuthorityTypeObjectValueMap: XLedgerAuthorityTypeObjectValueMapIdXLedgerAuthorityTypeObjectValueMapIdint4
No
1 - 1
Foreign Keys FK_XLedgerAuthorityTypeObjectValueMap_AuthorityTypes: [dbo].[AuthorityTypes].AuthorityTypeFIDIndexes IX_XLedgerAuthorityTypeObjectValueMap_MoveGroupFID_XLedgerAuthorityTypeObjectValueFID: AuthorityTypeFID\XLedgerAuthorityTypeObjectValueFIDAuthorityTypeFIDint4
No
Foreign Keys FK_XLedgerAuthorityTypeObjectValueMap_XLedgerAuthorityTypeObjectValue: [dbo].[XLedgerAuthorityTypeObjectValue].XLedgerAuthorityTypeObjectValueFIDIndexes IX_XLedgerAuthorityTypeObjectValueMap_MoveGroupFID_XLedgerAuthorityTypeObjectValueFID: AuthorityTypeFID\XLedgerAuthorityTypeObjectValueFIDIndexes IX_XLedgerAuthorityTypeObjectValueMap_XLedgerAuthorityTypeObjectValueFID: XLedgerAuthorityTypeObjectValueFIDXLedgerAuthorityTypeObjectValueFIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_XLedgerAuthorityTypeObjectValueMap: XLedgerAuthorityTypeObjectValueMapIdPK_XLedgerAuthorityTypeObjectValueMapXLedgerAuthorityTypeObjectValueMapId
Yes
IX_XLedgerAuthorityTypeObjectValueMap_MoveGroupFID_XLedgerAuthorityTypeObjectValueFIDAuthorityTypeFID, XLedgerAuthorityTypeObjectValueFID
Yes
IX_XLedgerAuthorityTypeObjectValueMap_XLedgerAuthorityTypeObjectValueFIDXLedgerAuthorityTypeObjectValueFID
Foreign Keys Foreign Keys
NameColumns
FK_XLedgerAuthorityTypeObjectValueMap_AuthorityTypesAuthorityTypeFID->[dbo].[AuthorityTypes].[AuthPriKey]
FK_XLedgerAuthorityTypeObjectValueMap_XLedgerAuthorityTypeObjectValueXLedgerAuthorityTypeObjectValueFID->[dbo].[XLedgerAuthorityTypeObjectValue].[XLedgerAuthorityTypeObjectValueId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XLedgerAuthorityTypeObjectValueMap]
(
[XLedgerAuthorityTypeObjectValueMapId] [int] NOT NULL IDENTITY(1, 1),
[AuthorityTypeFID] [int] NOT NULL,
[XLedgerAuthorityTypeObjectValueFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerAuthorityTypeObjectValueMap] ADD CONSTRAINT [PK_XLedgerAuthorityTypeObjectValueMap] PRIMARY KEY CLUSTERED  ([XLedgerAuthorityTypeObjectValueMapId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerAuthorityTypeObjectValueMap] ADD CONSTRAINT [IX_XLedgerAuthorityTypeObjectValueMap_MoveGroupFID_XLedgerAuthorityTypeObjectValueFID] UNIQUE NONCLUSTERED  ([AuthorityTypeFID], [XLedgerAuthorityTypeObjectValueFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_XLedgerAuthorityTypeObjectValueMap_XLedgerAuthorityTypeObjectValueFID] ON [dbo].[XLedgerAuthorityTypeObjectValueMap] ([XLedgerAuthorityTypeObjectValueFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerAuthorityTypeObjectValueMap] ADD CONSTRAINT [FK_XLedgerAuthorityTypeObjectValueMap_AuthorityTypes] FOREIGN KEY ([AuthorityTypeFID]) REFERENCES [dbo].[AuthorityTypes] ([AuthPriKey])
GO
ALTER TABLE [dbo].[XLedgerAuthorityTypeObjectValueMap] ADD CONSTRAINT [FK_XLedgerAuthorityTypeObjectValueMap_XLedgerAuthorityTypeObjectValue] FOREIGN KEY ([XLedgerAuthorityTypeObjectValueFID]) REFERENCES [dbo].[XLedgerAuthorityTypeObjectValue] ([XLedgerAuthorityTypeObjectValueId])
GO
GRANT SELECT ON  [dbo].[XLedgerAuthorityTypeObjectValueMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XLedgerAuthorityTypeObjectValueMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XLedgerAuthorityTypeObjectValueMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XLedgerAuthorityTypeObjectValueMap] TO [MssExec]
GO
Uses