JRNL_WC_PEND_VW

(SQL View)
Index Back

GL Work Center View

Used for links to select journals approaching period end.

SELECT A.BUSINESS_UNIT_IU , A.LEDGER_GROUP , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.JRNL_HDR_STATUS , A.BUDGET_HDR_STATUS , A.BUSINESS_UNIT , A.JRNL_CREATE_DTTM , A.OPRID , A.CURRENCY_CD , A.JRNL_TOTAL_DEBITS , A.JRNL_TOTAL_LINES , A.JOURNAL_DATE , A.SOURCE , A.JOURNAL_ID , A.DESCR , C.END_DT , %DateDiff(%CurrentDateIn, C.END_DT) , A.KK_AMOUNT_TYPE FROM PS_JRNL_HEADER A , PS_BU_LED_GRP_TBL B , PS_CAL_DETP_TBL C , PS_SET_CNTRL_REC S WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.LEDGER_GROUP = B.LEDGER_GROUP AND C.CALENDAR_ID = B.CALENDAR_ID AND C.FISCAL_YEAR = A.FISCAL_YEAR AND C.ACCOUNTING_PERIOD = A.ACCOUNTING_PERIOD AND C.SETID = S.SETID AND S.SETCNTRLVALUE = A.BUSINESS_UNIT AND S.RECNAME = 'CAL_DETP_TBL'

# 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

Prompt Table: SP_BU_GL_NONVW

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

Prompt Table: SP_BULGRP_NONVW

3 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year

Prompt Table: CAL_FY_VW

4 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.

Prompt Table: CAL_AP_VW

5 JRNL_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates the processing status of a journal entry.
D=Deleted
E=Journal Has Errors
I=Posting Incomplete
M=Valid SJE Model -- Do Not Post
N=No Status - Needs to be Edited
P=Posted to Ledger(s)
T=Journal Entry Incomplete
U=Unposted
V=Valid Journal - Edits Complete
X=Cancelled
Z=Upgrade Journal - Can't Unpost

Default Value: N

6 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
7 BUSINESS_UNIT_LN Character(5) VARCHAR2(5) NOT NULL Line Business Unit

Prompt Table: SP_BU_GL_NONVW

8 JRNL_CREATE_DTTM DateTime(26) TIMESTAMP Journal Creation Date Time
9 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

Prompt Table: OPRID_VW

10 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Prompt Table: CURRENCY_CD_TBL

11 JRNL_TOTAL_DEBITS Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a running total of the debit amounts in a journal entry. It is maintained by PeopleSoft General Ledger as lines are entered.
12 JRNL_TOTAL_LINES Number(9,0) DECIMAL(9) NOT NULL Represents a running total of the number of lines in a journal entry. It is maintained by PeopleSoft General Ledger as lines are entered.
13 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
14 SOURCE Character(3) VARCHAR2(3) NOT NULL Identifies the origin of a journal entry and defines journal entry error handling options. The journal source provides a means of selectively tracking, reporting, and inquiring on journal entries. It can be almost anything within the enterprise - a subsystem that generates transactions, a department, or even an individual.

Default Value: OPR_DEF_TBL_FS.SOURCE

Prompt Table: SOURCE_TBL

15 JOURNAL_ID Character(10) VARCHAR2(10) NOT NULL Identifies a journal entry, consisting of a header and one or more lines. The Journal ID itself does not have to be unique, but together with the journal business unit and journal date, it forms a unique journal identifier.
16 DESCR Character(30) VARCHAR2(30) NOT NULL Description
17 END_DT Date(10) DATE End Date
18 DAYSTOCLOSED Signed Number(7,0) DECIMAL(6) NOT NULL Days to Closed
19 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