CSHBDTNDRVWLNG(SQL View) |
Index Back |
---|---|
Bus Dt Cashier Tender View |
SELECT a.business_unit , a.cashier_office , a.business_date , a.cashier , a.tender_key ,b.language_cd , b.descr FROM ps_csh_bd_csh_open a , ps_TENDER_KEY_LNG b WHERE a.business_unit = b.business_unit AND a.tender_key = b.tender_key AND b.effdt = ( SELECT MAX (c.effdt) FROM ps_TENDER_KEY_LNG c ,PS_TENDER_KEY_TBL d WHERE b.business_unit = c.business_unit AND b.tender_key = d.tender_key AND c.effdt <= %CurrentDateIn AND d.eff_status = 'A' AND b.BUSINESS_UNIT=d.BUSINESS_UNIT AND b.EFFDT=d.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | CASHIER_OFFICE | Character(8) | VARCHAR2(8) NOT NULL | Cashier's Office |
3 | BUSINESS_DATE | Date(10) | DATE NOT NULL | Business Date |
4 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
5 | TENDER_KEY | Character(10) | VARCHAR2(10) NOT NULL | Tender Key |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |