AR_ACT_DRL_VW(SQL View) |
Index Back |
---|---|
Voucher Acctg Drilldown 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 , c.cust_id , c.name1 FROM PS_ITEM_DST a , PS_SET_CNTRL_REC B , ps_customer c WHERE a.gl_distrib_status = 'D' AND a.monetary_amount <> 0 AND a.system_defined IN ('A', 'U') AND B.SETCNTRLVALUE = a.BUSINESS_UNIT AND b.RECNAME = 'CUSTOMER' AND A.CUST_ID = C.CUST_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL 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 | Character(5) | VARCHAR2(5) NOT NULL | 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 |