CM_KK_LINE3_VW

(SQL View)
Index Back

Line View of Commitment Ctrl

This view is used by the Upgrade Budget Processor. 07/04 dw Bundle:4675 Res: 302579 ICE: 717778000 add ACTIVITY_ID and RESOURCE_TYPE 08/04 Bundle:4675 Res: 302579 ICE: 712505000

SELECT A.business_unit , A.inv_item_id , A.dt_timestamp , A.seq_nbr , A.acctg_line_no , A.transaction_group , A.accounting_dt , A.distrib_type , A.account , A.altacct , A.deptid , %subrec(cf16_an_sbr, A) , %subrec(pc_cf1_n_sbr, A) , A.statistics_code , A.currency_cd , C.MONETARY_AMOUNT , A.statistic_amount , C.FOREIGN_AMOUNT , A.foreign_currency , A.distrib_line_num , A.business_unit_gl , A.gl_distrib_status , A.process_instance , A.ledger , A.ledger_group , A.transaction_source , A.trans_line_type , A.mg_proc_instance , A.debit_credit , A.budget_hdr_status , A.budget_line_status , A.budget_dt , A.cm_dt_timestamp , A.cm_seq_nbr , A.kk_amount_type , A.kk_tran_over_dttm , A.kk_tran_over_flag , A.kk_tran_over_oprid , B.source_bus_unit , B.req_id , B.req_line_nbr , B.req_sched_nbr , B.req_distrib_nbr , A.kk_process_prior , 'N' , 0 FROM PS_CM_ACCTG_LINE A , PS_TRANSACTION_INV B , PS_CM_KK_LINE0_VW C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.DT_TIMESTAMP = B.DT_TIMESTAMP AND A.SEQ_NBR = B.SEQ_NBR AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.TRANSACTION_GROUP = C.TRANSACTION_GROUP AND A.ACCOUNTING_DT = C.ACCOUNTING_DT AND A.ACCTG_LINE_NO = C.ACCTG_LINE_NO AND A.GL_DISTRIB_STATUS IN ('N','H') AND C.CM_IU_INDICATOR = 'N'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
4 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
5 ACCTG_LINE_NO Number(15,0) DECIMAL(15) NOT NULL Accounting Line Number
6 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
7 ACCOUNTING_DT Date(10) DATE NOT NULL The accounting entry construction date for a given transaction (a generic field that crosses multiple
8 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type

Prompt Table: CM_DISTR_TYPE

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

Prompt Table: GL_ACCOUNT_TBL

10 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
11 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

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

Prompt Table: OPERUNT_BUGL_VW

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

Prompt Table: PRODUCT_BUGL_VW

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

Prompt Table: FUND_BUGL_VW

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

Prompt Table: CLASSCF_BUGL_VW

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

Prompt Table: PROGRAM_BUGL_VW

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

Prompt Table: BUD_REF_BUGL_VW

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: CF1_BUGL_VW

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

Prompt Table: CF2_BUGL_VW

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

Prompt Table: CF3_BUGL_VW

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

Prompt Table: %EDIT_BU_PC

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

Prompt Table: %EDIT_PROJECT

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

Prompt Table: %EDIT_ACTIVITY

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

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

28 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

29 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

30 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

31 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
32 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
33 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.
34 STATISTIC_AMOUNT Signed Number(17,2) DECIMAL(15,2) NOT NULL Specifies the amount associated with a statistical account on a journal line or a distribution line. It represents a quantity rather than a monetary amount and is qualified by the Unit of Measure associated with the STATISTICS_CODE or statistics ACCOUNT.
35 FOREIGN_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit (accounting entry line) in the entry currency of the item. The sum of FOREIGN_AMOUNT values on AR lines should equal the ENTRY_AMT on the pending item.
36 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
37 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
38 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
39 GL_DISTRIB_STATUS Character(1) VARCHAR2(1) NOT NULL Distribution Status
C=Available to Contracts
D=Distributed
G=Generated
H=Hold
I=Ignored
J=Creating Journals
M=Modified
N=None
P=To be processed
X=Waiting for Reversal
40 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
41 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
42 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
43 TRANSACTION_SOURCE Character(2) VARCHAR2(2) NOT NULL Transaction Source
44 TRANS_LINE_TYPE Character(3) VARCHAR2(3) NOT NULL Transaction Line Type
0=Regular
1=Interunit Transfer
2=Gain
3=Loss
4=PPV (Favorable)
5=PPV (Unfavorable)
6=ERV (Favorable)
7=ERV (Unfavorable)
8=InterCompany Transfer
45 MG_PROC_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
46 DEBIT_CREDIT Character(2) VARCHAR2(2) NOT NULL Debit / Credit Indicator
CR=Credit
DR=Debit
47 BUDGET_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL Budget Checking Header Status
E=Error in Budget Check
I=Document In Processing
N=Not Budget Checked
P=Provisionally Valid
V=Valid
48 BUDGET_LINE_STATUS Character(1) VARCHAR2(1) NOT NULL -> SL - 15-AUG-2002 MISC_CRITERIA label has been added <-
B=Bypass
E=Error
N=Not Chk'd
V=Valid
W=Warning
49 BUDGET_DT Date(10) DATE Budget Date
50 CM_DT_TIMESTAMP DateTime(26) TIMESTAMP Receipt dttm.
51 CM_SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
52 KK_AMOUNT_TYPE Character(1) VARCHAR2(1) NOT NULL Commitment Control Amount Type
0=Budget
1=Actuals and Recognized
2=Encumbrance
3=Pre-Encumbrance
4=Collected Revenue
5=Planned
7=Actuals, Recognize and Collect
9=Dynamic
53 KK_TRAN_OVER_DTTM DateTime(26) TIMESTAMP Commitment Control source transaction override datetime
54 KK_TRAN_OVER_FLAG Character(1) VARCHAR2(1) NOT NULL Commitment Control source transaction override flag
N=No
Y=Yes
55 KK_TRAN_OVER_OPRID Character(30) VARCHAR2(30) NOT NULL Commitment Control source transaction override operator
56 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
57 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
58 REQ_LINE_NBR Number(5,0) INTEGER NOT NULL Requisition Line Number
59 REQ_SCHED_NBR Number(3,0) SMALLINT NOT NULL Requisition Schedule Number
60 REQ_DISTRIB_NBR Number(5,0) INTEGER NOT NULL Requisition Distrib Number
61 KK_PROCESS_PRIOR Character(1) VARCHAR2(1) NOT NULL Process Prior Document
62 KK_CLOSE_PRIOR Character(1) VARCHAR2(1) NOT NULL Close Prior Transaction
63 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity