Views [dbo].[PlasticInstrumentCustomer_Legacy]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created3:09:18 PM Tuesday, June 24, 2025
Last Modified3:09:18 PM Tuesday, June 24, 2025
Columns
Name
InstrumentID
CustomerJoinField
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
/**
* Don't use this view directly but instead use PlasticInstrumentCustomer_Synonym.
* PlasticInstrumentCustomer_Synonym will either point to this view or to
* PlasticInstrumentCustomer_XLedger if that is active.
*/

create view [dbo].[PlasticInstrumentCustomer_Legacy]
(
    -- Join to PlasticInstrument.InstrumentID
    InstrumentID,
    -- Join to CustomerInformation_Synonym.CustomerJoinField
    CustomerJoinField
)
as
select
    InstrumentID = PlasticInstrument.InstrumentID,
    CustomerJoinField = PlasticInstrument.CustomerNumber
from PlasticInstrument
GO
GRANT SELECT ON  [dbo].[PlasticInstrumentCustomer_Legacy] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticInstrumentCustomer_Legacy] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticInstrumentCustomer_Legacy] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticInstrumentCustomer_Legacy] TO [MssExec]
GO
Uses
Used By