CA_PE_RENEWS_VW(SQL View) |
Index Back |
---|---|
Contract Renewals w/in 30 Days |
SELECT A.CONTRACT_NUM ,B.SOLD_TO_CUST_ID ,C.NAME1 ,A.PRODUCT_ID ,A.END_DT ,B.CA_PROC_STATUS ,C.NAME1 FROM PS_CA_DETAIL A ,PS_CA_CONTR_HDR B ,PS_SET_CNTRL_REC SC ,PS_CUST_SLD_VW C WHERE B.CONTRACT_NUM=A.CONTRACT_NUM AND SC.RECNAME='CUST_SLD_VW' AND SC.SETCNTRLVALUE=B.BUSINESS_UNIT AND C.SETID=SC.SETID AND C.CUST_ID=B.SOLD_TO_CUST_ID AND B.CA_PROC_STATUS='A' AND A.RENEWABLE='Y' AND %DateAdd(A.END_DT,30)>=%CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
2 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
3 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
4 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
5 | END_DT | Date(10) | DATE | End Date |
6 | CA_PROC_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
CA_STATUS is a user defined status field that maps (many to 1) to the contract Processing Status field. Process Status indicates what change processing is available.
A=Active C=Closed P=Pending |
7 | URL | Character(254) | VARCHAR2(254) NOT NULL | Internet URL (Universal Resource Locator) |