HR_ACCTG_LN_VW

(SQL View)
Index Back

Payroll Accounting Line

This record contains the consolidated payroll accounting detail.

SELECT A.RUN_DT , A.SEQNUM , A.LINE_NBR , A.BUSINESS_UNIT_GL , A.JOURNAL_ID , A.JOURNAL_DATE , A.JOURNAL_LINE , A.ACCOUNT , A.DEPTID , %subrec(CF12_AN_SBR, A) , A.PROJECT_ID , A.STATISTICS_CODE , A.MONETARY_AMOUNT , A.FOREIGN_AMOUNT , A.FOREIGN_CURRENCY , A.RT_TYPE , A.RATE_MULT , A.RATE_DIV , A.STATISTIC_AMOUNT , A.JRNL_LN_REF , A.OPEN_ITEM_STATUS , A.LINE_DESCR , A.JRNL_LINE_STATUS , A.JOURNAL_LINE_DATE , A.BUSINESS_UNIT , A.APPL_JRNL_ID , A.ACCOUNTING_DT , A.GL_DISTRIB_STATUS , A.PROCESS_INSTANCE , A.CURRENCY_CD , A.ACCOUNTING_PERIOD , A.FISCAL_YEAR , A.LEDGER , A.LEDGER_GROUP FROM PS_HR_ACCTG_LINE A WHERE A.JOURNAL_ID<>' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 RUN_DT Date(10) DATE Run Date
2 SEQNUM Number(3,0) SMALLINT NOT NULL Sequence Number
3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
4 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
5 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.
6 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
7 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.
8 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
9 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
10 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField
11 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField
12 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code
13 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field
14 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField
15 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference
16 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
17 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1
18 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate
19 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1
20 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2
21 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3
22 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
23 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
24 MONETARY_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account.
25 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.
26 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
27 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
28 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
29 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
30 STATISTIC_AMOUNT Signed Number(17,2) DECIMAL(15,2) NOT NULL Specifies the amount associated with a statistical account on a journal line or a distribution line. It represents a quantity rather than a monetary amount and is qualified by the Unit of Measure associated with the STATISTICS_CODE or statistics ACCOUNT.
31 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.
32 OPEN_ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Open Item Status
C=Closed Item
N=Not an Open Item Account
O=Open Item
33 LINE_DESCR Character(30) VARCHAR2(30) NOT NULL Describes the nature of a journal line. It is defaulted from the description of the Account ChartField or manually entered.
34 JRNL_LINE_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates the stage of processing of a journal entry.
0=OK - No Errors
1=Uncorrected Error(s)
35 JOURNAL_LINE_DATE Date(10) DATE Specifies the date of a journal line. This date must be the same as the journal date on the header (JOURNAL_DATE) in order for the Parent/Child relationship to remain intact.
36 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
37 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
38 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
39 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
40 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
41 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
42 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.
43 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
44 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
45 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group