Ledger Bal by Acctg Period
Total Page:16
File Type:pdf, Size:1020Kb
CT_CORE_FIN_LEDGR_PERIOD_PIVOT
Purpose of Query
Ledger Bal by Accounting Period - Ledger Balance report where Periods are decoded columns = columns are pivoted using 'Expressions' so each period (1-12) is displayed as its own column vs. row
Folder
GL
Tables
CTW_LED_BAL - Ledger Balances Rpt
Prompts
ACCOUNTING_PERIOD - From Accounting Period / ACCOUNTING_PERIOD - To Accounting Period – (Between condition where 1 equals July and 12 equals June) DEPTID - DeptID (%) – (Wildcard enabled) CT_SID - SID (%) – (Wildcard enabled) ACCOUNT - Account (%) – (Wildcard enabled) FISCAL_YEAR - Fiscal Year – (Equal To) Criteria
Runtime prompts only.
Note: Runtime prompts are included as criteria.
Fields
Co Record.Fieldname Format Or XLAT Agg Heading Text l d 1 A.DEPTID - Department Char10 DeptID 2 A.FISCAL_YEAR - Fiscal Year Num4.0 Year 3 A.ACCOUNTING_PERIOD - Accounting Num3.0 Period Period 4 A.CT_SID - SID Char5 1 SID 5 A.ACCOUNT - Account Char10 3 Acct 6 A.FUND_CODE - Fund Code Char5 2 Fund 7 A.CT_GL_ACC_DESCR - GL Account Char30 GL Acct Descr Description 8 A.PROJECT_ID - Project Char15 Project 9 A.POSTED_TOTAL_AMT - Posted Total SNm25.3 Total Amt Amount 10 A.LOAD_DTTM - Load Date and Time DateTm Load Date/Time 11 DECODE(A.ACCOUNTING_PERIOD,1,A. Num13.2 Period 1 POSTED_TOTAL_AMT,0) 12 DECODE(A.ACCOUNTING_PERIOD,2,A. Num13.2 Period 2 POSTED_TOTAL_AMT,0) 13 DECODE(A.ACCOUNTING_PERIOD,3,A. Num13.2 Period 3 POSTED_TOTAL_AMT,0) 14 DECODE(A.ACCOUNTING_PERIOD,4,A. Num13.2 Period 4 POSTED_TOTAL_AMT,0) 15 DECODE(A.ACCOUNTING_PERIOD,5,A. Num13.2 Period 5 POSTED_TOTAL_AMT,0) 16 DECODE(A.ACCOUNTING_PERIOD,6,A. Num13.2 Period 6 POSTED_TOTAL_AMT,0) 17 DECODE(A.ACCOUNTING_PERIOD,7,A. Num13.2 Period 7 POSTED_TOTAL_AMT,0) 18 DECODE(A.ACCOUNTING_PERIOD,8,A. Num13.2 Period 8 POSTED_TOTAL_AMT,0) 19 DECODE(A.ACCOUNTING_PERIOD,9,A. Num13.2 Period 9 POSTED_TOTAL_AMT,0) 20 DECODE(A.ACCOUNTING_PERIOD,10,A Num13.2 Period 10 .POSTED_TOTAL_AMT,0) 21 DECODE(A.ACCOUNTING_PERIOD,11,A Num13.2 Period 11 .POSTED_TOTAL_AMT,0) Co Record.Fieldname Format Or XLAT Agg Heading Text l d 22 DECODE(A.ACCOUNTING_PERIOD,12,A Num13.2 Period 12 .POSTED_TOTAL_AMT,0)
Note: Field Column 11 through 22 are Expressions. Expressions are calculations that PeopleSoft Query performs as part of a query. Use them when you must calculate a value that PeopleSoft Query does not provide by default—for example, to add the values from two fields together or to multiply a field value by a constant.
You can work with an expression as if it were a field in the query: select it for output, change its column heading, or choose it as an “order by” column.
In Query Manager, you can use expressions in two ways: As comparison values in selection criteria. As columns in the query output.