KK_FS_INQACF_VW

(SQL View)
Index Back

SELECT DISTINCT B.CONTROL_CHARTFIELD , V.CHARTFIELD_VALUE , R.FUND_SOURCE ,R.ACCOUNT ,R.DEPTID ,%subrec(CF9A_AK_SBR,R) ,%subrec(CFCC2_AK_SBR,R) FROM %Table(KK_BUDGET_TYPE) B , %Table(KK_FS_VALUE) V ,%Table(KK_REV_XREF) R ,PS_SET_CNTRL_REC S WHERE B.SETID1 = S.SETID AND S.SETCNTRLVALUE = V.BUSINESS_UNIT AND S.RECNAME = 'KK_BUDGET_TYPE' AND B.LEDGER_GROUP = V.LEDGER_GROUP AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM %Table(KK_BUDGET_TYPE) B1 WHERE B.SETID1 = B1.SETID1 AND B.LEDGER_GROUP = B1.LEDGER_GROUP) AND R.BUSINESS_UNIT = V.BUSINESS_UNIT AND ((R.LEDGER_GROUP = V.LEDGER_GROUP AND R.REV_METHOD = '0') OR R.LEDGER_GROUP = B.KK_REV_TRACK_LG AND (R.REV_METHOD IN ('1','4')))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CONTROL_CHARTFIELD Character(18) VARCHAR2(18) NOT NULL Control ChartField

Prompt Table: %EDITTABLE8
Set Control Field: SETID1

2 CHARTFIELD_VALUE Character(30) VARCHAR2(30) NOT NULL ChartField Value

Prompt Table: %EDITTABLE

3 FUND_SOURCE Character(6) VARCHAR2(6) NOT NULL Funding Source
4 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: GL_ACCOUNT_TBL
Set Control Field: BUSINESS_UNIT

5 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPT_TBL
Set Control Field: BUSINESS_UNIT

6 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPER_UNIT_TBL

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

Prompt Table: PRODUCT_TBL

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

Prompt Table: FUND_TBL

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

Prompt Table: CLASS_CF_TBL

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

Prompt Table: PROGRAM_TBL

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

Prompt Table: BUD_REF_TBL

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: CHARTFIELD1_TBL

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

Prompt Table: CHARTFIELD2_TBL

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

Prompt Table: CHARTFIELD3_TBL

18 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: SP_PCBUGL_NONVW

19 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: SP_PROJFS_NONVW

20 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: PROJ_ACT_FVW

21 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS