Views [dbo].[CustomerPrimaryContact_XLedger]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created7:48:55 PM Saturday, February 7, 2026
Last Modified7:48:55 PM Saturday, February 7, 2026
Columns
Name
CustomerJoinField
Contact
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
/**
* Do NOT access this view by this view name.  Instead, use the CustomerPrimaryContact_Synonym which will either
* point to this view or to the CustomerPrimaryContact_Legacy as appropriate for that system.
*/

create view [dbo].[CustomerPrimaryContact_XLedger]
(
    CustomerJoinField,
    Contact
)
as
select
    CustomerJoinField = AccountingCustomer.AccountingCustomerId,
    Contact = AccountingCustomer.Contact
from AccountingCustomer
GO
GRANT SELECT ON  [dbo].[CustomerPrimaryContact_XLedger] TO [MssExec]
GRANT INSERT ON  [dbo].[CustomerPrimaryContact_XLedger] TO [MssExec]
GRANT DELETE ON  [dbo].[CustomerPrimaryContact_XLedger] TO [MssExec]
GRANT UPDATE ON  [dbo].[CustomerPrimaryContact_XLedger] TO [MssExec]
GO
Uses