RF_AGR_ENT_VW

(SQL View)
Index Back

Agreement Entitlement View

Agreement Entitlement view (lists related entitlement values based on entitlement ID in agreement)

SELECT A.SETID , A.AGREEMENT_CODE , A.AGR_RENEWAL_NUM , A.ENTITLE_NAME , B.ENTITLE_TYPE , B.ENTITLE_MINUTES , B.SERVICE_LVL_CD FROM PS_RF_AG_HDR_ENTL A , PS_RF_ENTITLEMENTS B WHERE B.SETID = ( SELECT C.SETID FROM PS_SET_CNTRL_REC C WHERE C.SETCNTRLVALUE = A.SETID AND C.RECNAME = 'RF_ENTITLEMENTS') AND A.ENTITLE_NAME = B.ENTITLE_NAME AND B.ENTITLE_TYPE IN ('PPM', 'RESP', 'REST')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
2 AGREEMENT_CODE Character(30) VARCHAR2(30) NOT NULL This field represents the agreement code (name) for an agreement
3 AGR_RENEWAL_NUM Number(4,0) SMALLINT NOT NULL This field represents the agreement renewal number (agreements begin at a value of one and the number is incremented with every renewal)
4 ENTITLE_NAME Character(10) VARCHAR2(10) NOT NULL This field represents the name of the entitlement
5 ENTITLE_TYPE Character(4) VARCHAR2(4) NOT NULL This field represents the type of entitlement
COV=Guaranteed Coverage
PPM=Service Level
RESP=Guaranteed Response
REST=Guaranteed Restore
6 ENTITLE_MINUTES Number(6,0) INTEGER NOT NULL This field represents the number of minutes for the response or restore time of an entitlement
7 SERVICE_LVL_CD Character(4) VARCHAR2(4) NOT NULL This field stores the Service Level Code.
7X24=7X24
ENH=Enhanced
PREF=Preferred
PREM=Premium
STD=Standard