AR_BI_ACTALL_VW

(SQL View)
Index Back

Customer Aging for Dashboard

Customer and Subcustomer Aging view

SELECT A.BUSINESS_UNIT_GL , A.ITEM , A.ITEM_LINE ,A.LEDGER , A.ACCOUNT , A.DEPTID , %subrec(CF12_AN_SBR, A) , A.PROJECT_ID , A.CURRENCY_CD , A.MONETARY_AMOUNT , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.BUSINESS_UNIT , A.CUST_ID , A.NAME1 FROM PS_AR_ACT_DRL_VW A UNION SELECT B.BUSINESS_UNIT_GL , B.INVOICE , B.LINE_SEQ_NUM ,B.LEDGER , B.ACCOUNT , B.DEPTID , %subrec(CF12_AN_SBR, B) , B.PROJECT_ID , B.CURRENCY_CD , B.MONETARY_AMOUNT , B.FISCAL_YEAR , B.ACCOUNTING_PERIOD , B.BUSINESS_UNIT , B.CUST_ID , B.NAME1 FROM PS_BI_ACT_DRL_VW B UNION SELECT C.BUSINESS_UNIT_GL , C.DEPOSIT_ID , C.PAYMENT_SEQ_NUM , C.LEDGER , C.ACCOUNT , C.DEPTID , %subrec(CF12_AN_SBR, C) , C.PROJECT_ID , C.CURRENCY_CD , C.MONETARY_AMOUNT , C.FISCAL_YEAR , C.ACCOUNTING_PERIOD , C.BUSINESS_UNIT , C.DEPOSIT_BU , ' ' FROM PS_DJ_ACT_DRL_VW C

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 ITEM Character(30) VARCHAR2(30) NOT NULL Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number.
3 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
4 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
5 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
6 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
7 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField
8 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField
9 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code
10 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field
11 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField
12 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference
13 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
14 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1
15 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate
16 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1
17 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2
18 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3
19 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
20 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
21 MONETARY_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account.
22 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
23 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table.
24 BUSINESS_UNIT_AR Character(5) VARCHAR2(5) NOT NULL AR Business Unit
25 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.
26 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1