SUBC_AGE_SI_VW

(SQL View)
Index Back

SubCustomer Aging by Setid


SELECT P.SETID , A.CUST_ID , A.SUBCUST_QUAL1 , A.SUBCUST_QUAL2 , A.AGING_ID , A.AGING_CATEGORY , A.BUSINESS_UNIT , AGING_AMT , AGING_CNT , A.CURRENCY_CD FROM PS_SUBCUST_AGING A , PS_SET_CNTRL_REC P , PS_BUS_UNIT_OPT_AR C WHERE P.SETCNTRLVALUE = A.BUSINESS_UNIT AND P.RECNAME = 'CUSTOMER' AND P.SETID = C.SETID AND A.AGING_ID = C.AGING_ID

# 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 SUBCUST_QUAL1 Character(15) VARCHAR2(15) NOT NULL Specifies a user-defined grouping of customer receivables activity. A subcustomer qualifier provides the ability to record and report receivables activity across multiple business units and/or multiple customers. For example a subcustomer qualifier could represent a sales region or a geographic area. There are two possible subcustomer qualifiers: SUBCUST_QUAL1 and SUBCUST_QUAL2.
4 SUBCUST_QUAL2 Character(15) VARCHAR2(15) NOT NULL Specifies a user-defined grouping of customer receivables activity. A subcustomer qualifier provides the ability to record and report receivables activity across multiple business units and/or multiple customers. For example a subcustomer qualifier could represent a sales region or a geographic area. There are two possible subcustomer qualifiers: SUBCUST_QUAL1 and SUBCUST_QUAL2.
5 AGING_ID Character(5) VARCHAR2(5) NOT NULL Aging ID
6 AGING_CATEGORY Character(2) VARCHAR2(2) NOT NULL Aging Category
7 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
8 AGING_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Aging Amount
9 AGING_CNT Number(6,0) INTEGER NOT NULL Aging Count
10 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code