AR_PAYMENT_RSP(SQL View) |
Index Back |
---|---|
Item Act - Pymts by BU/Cust |
SELECT C.SETID , I.BUSINESS_UNIT , I.CUST_ID , I.DEPOSIT_BU , I.DEPOSIT_ID , I.PAYMENT_SEQ_NUM , I.PAYMENT_ID , I.ACCOUNTING_DT , SUM(I.PAYMENT_AMT) , I.PAYMENT_CURRENCY , 0 , %CurrentDateTimeIn , %OperatorId , %CurrentDateTimeIn , %OperatorId , 0 , %CurrentDateTimeIn FROM PS_ITEM_ACTIVITY I , PS_CUSTOMER C WHERE I.PAYMENT_ID <> ' ' AND I.CUST_ID = C.CUST_ID GROUP BY C.SETID, I.BUSINESS_UNIT, I.CUST_ID, I.DEPOSIT_BU, I.DEPOSIT_ID, I.PAYMENT_SEQ_NUM, I.PAYMENT_ID, I.ACCOUNTING_DT, I.PAYMENT_CURRENCY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer |
4 | DEPOSIT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the business unit to which a deposit is posted. |
5 | 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. |
6 | PAYMENT_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Specifies the system-generated sequence number assigned to each payment as it is entered in a deposit. |
7 | 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. |
8 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
9 | PAYMENT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a customer payment. |
10 | 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. |
11 | TOTAL_ROW_COUNT | Number(8,0) | INTEGER NOT NULL | Total Row Count |
12 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | Added Date/Time |
13 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Added By |
14 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | Last Modified Date/Time |
15 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By |
16 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
17 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |