COLLCRITORLVWLN(SQL View) |
Index Back |
---|---|
Collection Criteria Org Role V |
SELECT A.BUSINESS_UNIT , B.SF_SEQ_NO , B.LANGUAGE_CD , D.DESCR_FLAG , B.DESCR_FROM , B.DESCR_TO FROM PS_COLLECTOR_O_SF A , PS_COLLCRITERORGLN B ,PS_COLL_CRITER_ORG D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ROLENAME = D.ROLENAME AND A.BUSINESS_UNIT=D.BUSINESS_UNIT AND A.ROLENAME <> ' ' AND B.BUSINESS_UNIT=D.BUSINESS_UNIT AND B.SF_SEQ_NO=D.SF_SEQ_NO AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_COLLECTOR_O_SF C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.OPRID = C.OPRID AND C.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT Prompt Table: SP_BU_SF_NONVW |
2 | SF_SEQ_NO | Number(3,0) | SMALLINT NOT NULL | Sequence Number |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Description |
5 | DESCR_FROM | Character(30) | VARCHAR2(30) NOT NULL | Description From |
6 | DESCR_TO | Character(30) | VARCHAR2(30) NOT NULL | Description To |