AR_STATEMNT_RSP(SQL View) |
Index Back |
---|---|
Recent Statements |
SELECT C.SETID , C.CUST_ID , C.CRSPD_SETID , C.CRSPD_CUST_ID , S.ST_ID_NUM , S.ST_DT , SUM(SD.BAL_AMT) , SD.BAL_CURRENCY , 0 , %CurrentDateTimeIn , %OperatorId , %CurrentDateTimeIn , %OperatorId , 0 , %CurrentDateTimeIn FROM PS_CUSTOMER C , PS_STMT_CUST S , PS_STMT_CUST_DTL SD WHERE S.CRSPD_SETID = C.CRSPD_SETID AND S.CRSPD_CUST_ID = C.CRSPD_CUST_ID AND SD.CRSPD_SETID = C.CRSPD_SETID AND SD.CRSPD_CUST_ID = C.CRSPD_CUST_ID AND SD.ST_ID_NUM = S.ST_ID_NUM GROUP BY C.SETID, C.CUST_ID, C.CRSPD_SETID, C.CRSPD_CUST_ID, S.ST_ID_NUM, S.ST_DT, SD.BAL_CURRENCY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer |
3 | CRSPD_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
4 | CRSPD_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Correspondence Customer |
5 | ST_ID_NUM | Number(8,0) | INTEGER NOT NULL | Statement Number |
6 | ST_DT | Date(10) | DATE | Specifies the date a statement (Receivables) is generated. This date is maintained by the Statements SQR. |
7 | BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Item Balance |
8 | BAL_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Currency Code - Bal Amount |
9 | TOTAL_ROW_COUNT | Number(8,0) | INTEGER NOT NULL | Total Row Count |
10 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | Added Date/Time |
11 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Added By |
12 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | Last Modified Date/Time |
13 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By |
14 | 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. |
15 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |