CDR_TOTALS_VW(SQL View) |
Index Back |
---|---|
Used to obtain totalsUsed to obtain totals such as total payments, total paid out, non-cash/check payments, non-cash/check paid bout |
SELECT RECPT.BUS_UNIT_TYPE , RECPT.BUSINESS_UNIT , RECPT.DRAWER_ID , RECPT.RECON_ID , RECPT.RECEIPT_STATUS , RECPT.DEPOSIT_BU , RECPT.RECEIPT_NBR , RECPT.CURRENCY_CD , RECPT.ADD_DTTM , PMT.PAYMENT_METHOD_CDR , PMT.CHECK_NBR , PMT.PAYMENT_AMT FROM PS_CDR_RECEIPT RECPT , PS_CDR_RECEIPT_PMT PMT WHERE RECPT.DEPOSIT_BU = PMT.DEPOSIT_BU AND RECPT.RECEIPT_NBR = PMT.RECEIPT_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUS_UNIT_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Business Unit Type
AR=Accounts Receivable OM=Order Management |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | DRAWER_ID | Character(5) | VARCHAR2(5) NOT NULL | Drawer Identificaion |
4 | RECON_ID | Character(15) | VARCHAR2(15) NOT NULL | Reconciliation ID |
5 | RECEIPT_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Receipt Status
CAN=Canceled HLD=Hold NEW=New PRT=Printed REC=Reconciled |
6 | DEPOSIT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the business unit to which a deposit is posted. |
7 | RECEIPT_NBR | Character(15) | VARCHAR2(15) NOT NULL | Receipt Number |
8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
9 | ADD_DTTM | DateTime(26) | TIMESTAMP | Date Time Added |
10 | PAYMENT_METHOD_CDR | Character(3) | VARCHAR2(3) NOT NULL |
Specifies the preferred method of payment by a customer. Examples of payment method are check direct debit and draft.
CC=Credit Card CHK=Check CSH=Cash CV=Corporate Voucher DC=Debit Card PC=Procurement Card |
11 | CHECK_NBR | Character(30) | VARCHAR2(30) NOT NULL | Check Number |
12 | PAYMENT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a customer payment. |