SSFCREDHSTORGLN(SQL View) |
Index Back |
---|---|
Rel Lang Credit History ViewSSFCREDHSTORGLN is the language record view related to SSF_CREDHST_ORG A related language record enables text fields on a table to be translated into various languages for use in other countries. |
SELECT DISTINCT A.BUSINESS_UNIT , A.EXT_ORG_ID , E.LANGUAGE_CD , E.DESCR FROM PS_CREDIT_HISTORY A , PS_EXT_ORG_TBL B , PS_EXT_ORG_LANG E WHERE A.EXT_ORG_ID > ' ' AND A.EXT_ORG_ID = B.EXT_ORG_ID AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_EXT_ORG_TBL C WHERE C.EXT_ORG_ID = B.EXT_ORG_ID AND C.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND NOT EXISTS ( SELECT 'X' FROM PS_COLLECTION_SF WHERE PS_COLLECTION_SF.BUSINESS_UNIT = A.BUSINESS_UNIT AND PS_COLLECTION_SF.EXT_ORG_ID = A.EXT_ORG_ID AND PS_COLLECTION_SF.COLLECTION_STATUS IN ('A', 'H', 'I')) AND A.EXT_ORG_ID = E.EXT_ORG_ID AND A.EFFDT = E.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |