CUST_AGECAT_LVW

(SQL View)
Index Back

Available Aging Cats for Cust


SELECT C.SETID , A.CUST_ID , A.AGING_ID , A.AGING_CATEGORY , D.LANGUAGE_CD , D.DESCR , D.DESCRSHORT FROM PS_SET_CNTRL_REC C , PS_CUST_AGING A , PS_AGING_CATEGT_LG D WHERE C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'CUSTOMER' AND D.SETID = ( SELECT E.SETID FROM PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE = A.BUSINESS_UNIT AND E.RECNAME = 'AGING_CATEGT_LG') AND D.AGING_ID = A.AGING_ID AND D.AGING_CATEGORY = A.AGING_CATEGORY AND D.EFFDT = ( SELECT MAX(effdt) FROM ps_AGING_CATEGT_LG X WHERE X.setid=D.setid AND X.AGING_ID=D.AGING_ID AND X.AGING_CATEGORY = A.AGING_CATEGORY AND X.effdt <= %CurrentDateIn)

  • Related Language Record for CUST_AGECAT_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    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.
    3 AGING_ID Character(5) VARCHAR2(5) NOT NULL Aging ID
    4 AGING_CATEGORY Character(2) VARCHAR2(2) NOT NULL Aging Category
    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description