Views [dbo].[CustomerInformationArcReport_Legacy]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created6:57:31 AM Friday, September 12, 2025
Last Modified6:57:31 AM Friday, September 12, 2025
Columns
Name
CustomerNumber
CustomerName
OnHold
NoCreditFlag
CreditLimit
Inactive
CustomerClass
Address
City
State
CustomerId
CustomerJoinField
Hold
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
/**
* Do NOT access this view by this view name.  Instead, use the CustomerInformationArcReport synonym which will either
* point to this view or to the CustomerInformationArcReport_XLedger as appropriate for that system.
*/

create view [dbo].[CustomerInformationArcReport_Legacy]
(
    CustomerNumber,
    CustomerName,
    OnHold,
    NoCreditFlag,
    CreditLimit,
    Inactive,
    CustomerClass,
    [Address],
    City,
    [State],
    CustomerId,
    CustomerJoinField,
    Hold
)
as
select
    CustomerNumber = Customer.CUSTNMBR,
    CustomerName = Customer.CUSTNAME,
    OnHold = case
        when Customer.HOLD = 1 and Customer.INACTIVE = 1 then 'On Hold, Inactive'
        when Customer.HOLD = 1 then 'On Hold'
        when Customer.INACTIVE = 1 then 'Inactive'
        else ''
    end,
    NoCreditFlag = convert( bit, case when Customer.CRLMTTYP = 0 then 1 else 0 end ),
    CreditLimit = convert( money, Customer.CRLMTAMT ),
    Inactive = convert( bit, Customer.INACTIVE ),
    CustomerClass = Customer.CUSTCLAS,
    [Address] = Customer.[Address1],
    City = Customer.City,
    [State] = Customer.[State],
    CustomerId = convert( int, null ),
    CustomerJoinField = Customer.CUSTNMBR,
    Hold = convert( bit, Customer.HOLD )
from RM00101_Synonym as Customer
GO
GRANT SELECT ON  [dbo].[CustomerInformationArcReport_Legacy] TO [MssExec]
GRANT INSERT ON  [dbo].[CustomerInformationArcReport_Legacy] TO [MssExec]
GRANT DELETE ON  [dbo].[CustomerInformationArcReport_Legacy] TO [MssExec]
GRANT UPDATE ON  [dbo].[CustomerInformationArcReport_Legacy] TO [MssExec]
GO
Uses
Used By