PMTITEMORGVWLNG(SQL View) |
Index Back |
---|---|
Payment Item Org VWPMTITEMORGVWLNG is the related language recordfor the record PMT_ITEM_ORG_VW |
SELECT A.BUSINESS_UNIT ,A.EXT_ORG_ID ,A.PAYMENT_ID_NBR ,Z.LANGUAGE_CD ,G.DESCRSHORT ,Z.DESCR FROM PS_PAYMENT_TBL A ,PS_ITEM_TYPE_LANG Z ,PS_ITEM_SF B ,PS_ITEM_TYPE_TBL C ,PS_BUS_UNIT_TBL_SF D ,PS_TERM_VAL_LANG G WHERE C.SETID=Z.SETID AND C.ITEM_TYPE=Z.ITEM_TYPE AND A.BUSINESS_UNIT=B.BUSINESS_UNIT AND A.COMMON_ID = B.COMMON_ID AND A.SA_ID_TYPE = B.SA_ID_TYPE AND A.PAYMENT_ID_NBR=B.PAYMENT_ID_NBR AND A.BUSINESS_UNIT=D.BUSINESS_UNIT AND A.STRM=G.STRM AND C.SETID=( SELECT E.SETID FROM PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE=D.INSTITUTION AND E.RECNAME='ITEM_TYPE_TBL') AND A.ITEM_TYPE=C.ITEM_TYPE AND C.EFFDT=( SELECT MAX(F.EFFDT) FROM PS_ITEM_TYPE_TBL F ,PS_ITEM_TYPE_LANG Z WHERE f.SETID=Z.SETID AND f.ITEM_TYPE=Z.ITEM_TYPE AND C.SETID=F.SETID AND C.ITEM_TYPE=F.ITEM_TYPE AND F.EFFDT <= %CurrentDateIn AND F.EFF_STATUS='A') GROUP BY A.BUSINESS_UNIT ,A.EXT_ORG_ID ,A.PAYMENT_ID_NBR ,Z.LANGUAGE_CD ,G.DESCRSHORT,Z.DESCR |
# | 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 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
3 | PAYMENT_ID_NBR | Number(12,0) | DECIMAL(12) NOT NULL | Payment ID Nbr |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |