AR_CUST_AL_SRVW

(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 , B.OPRID , D.PAYMENT_PLAN FROM PS_CUSTOMER C , PS_CUST_CONVER_HDR B LEFT OUTER JOIN PS_PAYMENT_PLAN D ON B.SETID = D.SETID AND B.CUST_ID = D.CUST_ID AND B.CONVER_DT = D.CONVER_DT AND B.CONVER_DTTM_INIT = D.CONVER_DTTM_INIT WHERE B.SETID = C.SETID AND B.CUST_ID = C.CUST_ID

  • Related Language Record: AR_CUST_AL_SRLW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

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

    Default Value: OPR_DEF_TBL_FS.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

    Default Value: %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

    Default Value: N

    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

    Default Value: N

    22 FOLLOW_UP_ACTION Character(10) VARCHAR2(10) NOT NULL Follow-Up Action
    23 KEYWORD1 Character(10) VARCHAR2(10) NOT NULL Keyword
    24 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    25 PAYMENT_PLAN Character(15) VARCHAR2(15) NOT NULL Payment Plan