
[dbo].[InvoicedHeaderAlternateCustomer_Legacy]
create view [dbo].[InvoicedHeaderAlternateCustomer_Legacy]
(
IHPriKey,
CustomerJoinField,
CustomerAddressJoinField
)
as
select
IHPriKey = InvoicedHeader.IHPriKey,
CustomerJoinField = InvoicedHeader.AlternateCustomerNumber,
CustomerAddressJoinField = InvoicedHeader.AlternateCustomerAddressCode
from InvoicedHeader
GO
GRANT SELECT ON [dbo].[InvoicedHeaderAlternateCustomer_Legacy] TO [MssExec]
GRANT INSERT ON [dbo].[InvoicedHeaderAlternateCustomer_Legacy] TO [MssExec]
GRANT DELETE ON [dbo].[InvoicedHeaderAlternateCustomer_Legacy] TO [MssExec]
GRANT UPDATE ON [dbo].[InvoicedHeaderAlternateCustomer_Legacy] TO [MssExec]
GO