CA_MYREGNCD_VW(SQL View) |
Index Back |
---|---|
Region Code View |
SELECT DISTINCT CA.OPRID ,S.REGION_CD ,S.DESCR FROM PS_REGION_CD S , PS_CA_CONTR_HDR HDR , PS_CA_OPRID_CONTR CA , PS_SET_CNTRL_REC REC WHERE CA.CONTRACT_NUM = HDR.CONTRACT_NUM AND HDR.REGION_CD = S.REGION_CD AND REC.SETCNTRLVALUE = HDR.BUSINESS_UNIT AND REC.RECNAME = 'REGION_CD' AND REC.SETID = S.SETID AND REGION_CD_TYPE = 'CNTR' AND %EffdtCheck(REGION_CD B, S, %currentdatein) |
# | 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 | 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. |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |