PMT_ITEM_VW_LNG(SQL View) |
Index Back |
---|---|
Payment Item VWPMT_ITEM_VW_LNG is the related language recordfor the record PMT_ITEM_VW |
SELECT DISTINCT a.business_unit ,a.sf_deposit_id ,a.emplid ,a.ext_org_id ,' ' ,a.posted_date ,Z.LANGUAGE_CD ,Z.descr FROM ps_payment_tbl a ,ps_item_sf b ,PS_ITEM_TYPE_TBL c ,ps_bus_unit_tbl_sf d ,PS_ITEM_TYPE_LANG Z 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.sf_deposit_id = b.sf_deposit_id AND b.receipt_nbr = 0 AND a.item_type =c.item_type AND a.business_unit = d.business_unit AND c.setid = ( SELECT e.setid FROM ps_set_cntrl_rec e WHERE e.setcntrlvalue = d.institution AND E.REC_GROUP_ID = 'ITEM TYPES' AND e.recname = 'ITEM_TYPE_TBL') AND c.eff_status = 'A' 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 f.setid = c.setid AND f.item_type = c.item_type AND f.effdt <= %CurrentDateIn) |
# | 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 | SF_DEPOSIT_ID | Character(10) | VARCHAR2(10) NOT NULL | Deposit ID |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
5 | CASHIER_OFFICE | Character(8) | VARCHAR2(8) NOT NULL | Cashier's Office |
6 | TRANS_DT | Date(10) | DATE | Transaction Date |
7 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |