JRNL_WC_JOPN_VW(SQL View) |
Index Back |
---|---|
GL Work Center ViewUsed for links to select Journals Not Poseted in Open Period |
SELECT DISTINCT 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 , B.OPEN_FROM_DATE , B.OPEN_TO_DATE , %DateDiff(A.JOURNAL_DATE, B.OPEN_TO_DATE) , A.KK_AMOUNT_TYPE FROM PS_JRNL_HEADER A , PS_FIN_OPEN_PERIOD B WHERE EXISTS ( SELECT 'X' FROM PS_JRNL_HEADER X WHERE X.BUSINESS_UNIT_IU = A.BUSINESS_UNIT_IU AND X.BUSINESS_UNIT = A.BUSINESS_UNIT_IU AND X.JOURNAL_ID = A.JOURNAL_ID AND X.JOURNAL_DATE = A.JOURNAL_DATE AND X.UNPOST_SEQ = A.UNPOST_SEQ) AND B.PSFT_PRODUCT = 'GL' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.LEDGER_GROUP = A.LEDGER_GROUP AND B.TRANSACTION_TYPE = 'DEF' |
# | 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 | OPEN_FROM_DATE | Date(10) | DATE | First Open Day |
18 | OPEN_TO_DATE | Date(10) | DATE | Last Open Day |
19 | DAYSTOCLOSED | Signed Number(7,0) | DECIMAL(6) NOT NULL | Days to Closed |
20 | 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 |