AR_DB_PYMNT_VW(SQL View) |
Index Back |
---|---|
Payments View for Dashboard |
SELECT a.deposit_bu , a.deposit_id , a.payment_id , b.oprid , b.assn_oprid , a.payment_status , a.accounting_dt , a.entry_dt , b.pay_ws_type , COUNT(*) , a.payment_amt , a.payment_currency FROM PS_PAYMENT a , ps_deposit_control b WHERE a.deposit_bu=b.deposit_bu AND a.deposit_id=b.deposit_id GROUP BY a.deposit_bu , a.deposit_id , a.payment_id, b.oprid , b.assn_oprid , a.payment_status, a.accounting_dt , a.entry_dt , b.pay_ws_type , a.payment_amt , a.payment_currency |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | DEPOSIT_BU | Character(5) | VARCHAR2(5) NOT NULL |
Identifies the business unit to which a deposit is posted.
Default Value: OPR_DEF_TBL_AR.DEPOSIT_BU Prompt Table: SP_BUARDE_NONVW |
2 | DEPOSIT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated.
Prompt Table: DEPOSIT_CONTROL |
3 | PAYMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Identifies a customer payment. This is usually a check number but may be some other identifying number. |
4 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
5 | ASSN_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Specifies the operator ID of the person who will enter items in a group. This is used when one person enters the control totals and another person enters the actual transactions. The assigned operator is also the person who processes the group and the person who is shown on group inquiry and processing panels. |
6 | PAYMENT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Payment Status
A=Applied B=Bounced C=Complete E=Identified - Express I=Identified J=Directly Journalled R=Unposted Direct Journal U=Unidentified W=Worksheet |
7 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
8 | ENTRY_DT | Date(10) | DATE | Specifies the date that a group of pending items was entered into the system. This date may be later or the same as the date that the items were received by the organization (See RECEIVED_DT). |
9 | PAY_WS_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Payment Type
C=Credit Card Worksheet E=ePayment Worksheet P=Payment Worksheet |
10 | ITEM_COUNT | Number(5,0) | INTEGER NOT NULL | Item Count |
11 | PAYMENT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a customer payment. |
12 | PAYMENT_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Identifies the currency of a customer payment. This is generally the same as the currency specified for the deposit but it can be different. |