AR_CUST_VW

(SQL View)
Index Back

ITEM table fiew for Cred Cards

View used to process credit card transactions for Accounts Receivable open items.

SELECT DISTINCT H.BUSINESS_UNIT , H.CUST_ID , H.BAL_CURRENCY , C.NAME1 FROM PS_ITEM H , PS_CUSTOMER C , PS_SET_CNTRL_REC S WHERE H.CUST_ID = C.CUST_ID AND H.ITEM_STATUS = 'O' AND H.PAYMENT_METHOD IN ('CC', 'CHK') AND S.RECNAME = 'CUSTOMER' AND S.SETCNTRLVALUE = H.BUSINESS_UNIT AND S.SETID = C.SETID AND H.ITEM NOT IN ( SELECT X.ITEM FROM PS_ITEM X , PS_CCPAY_PEND_VW Y WHERE X.BUSINESS_UNIT = Y.BUSINESS_UNIT AND X.CUST_ID = Y.CUST_ID AND X.ITEM = Y.ITEM AND X.ITEM_LINE = Y.ITEM_LINE)

  • Related Language Record: AR_CUST_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

    Prompt Table: SP_BUARDS_NONVW

    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_SRCH_VW
    Set Control Field: BUSINESS_UNIT

    3 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount

    Default Value: OPR_DEF_TBL_AR.FORMAT_CURRENCY

    Prompt Table: CURR_CD_AR_VW
    Set Control Field: BUSINESS_UNIT

    4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1