
[dbo].[CustomerEmailInformation_XLedger]
create view [dbo].[CustomerEmailInformation_XLedger]
as
select
CustomerJoinField = AccountingCustomer.AccountingCustomerId,
Email = ltrim( rtrim( AccountingCustomer.Email ) )
from AccountingCustomer
GO
GRANT SELECT ON [dbo].[CustomerEmailInformation_XLedger] TO [MssExec]
GRANT INSERT ON [dbo].[CustomerEmailInformation_XLedger] TO [MssExec]
GRANT DELETE ON [dbo].[CustomerEmailInformation_XLedger] TO [MssExec]
GRANT UPDATE ON [dbo].[CustomerEmailInformation_XLedger] TO [MssExec]
GO