CA_BU_SP_NONVW(SQL View) |
Index Back |
---|---|
Sec Vw - Contracts Bus Unit |
SELECT C.CONTRACT_NUM , A.BUSINESS_UNIT , A.DESCR , A.DESCRSHORT , C.SOLD_TO_CUST_ID FROM PS_BUS_UNIT_TBL_FS A , PS_BUS_UNIT_TBL_CA B , PS_CA_CONTR_HDR C , PS_CUST_SLD_VW D , PS_SET_CNTRL_GROUP S WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND C.SOLD_TO_CUST_ID = D.CUST_ID AND C.CA_RQST_SRC <> 'OND' AND S.REC_GROUP_ID = ( SELECT REC_GROUP_ID FROM PS_REC_GROUP_REC WHERE RECNAME = 'CUSTOMER') AND D.SETID = S.SETID AND C.BUSINESS_UNIT = S.SETCNTRLVALUE |
# | 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
Prompt Table: BUS_UNIT_TBL_FS |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
5 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Sold To Customer
Prompt Table: CUST_SLD_VW |