AR_DB_AGEALL_VW

(SQL View)
Index Back

Customer Aging for Dashboard

Customer and Subcustomer Aging view

SELECT A.BUSINESS_UNIT , A.CUST_ID , A.SUBCUST_QUAL1 , A.SUBCUST_QUAL2 , A.AGING_ID , A.AGING_CATEGORY , A.AGING_AMT , A.AGING_CNT , A.CURRENCY_CD FROM PS_SUBCUST_AGING A UNION ALL SELECT B.BUSINESS_UNIT , B.CUST_ID , ' ' , ' ' , B.AGING_ID , B.AGING_CATEGORY , B.AGING_AMT , B.AGING_CNT , B.CURRENCY_CD FROM PS_CUST_AGING B ORDER BY 1 , 2

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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 AGING_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Aging Amount
8 AGING_CNT Number(6,0) INTEGER NOT NULL Aging Count
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code