VCHR_ACT_DRL_VW(SQL View) |
Index Back |
---|---|
Voucher Acctg Drilldown View |
SELECT a.business_unit_gl , a.voucher_id , a.voucher_line_num , a.account , A.DEPTID , %subrec(cf12_an_sbr, a) , a.project_id , a.currency_cd , a.monetary_amount , a.descr , a.fiscal_year , a.accounting_period , a.business_unit ,a.ledger , vo.invoice_id , vo.vendor_id , vn.vendor_name_short , ' ' book_code FROM ps_vchr_acctg_line a , PS_VOUCHER vo , ps_vendor vn WHERE a.gl_distrib_status = 'D' AND a.monetary_amount <> 0 AND vo.business_unit = a.business_unit AND vo.voucher_id = a.voucher_id AND vn.setid = vo.vendor_setid AND vn.vendor_id = vo.vendor_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
3 | VOUCHER_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Voucher Line Number |
4 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
5 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
6 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL | Operating Unit ChartField |
7 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL | Product ChartField |
8 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL | Fund Code |
9 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL | Class Field |
10 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL | Program Code ChartField |
11 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL | Budget Reference |
12 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Affiliate |
13 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL | IntraUnit Affiliate1 |
14 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
15 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL | Expansion chartfield 1 |
16 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 2 |
17 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 3 |
18 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
19 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
20 | 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. |
21 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
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_AP | Character(5) | VARCHAR2(5) NOT NULL | AP Business Unit |
25 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
26 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
27 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
28 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
29 | BOOK_CODE | Character(4) | VARCHAR2(4) NOT NULL | Book Code |