CONSMR_SVC_LVW2(SQL View) |
Index Back |
---|---|
Consumer Service LanguageConsumer Charge Sheet |
SELECT DISTINCT A.SETID , A.LOCATION , C.LANGUAGE_CD , C.DESCR FROM PS_CONSMR_SRVC_INV A , PS_LOCATION_TBL B , PS_LOCATION_LANG C WHERE A.SETID = B.SETID AND A.LOCATION = B.LOCATION AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_LOCATION_TBL C WHERE C.SETID = B.SETID AND C.LOCATION = B.LOCATION AND C.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND B.SETID = C.SETID AND B.LOCATION = C.LOCATION |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |