AR_CUST_AL_WCVW

(SQL View)
Index Back

All Active Customers


SELECT DISTINCT B.SETID ,B.BUSINESS_UNIT , B.CUST_ID , B.CONVER_DTTM_INIT , B.DESCR , B.CONVER_DT , B.CONVER_STATUS , B.THREAD_COUNT1 , B.ATTACH_EXIST , B.CONVER_SUBJECT , B.CONVER_SUB_TOPIC , C.NAME1 , B.SUP_REVIEW , B.SUP_STATUS , B.REVIEW_COMP , B.REVIEW_NEXT_DT , B.PROMISE_AMT , B.PAY_PROMISE_AMT , B.CURRENCY_CD , B.PROMISE_DT , B.AR_PROMISE_STATUS , B.FOLLOW_UP_ACTION , B.KEYWORD1 ,D.CONTACT_ID ,D.OPRID , B.REVIEW_OPRID ,B.FOLLOW_UP_OPRID ,B.FOLLOW_UP_COMP ,B.PROMISE_OPRID ,B.PROMISE_ACTION ,B.PROMISE_OVRIDE ,B.PROMISE_RVW_DT ,B.PROMISE_COMP ,B.PROMISE_TO_PAY FROM PS_CUSTOMER C , PS_CUST_CONVER_HDR B ,PS_CUST_CONVER D WHERE B.SETID = C.SETID AND B.CUST_ID = C.CUST_ID AND D.SETID= B.SETID AND D.BUSINESS_UNIT= B.BUSINESS_UNIT AND D.CUST_ID= B.CUST_ID AND D.CONVER_DTTM_INIT= B.CONVER_DTTM_INIT AND D.CONVER_DT= B.CONVER_DT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_AR_SET_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.

Prompt Table: CUST_ALL_A2_VW

4 CONVER_DTTM_INIT DateTime(26) TIMESTAMP NOT NULL Initial Conversation DateTime
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
6 CONVER_DT Date(10) DATE Conversation Date
7 CONVER_STATUS Character(1) VARCHAR2(1) NOT NULL Status
C=Closed
N=New
O=Open
8 THREAD_COUNT1 Number(6,0) INTEGER NOT NULL Number of Entries
9 ATTACH_EXIST Character(1) VARCHAR2(1) NOT NULL Attachments

Y/N Table Edit

10 CONVER_SUBJECT Character(30) VARCHAR2(30) NOT NULL Subject
11 CONVER_SUB_TOPIC Character(30) VARCHAR2(30) NOT NULL Subject Topic
12 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
13 SUP_REVIEW Character(1) VARCHAR2(1) NOT NULL Supervisor Review

Y/N Table Edit

14 SUP_STATUS Character(1) VARCHAR2(1) NOT NULL Supervisor Review Status
I=Incomplete
N=New
R=Reviewed
15 REVIEW_COMP Character(1) VARCHAR2(1) NOT NULL Review Completed

Y/N Table Edit

16 REVIEW_NEXT_DT Date(10) DATE Next Review Date
17 PROMISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Cash Forecast
18 PAY_PROMISE_AMT Number(27,3) DECIMAL(26,3) NOT NULL Promise to Pay amount
19 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
20 PROMISE_DT Date(10) DATE Promise Date
21 AR_PROMISE_STATUS Character(1) VARCHAR2(1) NOT NULL Promise Status field used in Collections Workbench
B=Broken
C=Cancelled
K=Kept
N=None
O=Open
22 FOLLOW_UP_ACTION Character(10) VARCHAR2(10) NOT NULL Follow-Up Action
23 KEYWORD1 Character(10) VARCHAR2(10) NOT NULL Keyword
24 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts

Prompt Table: AR_CONVRSND_SCR

25 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

Prompt Table: PSOPRDEFN_SRCH

26 REVIEW_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
27 FOLLOW_UP_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
28 FOLLOW_UP_COMP Character(1) VARCHAR2(1) NOT NULL Follow Up Completed
29 PROMISE_OPRID Character(30) VARCHAR2(30) NOT NULL Promise Operator ID
30 PROMISE_ACTION Character(4) VARCHAR2(4) NOT NULL CWB Broken Promise Action
31 PROMISE_OVRIDE Character(1) VARCHAR2(1) NOT NULL CWB Override Promise Status
32 PROMISE_RVW_DT Date(10) DATE Promise Review Date
33 PROMISE_COMP Character(1) VARCHAR2(1) NOT NULL CWB Promise Complete
34 PROMISE_TO_PAY Character(1) VARCHAR2(1) NOT NULL CWB Promise of Payment