AR_DISP_SUM_VW2

(SQL View)
Index Back

Dispute Resolution Cycle Time

Dispute Resolution Cycle Time grid summarized view

SELECT A.OPRID , A.BUSINESS_UNIT , A.SETID , A.RESP_PART , B.AR_TPERIOD_NAME , B.DISPLAY_ORDER , SUM(A.DISP_RESOLVE_DAYS) , COUNT(A.ITEM) , SUM(ORIG_ITEM_AMT) , A.BAL_CURRENCY , S.DISPLAY_CURRENCY , S.DSP_RT_TYPE , S.RATE_INDEX , A.DISP_RESOLUTION_DT , SUM(A.DISPUTE_AMOUNT) FROM PS_AR_DISP_FLU_VW A , PS_AR_BASE_GROUP B , PS_ARFO_PRF_DISP S WHERE S.OPRID = A.OPRID AND (S.CUST_SELECT_FLG = 'A' OR (S.CUST_SELECT_FLG = 'G' AND(S.BLK_CUST_GRP = 'Y' OR EXISTS ( SELECT 'X' FROM PS_ARFO_PDIS_CSTGR CUST , PS_CUST_CGRP_LNK G WHERE A.OPRID = CUST.OPRID AND A.SETID = G.SETID AND A.CUST_ID = G.CUST_ID AND G.SETID = CUST.SETID AND G.CUST_GRP_TYPE = CUST.CUST_GRP_TYPE AND G.CUSTOMER_GROUP = CUST.CUSTOMER_GROUP)))) AND ( S.BU_SELECT_FLG = 'A' OR EXISTS ( SELECT 'X' FROM PS_ARFO_PRFDISP_BU BU WHERE BU.OPRID = A.OPRID AND BU.BUSINESS_UNIT= A.BUSINESS_UNIT)) AND (S.RESP_ALL_FLG = 'A' OR EXISTS( SELECT 'X' FROM PS_ARFO_PRFDIS_RSP R WHERE R.OPRID = S.OPRID AND R.OPRID = A.OPRID AND A.SETID= R.SETID AND A.RESP_PART= R.RESP_PART )) AND B.TILE_ID IN ('AR_PYMNT','AR_DISP') AND A.DISP_RESOLVE_DAYS >= B.DAYS_FROM3 AND A.DISP_RESOLVE_DAYS <= B.DAYS_TO3 GROUP BY A.OPRID , A.BUSINESS_UNIT , A.SETID , A.RESP_PART , B.AR_TPERIOD_NAME, B.DISPLAY_ORDER, A.BAL_CURRENCY , S.DISPLAY_CURRENCY , S.DSP_RT_TYPE , S.RATE_INDEX, A.DISP_RESOLUTION_DT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUARDS_NONVW

3 SETID Character(5) VARCHAR2(5) NOT NULL SetID
4 RESP_PART Character(15) VARCHAR2(15) NOT NULL Responsible Party
5 AR_TPERIOD_NAME Character(10) VARCHAR2(10) NOT NULL Period Name
6 DISPLAY_ORDER Number(3,0) SMALLINT NOT NULL Display order for ordering items in a list - web style
7 DAYS_AVRG Number(6,0) INTEGER NOT NULL DAYS_AVRG
8 ITEM_COUNT Number(5,0) INTEGER NOT NULL Item Count
9 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
10 TRANSACT_CURRENCY Character(3) VARCHAR2(3) NOT NULL "The nominal
11 DISPLAY_CURRENCY Character(3) VARCHAR2(3) NOT NULL Display Currency

Prompt Table: CURRENCY_CD_TBL

12 DSP_RT_TYPE Character(5) VARCHAR2(5) NOT NULL Rate Type

Prompt Table: RT_TYPE_TBL

13 RATE_INDEX Character(10) VARCHAR2(10) NOT NULL Rate index
14 DISP_RESOLUTION_DT Date(10) DATE Resolution Date
15 DISPUTE_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount of an item in dispute. This may represent only a portion of the full amount of an item.