RTBL_JHDR_DRILL

(SQL View)
Index Back

View of Journal Transactions


SELECT DISTINCT H.SCE_ID , H.BUSINESS_UNIT , H.JOURNAL_ID , H.JOURNAL_DATE , H.UNPOST_SEQ , H.BUSINESS_UNIT_IU , H.FISCAL_YEAR , H.ACCOUNTING_PERIOD , H.LEDGER_GROUP , H.JRNL_HDR_STATUS , H.DESCR , H.SOURCE , H.JRNL_TOTAL_LINES , H.JRNL_TOTAL_DEBITS , H.JRNL_TOT_CREDITS , L.JOURNAL_LINE , L.LEDGER , L.ACCOUNT , L.ALTACCT , L.DEPTID , %subrec(CF12_AN_SBR,L) , L.PROJECT_ID , L.BOOK_CODE , L.GL_ADJUST_TYPE , L.STATISTICS_CODE , L.FOREIGN_CURRENCY , L.CURRENCY_CD FROM PS_RTBL_JHDR H , PS_RTBL_JLN L WHERE H.BUSINESS_UNIT = L.BUSINESS_UNIT AND H.JOURNAL_ID = L.JOURNAL_ID AND H.JOURNAL_DATE = L.JOURNAL_DATE AND H.UNPOST_SEQ = L.UNPOST_SEQ AND H.JRNL_HDR_STATUS IN ('P', 'U')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SCE_ID Character(10) VARCHAR2(10) NOT NULL ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 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.
4 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
5 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".
6 BUSINESS_UNIT_IU Character(5) VARCHAR2(5) NOT NULL Specifies the Business Unit for which InterUnit activity is being generated.
7 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
8 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.
9 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
10 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
11 DESCR Character(30) VARCHAR2(30) NOT NULL Description
12 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.
13 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.
14 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.
15 JRNL_TOT_CREDITS Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a running total of the credit amounts in a journal entry. It is maintained by PeopleSoft General Ledger as lines are entered.
16 JOURNAL_LINE Number(9,0) DECIMAL(9) NOT NULL Uniquely identifies a journal line with a sequence number. Within a single journal entry, the line sequence begins with 1 and automatically increments by 1 for each succeeding journal line. There can be any number of lines associated with a journal header.
17 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
18 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
19 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
20 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
21 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField
22 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField
23 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code
24 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field
25 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField
26 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference
27 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
28 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1
29 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate
30 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1
31 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2
32 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3
33 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
34 BOOK_CODE Character(4) VARCHAR2(4) NOT NULL Book Code
35 GL_ADJUST_TYPE Character(4) VARCHAR2(4) NOT NULL Adjustment Type
36 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
37 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
38 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code