KK_JLN_FS_VW

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT ,A.LEDGER_GROUP ,B.FUND_SOURCE ,SUM(B.MONETARY_AMOUNT) ,B.CURRENCY_CD ,B.ACCOUNT ,B.DEPTID ,%subrec(CF14_AN_SBR,B) ,%subrec(CFCC1_AN_SBR,B) FROM PS_KK_BUDGET_LN B , PS_KK_BUDGET_HDR A WHERE A.BUSINESS_UNIT=B.BUSINESS_UNIT AND A.JOURNAL_ID=B.JOURNAL_ID AND A.JOURNAL_DATE=B.JOURNAL_DATE AND A.UNPOST_SEQ=B.UNPOST_SEQ AND B.FUND_SOURCE <> ' ' AND A.BD_HDR_STATUS IN ('P','U') GROUP BY A.BUSINESS_UNIT ,A.LEDGER_GROUP ,B.FUND_SOURCE ,B.CURRENCY_CD ,B.ACCOUNT ,B.DEPTID ,%subrec(CF14_AN_SBR,B) ,%subrec(CFCC1_AN_SBR,B)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
3 FUND_SOURCE Character(6) VARCHAR2(6) NOT NULL Funding Source
4 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.
5 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
6 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
7 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
8 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPER_UNIT_TBL

9 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_TBL

10 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_TBL

11 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASS_CF_TBL

12 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_TBL

13 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_TBL

14 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

15 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

16 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

17 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CHARTFIELD1_TBL

18 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CHARTFIELD2_TBL

19 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CHARTFIELD3_TBL

20 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
21 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
22 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
23 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type
24 BUDGET_PERIOD Character(8) VARCHAR2(8) NOT NULL Budget Period