CA_WC_ACTIVT_VW(SQL View) |
Index Back |
---|---|
Contracts Ready for ActivationContracts Ready for Activation WorkCenter Mywork Link |
SELECT DISTINCT HDR.CONTRACT_NUM , HDR.BUSINESS_UNIT , HDR.DESCR , HDR.CA_STATUS , HDR.SOLD_TO_CUST_ID , HDR.REVISED_GROSS , HDR.REVISED_GROSS_REV , HDR.CONTRACT_TOTAL_BIL , HDR.CONTRACT_TOTAL_REV , HDR.CURRENCY_CD , HDR.CONTRACT_ADMIN , HDR.REGION_CD , HDR.CONTRACT_TYPE , DT.START_DT , DT.END_DT , HDR.CONTRACT_SIGN_DT FROM PS_CA_CONTR_HDR HDR , PS_CA_HDR_DT_VW DT WHERE HDR.CONTRACT_NUM=DT.CONTRACT_NUM AND HDR.CA_RQST_SRC <> 'OND' AND HDR.CA_PROC_STATUS ='P' AND EXISTS ( SELECT 'X' FROM PS_CUSTOMER CUST ,PS_SET_CNTRL_GROUP GRP WHERE HDR.SOLD_TO_CUST_ID = CUST.CUST_ID AND HDR.BUSINESS_UNIT = GRP.SETCNTRLVALUE AND GRP.REC_GROUP_ID = 'FS_23' AND GRP.SETID = CUST.SETID AND CUST.CUST_STATUS = 'A' AND CUST.EXP_PENDING = 'N' AND CUST.SOLD_TO_FLG = 'Y') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | CA_STATUS | Character(24) | VARCHAR2(24) NOT NULL | Contract Status |
5 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
6 | REVISED_GROSS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Negotiated Amount |
7 | REVISED_GROSS_REV | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Contract Revenue Amount |
8 | CONTRACT_TOTAL_BIL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Contracts total billing amount |
9 | CONTRACT_TOTAL_REV | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Revenue Amount |
10 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
11 | CONTRACT_ADMIN | Character(40) | VARCHAR2(40) NOT NULL | Contract Administrator defined on CABU. |
12 | REGION_CD | Character(10) | VARCHAR2(10) NOT NULL | Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to. |
13 | CONTRACT_TYPE | Character(15) | VARCHAR2(15) NOT NULL | Contract Type |
14 | START_DT | Date(10) | DATE | Start Date |
15 | END_DT | Date(10) | DATE | End Date |
16 | CONTRACT_SIGN_DT | Date(10) | DATE | Contract Signed |