CA_CNTRCTSR_VW(SQL View) |
Index Back |
---|---|
My Contract Search View |
SELECT DISTINCT CA.OPRID , HDR.BUSINESS_UNIT , HDR.CONTRACT_NUM , HDR.DESCR , HDR.SOLD_TO_CUST_ID , CUST.NAME1 , HDR.CA_STATUS , HDR.CA_PROC_STATUS , HDR.CONTRACT_TYPE , HDR.CA_RQST_SRC , HDR.REGION_CD , HDR.CONTRACT_ADMIN , HDR.MAST_CONTR_ID FROM PS_CA_CONTR_HDR HDR , PS_CA_OPRID_CONTR CA , PS_CUST_SLD_VW CUST , PS_SET_CNTRL_REC REC WHERE HDR.SOLD_TO_CUST_ID = CUST.CUST_ID AND HDR.BUSINESS_UNIT = REC.SETCNTRLVALUE AND REC.RECNAME ='CUSTOMER' AND REC.SETID = CUST.SETID AND HDR.CA_RQST_SRC <> 'OND' AND CA.CONTRACT_NUM = HDR.CONTRACT_NUM |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CA.BUSINESS_UNIT Prompt Table: SP_BU_CA_NONVW |
3 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Sold To Customer
Prompt Table: CUST_SLD_VW |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | CA_STATUS | Character(24) | VARCHAR2(24) NOT NULL |
Contract Status
Prompt Table: CA_STATUS_VW |
8 | 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 |
9 | CONTRACT_TYPE | Character(15) | VARCHAR2(15) NOT NULL |
Contract Type
Prompt Table:
CA_TYPE_TBL
|
10 | CA_RQST_SRC | Character(3) | VARCHAR2(3) NOT NULL |
Contract Classification
FED=Federal Reimbursable Agreement GEN=Generic Application GOV=Government INT=Internal OND=CRM Field Services On Demand STD=Standard |
11 | 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.
Prompt Table:
CA_REGION_CD_VW
|
12 | CONTRACT_ADMIN | Character(40) | VARCHAR2(40) NOT NULL |
Contract Administrator defined on CABU.
Prompt Table: MEMBER_VW |
13 | MAST_CONTR_ID | Character(25) | VARCHAR2(25) NOT NULL |
Master Contract #
Prompt Table: CA_MASTER_VW |