AR_STATEMNT2_VW

(SQL View)
Index Back

Recent Statements by BU

Statements by BU

SELECT S.CRSPD_SETID AS CRSPD_SETID , S.CRSPD_CUST_ID AS CRSPD_CUST_ID , S.ST_ID_NUM AS ST_ID_NUM , S.ST_DT AS ST_DT , SUM(S.BAL_AMT) AS BAL_AMT , S.BAL_CURRENCY AS BAL_CURRENCY , 0 AS TOTAL_ROW_COUNT , %CurrentDateTimeIn AS ROW_ADDED_DTTM , %OperatorId AS ROW_ADDED_OPRID , %CurrentDateTimeIn AS ROW_LASTMANT_DTTM , %OperatorId AS ROW_LASTMANT_OPRID , 0 AS SYNCID , %CurrentDateTimeIn AS SYNCDTTM FROM PS_AR_STATEMNT_VW S GROUP BY S.CRSPD_SETID , S.CRSPD_CUST_ID , S.ST_ID_NUM , S.ST_DT , S.BAL_CURRENCY

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CRSPD_SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CRSPD_CUST_ID Character(15) VARCHAR2(15) NOT NULL Correspondence Customer
3 ST_ID_NUM Number(8,0) INTEGER NOT NULL Statement Number
4 ST_DT Date(10) DATE Specifies the date a statement (Receivables) is generated. This date is maintained by the Statements SQR.
5 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
6 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount
7 TOTAL_ROW_COUNT Number(8,0) INTEGER NOT NULL Total Row Count
8 ROW_ADDED_DTTM DateTime(26) TIMESTAMP Added Date/Time
9 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL Added By
10 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP Last Modified Date/Time
11 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL Last Maintained By
12 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.
13 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time