MULTCUR_TNDR_VW(SQL View) |
Index Back |
---|---|
Multiple Currencies by Tender |
SELECT a.business_unit , a.cashier_office , a.current_bus_dt , b.tender_key , b.orignl_currency_cd , b.currency_cd , SUM(b.AMOUNT_SF) , SUM(b.orignl_item_amt) FROM PS_CSH_OFF_RECEIPT a , ps_csh_off_rcpt_t b WHERE a.business_unit = b.business_unit AND a.cashier_office = b.cashier_office AND a.receipt_nbr = b.receipt_nbr AND a.ssf_appr_status <> 'V' GROUP BY a.business_unit, a.cashier_office, a.current_bus_dt, b.tender_key, b.orignl_currency_cd, B.currency_cd |
# | 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 | CURRENT_BUS_DT | Date(10) | DATE NOT NULL | Current Business Date |
4 | TENDER_KEY | Character(10) | VARCHAR2(10) NOT NULL | Tender Key |
5 | ORIGNL_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
7 | ITEM_AMT_BASE_CURR | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Converted Item Amount |
8 | ORIGNL_ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount |