EE_J_ENC_VW

(SQL View)
Index Back

EE Adjustment Jrnl Pre-enc

Entry Event Adjustment Journal for Encumbrances

SELECT A.BUSINESS_UNIT , A.JOURNAL_ID , A.JOURNAL_DATE , A.UNPOST_SEQ , C.JOURNAL_LINE , C.LEDGER , F.BALANCING_LINE , F.REFERENCED_BUDGET , F.CLOSED_VALUE , F.STATISTICS_CODE , F.STATISTIC_AMOUNT , F.ACCOUNT , F.DEPTID , %subrec(CF16_AN_SBR, F) , %subrec(CFCC1_AN_SBR, F) , F.BASE_CURRENCY , A.JOURNAL_DATE , G.BUDGET_DT , F.ACCOUNTING_PERIOD , ' ' , F.FISCAL_YEAR , F.BUSINESS_UNIT , D.ASSOCIATED_LED_GRP , F.MONETARY_AMOUNT , F.FOREIGN_AMOUNT , F.FOREIGN_CURRENCY , 'N' , B.PROCESS_INSTANCE , ' ' , ' ' , G.LINE_DESCR , F.ENTRY_EVENT , F.EE_PROC_STATUS , F.KK_TRAN_ID , F.KK_TRAN_DT , F.KK_TRAN_LN ,CASE WHEN GG.FAIN IS NULL THEN ' ' ELSE GG.FAIN END ,CASE WHEN GG.PIID IS NULL THEN ' ' ELSE GG.PIID END ,CASE WHEN GG.PIID_PARENT IS NULL THEN ' ' ELSE GG.PIID_PARENT END ,CASE WHEN GG.URI IS NULL THEN ' ' ELSE GG.URI END ,CASE WHEN GG.EXCLUDE IS NULL THEN ' ' ELSE GG.EXCLUDE END FROM PS_JRNL_HEADER A , PS_JRNL_LN G LEFT OUTER JOIN PS_JRNL_LN_FED GG ON GG.BUSINESS_UNIT=G.BUSINESS_UNIT AND GG.JOURNAL_ID=G.JOURNAL_ID AND GG.JOURNAL_DATE=G.JOURNAL_DATE AND GG.UNPOST_SEQ = G.UNPOST_SEQ AND GG.JOURNAL_LINE = G.JOURNAL_LINE AND GG.LEDGER = G.LEDGER , PS_KK_SOURCE_HDR B , PS_KK_SOURCE_LN C , PS_BU_LED_GRP_TBL D , PS_BUL_CNTL_BUD E , PS_KK_ACTIVITY_LOG F WHERE A.BUSINESS_UNIT = G.BUSINESS_UNIT AND A.JOURNAL_ID = G.JOURNAL_ID AND A.JOURNAL_DATE = G.JOURNAL_DATE AND A.UNPOST_SEQ = G.UNPOST_SEQ AND G.BUSINESS_UNIT = B.BUSINESS_UNIT AND G.JOURNAL_ID = B.JOURNAL_ID AND A.BUDGET_HDR_STATUS = 'V' AND A.JRNL_HDR_STATUS = 'V' AND A.KK_AMOUNT_TYPE = '2' AND B.KK_SOURCE_TRAN = 'GL_JOURNAL' AND G.LEDGER = C.LEDGER AND G.JOURNAL_LINE = C.JOURNAL_LINE AND B.KK_TRAN_ID = C.KK_TRAN_ID AND B.KK_TRAN_DT = C.KK_TRAN_DT AND C.KK_TRAN_ID = F.KK_TRAN_ID AND C.KK_TRAN_DT = F.KK_TRAN_DT AND C.KK_TRAN_LN = F.KK_TRAN_LN AND F.ENTRY_EVENT <> ' ' AND F.REFERENCED_BUDGET = 'N' AND F.BALANCING_LINE = 'Y' AND F.BUSINESS_UNIT = D.BUSINESS_UNIT AND F.LEDGER_GROUP = D.LEDGER_GROUP AND D.BUSINESS_UNIT = E.BUSINESS_UNIT AND D.LEDGER_GROUP = E.KK_LEDGER_GROUP AND E.KK_DETAIL_LED = 'Y'

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

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

2 KK_JOURNAL_ID Character(10) VARCHAR2(10) NOT NULL Budget Journal ID
3 KK_JOURNAL_DATE Date(10) DATE NOT NULL Budget Journal Date
4 UNPOST_SEQ Number(2,0) SMALLINT NOT NULL Identifies the sequence of journal entries when a journal is "unposted". When a journal is posted the UnPost Sequence is automatically set to "0". When a journal is unposted, a new reversing entry is automatically created with an UnPost Sequence of "1".
5 KK_JOURNAL_LINE Number(9,0) DECIMAL(9) NOT NULL Budget Journal line number
6 KK_LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
7 BALANCING_LINE Character(1) VARCHAR2(1) NOT NULL Balancing Line
8 REFERENCED_BUDGET Character(1) VARCHAR2(1) NOT NULL Referenced Budget
9 CLOSED_VALUE Character(1) VARCHAR2(1) NOT NULL Closed Status field value
10 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
11 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.
12 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
13 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

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

Prompt Table: OPERUNT_BUGL_VW

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

Prompt Table: PRODUCT_BUGL_VW

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

Prompt Table: FUND_BUGL_VW

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

Prompt Table: CLASSCF_BUGL_VW

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

Prompt Table: PROGRAM_BUGL_VW

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

Prompt Table: BUD_REF_BUGL_VW

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: CF1_BUGL_VW

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

Prompt Table: CF2_BUGL_VW

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

Prompt Table: CF3_BUGL_VW

26 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
27 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
28 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
29 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type
30 BUDGET_PERIOD Character(8) VARCHAR2(8) NOT NULL Budget Period
31 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
32 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
33 BUDGET_DT Date(10) DATE Budget Date
34 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table.
35 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
36 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
37 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
38 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
39 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.
40 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.
41 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
42 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
43 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
44 ASSOCIATED_LEDGER Character(10) VARCHAR2(10) NOT NULL Associated Actuals Ledger
45 ASSOCIATED_LED_GRP Character(10) VARCHAR2(10) NOT NULL Associated Actual Ledger Group
46 LINE_DESCR Character(30) VARCHAR2(30) NOT NULL Describes the nature of a journal line. It is defaulted from the description of the Account ChartField or manually entered.
47 ENTRY_EVENT Character(10) VARCHAR2(10) NOT NULL Entry Event
48 EE_PROC_STATUS Character(1) VARCHAR2(1) NOT NULL Entry Event Line Status
49 KK_TRAN_ID Character(10) VARCHAR2(10) NOT NULL Commitment Control Foreign Key for Transaction Identification.
50 KK_TRAN_DT Date(10) DATE Commitment Control Transaction Original processing date. Primary key with KK_TRAN_ID.
51 KK_TRAN_LN Number(9,0) DECIMAL(9) NOT NULL Commitment Control Transaction Line number.
52 FAIN Character(30) VARCHAR2(30) NOT NULL FAIN
53 PIID Character(50) VARCHAR2(50) NOT NULL PIID
54 PIID_PARENT Character(50) VARCHAR2(50) NOT NULL PIID_PARENT
55 URI Character(70) VARCHAR2(70) NOT NULL URI
56 EXCLUDE Character(1) VARCHAR2(1) NOT NULL Exclude
N=No
Y=Yes