INQ_ACCOUNT_VW(SQL View) |
Index Back |
---|---|
Inquiry Ledger Account View |
SELECT a.business_unit , a.ledger , a.fiscal_year , a.accounting_period , a.account , a.altacct , A.DEPTID , %subrec(cf7a_ak_sbr,a) , a.project_id , a.currency_cd , a.statistics_code , a.posted_total_amt , a.posted_base_amt , a.base_currency , ' ' , 0 , 0 , 0 FROM PS_LEDGER a |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
3 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
4 | 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. |
5 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
6 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL | Alternate Account |
7 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
8 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL | Operating Unit ChartField |
9 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL | Product ChartField |
10 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL | Fund Code |
11 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL | Class Field |
12 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL | Program Code ChartField |
13 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL | Budget Reference |
14 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Affiliate |
15 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL | IntraUnit Affiliate1 |
16 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
17 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL | Expansion chartfield 1 |
18 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 2 |
19 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 3 |
20 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
21 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
22 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
23 | POSTED_TOTAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the net balance of debit and credit amounts that have been posted to a particular ChartField combination. |
24 | POSTED_BASE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the net balance of debit and credit amounts that have been posted to a particular ChartField combination, in the base currency of the business unit. Unless the Separate Debit/Credit option is set up, the ledger stores net amounts only. |
25 | BASE_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. " |
26 | PTA_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Posted Total Currency |
27 | LEFT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Left Amount |
28 | RIGHT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Right Amount |
29 | STAT_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Statistics Amount |