KK_FS_INQACB_VW

(SQL View)
Index Back

SELECT B.CONTROL_CHARTFIELD , V.CHARTFIELD_VALUE , R.FUND_SOURCE , R.BUSINESS_UNIT , R.LEDGER_GROUP ,R.ACCOUNT ,R.DEPTID ,%subrec(CF9A_AK_SBR,R) ,%subrec(CFCC2_AK_SBR,R) , R.CAP , V.CURRENCY_CD 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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_BU_FS_NONVW

5 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group

Prompt Table: SP_KKFSLG_NONVW

6 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: GL_ACCOUNT_TBL
Set Control Field: BUSINESS_UNIT

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

Prompt Table: DEPT_TBL
Set Control Field: BUSINESS_UNIT

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

Prompt Table: SP_PCBUGL_NONVW

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

Prompt Table: SP_PROJFS_NONVW

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

Prompt Table: PROJ_ACT_FVW

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

Prompt Table: PROJ_RESTYPE_FS

24 AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
25 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code