CONSMR_SRVC_VW2(SQL View) |
Index Back |
---|---|
Consumer ServiceConsumer Charge Sheet |
SELECT DISTINCT A.SETID , A.LOCATION , B.DESCR FROM PS_CONSMR_SRVC_INV A , PS_LOCATION_TBL B , PS_SET_CNTRL_REC D WHERE D.RECNAME = 'LOCATION_TBL' AND D.SETCNTRLVALUE = A.SETID AND D.SETID = B.SETID AND A.LOCATION = B.LOCATION AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_LOCATION_TBL C WHERE C.SETID = D.SETID AND C.LOCATION = B.LOCATION AND C.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' |
# | 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |