GL_PE_ACTUAL_VW

(SQL View)
Index Back

GL Actual Versus Budget

GL Actual Versus Budget Pagelet

SELECT B.BUSINESS_UNIT ,C.OPRID ,B.FISCAL_YEAR , B.ACCOUNTING_PERIOD , 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.ACCOUNTING_PERIOD, 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 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 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
7 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
8 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.