CA_RNW_LNK_VW

(SQL View)
Index Back

Renewable line linked to Cycle


SELECT CD.CONTRACT_NUM , CD.CONTRACT_LINE_NUM , CD.CA_LINE_STATUS , CD.PRODUCT_ID , CD.GROSS_AMT , CD.CURRENCY_CD , CD.START_DT , CD.END_DT , CD.NOT_TO_BE_RENEWED , CD.RENEWAL_ACTION , CD.REVIEW_TIMING , CD.RNW_PKG_ID , CD.RNW_CYCLE_NBR , CD.SOURCE_RNW_PKG_ID , C.RNW_HOLD_CYCLE , C.HOLD_RSN , C.RNW_CYCLE_STATUS , C.RNW_CYCLE_START_DT , C.RENEWAL_ACTION , B.REVIEW_TIMING_OPT , B.REVIEW_TIMING , HDR.BUSINESS_UNIT , HDR.SOLD_TO_CUST_ID , CD.PRODUCT_GROUP , HDR.CONTRACT_TYPE FROM PS_CA_DETAIL CD , PS_CA_CONTR_HDR HDR , PS_CA_RNW_CYCLE C , PS_BUS_UNIT_TBL_CA B WHERE HDR.CA_PROC_STATUS = 'A' AND CD.CONTRACT_NUM = HDR.CONTRACT_NUM AND CD.RENEWABLE = 'Y' AND CD.CA_LINE_STATUS IN ('A' , 'C' ,'P') AND CD.CHG_STATUS NOT IN ('X','P') AND C.RNW_PKG_ID = CD.RNW_PKG_ID AND C.RNW_CYCLE_NBR = CD.RNW_CYCLE_NBR AND B.BUSINESS_UNIT = HDR.BUSINESS_UNIT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
2 CONTRACT_LINE_NUM Number(3,0) SMALLINT NOT NULL Contract Line Num
3 CA_LINE_STATUS Character(1) VARCHAR2(1) NOT NULL Obligation status
A=Active
C=Cancelled
P=Pending
R=Renewed
4 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
5 GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Invoice Amount
6 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
7 START_DT Date(10) DATE Start Date
8 END_DT Date(10) DATE End Date
9 NOT_TO_BE_RENEWED Character(1) VARCHAR2(1) NOT NULL Not To Be Renewed

Y/N Table Edit

10 RENEWAL_ACTION Character(4) VARCHAR2(4) NOT NULL Renewal Action
AUTO=Automatic
MANL=Manual
11 REVIEW_TIMING Number(3,0) SMALLINT NOT NULL Review Timing
12 RNW_PKG_ID Character(10) VARCHAR2(10) NOT NULL PSIRS-KK
13 RNW_CYCLE_NBR Number(6,0) INTEGER NOT NULL PSIRS-KK
14 SOURCE_RNW_PKG_ID Character(10) VARCHAR2(10) NOT NULL PSIRS-KK
15 RNW_HOLD_CYCLE Character(1) VARCHAR2(1) NOT NULL Hold Cycle

Y/N Table Edit

16 HOLD_RSN Character(4) VARCHAR2(4) NOT NULL Hold Reason
17 RNW_CYCLE_STATUS Character(4) VARCHAR2(4) NOT NULL PSIRS-KK
DON=Done
PND=Pending
RDY=Ready
18 RNW_CYCLE_START_DT Date(10) DATE PSIRS-KK
19 CYC_RENEWAL_ACTION Character(4) VARCHAR2(4) NOT NULL Renewal Cycle Renewal Action
AUTO=Automatic
MANL=Manual
20 REVIEW_TIMING_OPT Character(1) VARCHAR2(1) NOT NULL Review Timing Option
C=Control
D=Default
21 REVIEW_TIMING_DAYS Number(3,0) SMALLINT NOT NULL Review Timing
22 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
23 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
24 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL Product Group
25 CONTRACT_TYPE Character(15) VARCHAR2(15) NOT NULL Contract Type