GL_PE_BUD_VW(SQL View) |
Index Back |
---|---|
GL Actual Versus BudgetGL Actual Versus Budget Pagelet |
SELECT B.BUSINESS_UNIT , C.OPRID , B.FISCAL_YEAR , B.ACCOUNT , B.CURRENCY_CD , B.LEDGER , SUM(B.POSTED_TRAN_AMT) FROM PS_LEDGER_BUDG B , PS_GL_PE_ACTBD_PRS C WHERE B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.LEDGER = C.LEDGER_2 AND B.FISCAL_YEAR = C.FISCAL_YEAR AND B.ACCOUNTING_PERIOD >= C.PERIOD_FROM AND B.ACCOUNTING_PERIOD <= C.PERIOD_TO AND B.STATISTICS_CODE = C.STATISTICS_CODE AND B.CURRENCY_CD = C.CURRENCY_CD GROUP BY B.FISCAL_YEAR, B.ACCOUNT, B.CURRENCY_CD, B.BUSINESS_UNIT, B.LEDGER, C.OPRID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
3 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
4 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
5 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
6 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
7 | MONETARY_AMOUNT_02 | 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. |