SSF_COLLORGSRCH(SQL View) |
Index Back |
---|---|
Ext Org Collection Search Rec |
SELECT DISTINCT A.BUSINESS_UNIT , A.EXT_ORG_ID , B.DESCR FROM PS_COLLECTION_SF A , PS_EXT_ORG_TBL B WHERE A.ORG_PERSON = 'O' AND A.EXT_ORG_ID = B.EXT_ORG_ID AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_EXT_ORG_TBL B1 WHERE B1.EXT_ORG_ID = B.EXT_ORG_ID AND B1.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_SF_NONVW |
2 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL |
External Org ID
Prompt Table: EXT_ORG_TBL |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |