ITEM_ACT_MV_VW1

(SQL View)
Index Back

Dispute Resolution Cycle Time

Dispute Resolution Cycle Time

SELECT M.BUSINESS_UNIT , M.CUST_ID , M.ITEM , M.ITEM_LINE , MAX(%DatePart(D.DISPUTE_DTTM)) FROM PS_ITEM_BASE_MVW M , PS_ITEM_DISP_T D , PS_AR_BUSET_MVW V WHERE M.BUSINESS_UNIT = D.BUSINESS_UNIT AND M.CUST_ID = D.CUST_ID AND M.ITEM = D.ITEM AND M.ITEM_LINE = D.ITEM_LINE AND M.ITEM_STATUS = 'C' AND D.DISPUTE_TRACKING = 'N' AND D.DISPUTE_DT IS NULL AND M.BUSINESS_UNIT = V.SETCNTRLVALUE GROUP BY M.BUSINESS_UNIT, M.CUST_ID, M.ITEM, M.ITEM_LINE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: BUS_UNIT_TBL_FS

2 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.

Prompt Table: CUST_BI_A2_VW

3 ITEM Character(30) VARCHAR2(30) NOT NULL Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number.
4 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
5 DISP_RESOLUTION_DT Date(10) DATE Resolution Date