RE_STGL_DRILL

(SQL View)
Index Back

View used for Drill from GL

This view is used for the Cross Product Drill from GL to RE and also the Review Journal Entries component.

SELECT A.BUSINESS_UNIT_GL , A.JOURNAL_ID , A.JOURNAL_DATE , A.JOURNAL_LINE , A.BUSINESS_UNIT , A.STLINE_KEY , A.APPL_JRNL_ID , A.TXN_GRP , A.LEDGER , A.STLINE_SCH_KEY , A.ACCOUNT , A.DEPTID , A.FOREIGN_AMOUNT , A.FOREIGN_CURRENCY , A.JRNL_LN_REF , A.ACCOUNTING_DT , A.ACCOUNTING_PERIOD , A.FISCAL_YEAR , A.GL_DISTRIB_STATUS , A.LEDGER_GROUP , A.STATISTICS_CODE , %subrec(CF12_AN_SBR,A ) , A.LS_NBR , A.LEASE_NAME FROM PS_RE_STLINE_GL_LS A

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
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 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.
5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_RE_NONVW

6 STLINE_KEY Number(15,0) DECIMAL(15) NOT NULL Straightline Key - Number (15)
7 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
8 TXN_GRP Character(1) VARCHAR2(1) NOT NULL Transaction Group
1=Base Rent
2=Security Deposit
3=Straightline Accounting
4=Operating Expense
5=Percent Rent
6=Miscellaneous Rent
7=Manual Fee
8=Lease Obligation
9=Lease Interest Expense
A=Prior Period Lease Obligation
B=Prior Period Lease Interest
C=Rent Expense
D=Lease Incentive
9 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
10 STLINE_SCH_KEY Number(15,0) DECIMAL(15) NOT NULL Straightline Schedule Key - Number (15)
11 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: GL_ACCT_BUGL_VW

12 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

13 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.
14 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
15 JRNL_LN_REF Character(10) VARCHAR2(10) NOT NULL Identifies a document, person, invoice, date, or any other piece of information that is associated with a journal line. It can be manually entered, or be defaulted from an accounting entry definition or from a Journal Generator Template. The journal line reference is optional, but helpful if you need to trace back to the source of the transaction.
16 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
17 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.
18 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
19 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
20 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
21 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
22 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField
23 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField
24 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code
25 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field
26 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField
27 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference
28 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
29 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1
30 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate
31 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1
32 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2
33 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3
34 LS_NBR Character(10) VARCHAR2(10) NOT NULL Lease Number, User Enterable or Generated Sequence Number
35 LEASE_NAME Character(60) VARCHAR2(60) NOT NULL Lease Name