Tables [dbo].[XLedgerAuthorityTypeObjectValueMap]
Properties
PropertyValue
HeapYes
Row Count (~)0
Created1:33:26 PM Thursday, March 13, 2025
Last Modified1:33:26 PM Thursday, March 13, 2025
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
XLedgerAuthorityTypeObjectValueMapIdint4
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
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 [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