AR_DISP_SUM_VW

(SQL View)
Index Back

Dispute Resolution Cycle Time

Dispute Resolution Cycle Time grid summarized view

SELECT A.OPRID , A.BUSINESS_UNIT , A.CUST_ID , 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_GROUPS1 B , PS_ARFO_PRF_DISP S WHERE S.OPRID = A.OPRID AND (S.BU_SELECT_FLG = 'A' OR A.BUSINESS_UNIT IN ( SELECT BU.BUSINESS_UNIT FROM PS_ARFO_PRFDISP_BU BU WHERE BU.OPRID = A.OPRID)) AND ( S.CUST_SELECT_FLG= 'S' AND ( S.CUST_LEVEL_QRY='N' AND EXISTS ( SELECT CUST.CUST_ID FROM PS_ARFO_PRFDIS_CU2 CUST WHERE CUST.OPRID = A.OPRID AND ( CUST.CUSTOMER_SETID = ( SELECT E.SETID FROM PS_AR_BUSET_MVW E WHERE E.SETCNTRLVALUE = A.BUSINESS_UNIT AND E.RECNAME = 'CUSTOMER') AND CUST.CUST_ID = A.CUST_ID )) OR S.CUST_LEVEL_QRY <> 'N' AND EXISTS ( SELECT CUST.CUST_ID FROM PS_ARFO_PRFDIS_CUS CUST WHERE CUST.OPRID = A.OPRID AND ( CUST.CUSTOMER_SETID = ( SELECT E.SETID FROM PS_AR_BUSET_MVW E WHERE E.SETCNTRLVALUE = A.BUSINESS_UNIT AND E.RECNAME = 'CUSTOMER') AND CUST.CUST_ID = A.CUST_ID )) ) ) AND ( S.RESP_ALL_FLG = 'A' OR A.RESP_PART IN ( SELECT R.RESP_PART FROM PS_ARFO_PRFDIS_RSP R WHERE R.OPRID = S.OPRID)) AND A.DISP_RESOLVE_DAYS >= B.FROM_RANGE AND A.DISP_RESOLVE_DAYS <= B.TO_RANGE GROUP BY A.OPRID , A.BUSINESS_UNIT , A.CUST_ID , 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 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
4 SETID Character(5) VARCHAR2(5) NOT NULL SetID
5 RESP_PART Character(15) VARCHAR2(15) NOT NULL Responsible Party
6 AR_TPERIOD_NAME Character(10) VARCHAR2(10) NOT NULL Period Name
7 DISPLAY_ORDER Number(3,0) SMALLINT NOT NULL Display order for ordering items in a list - web style
8 DAYS_AVRG Number(6,0) INTEGER NOT NULL DAYS_AVRG
9 ITEM_COUNT Number(5,0) INTEGER NOT NULL Item Count
10 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
11 TRANSACT_CURRENCY Character(3) VARCHAR2(3) NOT NULL "The nominal
12 DISPLAY_CURRENCY Character(3) VARCHAR2(3) NOT NULL Display Currency

Prompt Table: CURRENCY_CD_TBL

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

Prompt Table: RT_TYPE_TBL

14 RATE_INDEX Character(10) VARCHAR2(10) NOT NULL Rate index
15 DISP_RESOLUTION_DT Date(10) DATE Resolution Date
16 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.