GL_KK_EXCPTN_VW

(SQL View)
Index Back

Security Exceptions View

Used by the 'Mark Journals for Override' feature.

SELECT A.BUSINESS_UNIT ,A.JOURNAL_ID ,A.JOURNAL_DATE ,A.UNPOST_SEQ ,A.SOURCE ,A.FISCAL_YEAR ,A.ACCOUNTING_PERIOD ,A.LEDGER ,A.LEDGER_GROUP ,A.DESCR ,A.JRNL_TOTAL_LINES ,A.TRANS_REF_NUM ,A.JRNL_PROCESS_REQST ,A.JRNL_HDR_STATUS ,A.BUDGET_HDR_STATUS ,A.KK_TRAN_OVER_FLAG ,D.KK_TRAN_ID ,D.KK_TRAN_DT ,C.OVERRIDE_OPTN FROM PS_JRNL_HEADER A ,PS_KK_SOURCE_TRAN C ,PS_KK_SOURCE_HDR D WHERE A.JRNL_HDR_STATUS = 'V' AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.JOURNAL_DATE = D.JOURNAL_DATE AND A.JOURNAL_ID = D.JOURNAL_ID AND A.UNPOST_SEQ = D.UNPOST_SEQ AND D.KK_PROCESS_STATUS = 'E' AND D.KK_SOURCE_TRAN = 'GL_JOURNAL' AND D.KK_SOURCE_TRAN = C.KK_SOURCE_TRAN

# 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 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.
3 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
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 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.
6 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
7 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.
8 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
9 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 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.
12 TRAN_REF_NUM Character(23) VARCHAR2(23) NOT NULL Merchant Assigned Reference Number
13 JRNL_PROCESS_REQST Character(1) VARCHAR2(1) NOT NULL A flag that determines when a journal is ready for posting. Some examples of the request flag are Approved to Post, Denied, and Pending Approval.
D=Default
E=Denied
G=Pending Approval
N=None
P=Approved to Post
Q=Pending for Unpost Approval
R=Replace
S=Security Denied
T=Terminated
U=Pending Request to Unpost
W=Approved to Post
X=Delete
14 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
15 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
16 KK_TRAN_OVER_FLAG Character(1) VARCHAR2(1) NOT NULL Commitment Control source transaction override flag
N=No
Y=Yes
17 KK_TRAN_ID Character(10) VARCHAR2(10) NOT NULL Commitment Control Foreign Key for Transaction Identification.
18 KK_TRAN_DT Date(10) DATE Commitment Control Transaction Original processing date. Primary key with KK_TRAN_ID.
19 OVERRIDE_OPTN Character(1) VARCHAR2(1) NOT NULL Override Option
0=Allow Override
1=Do not Allow Override
2=Auto Override