JRNL_LN_CA2

(SQL View)
Index Back

Journal Line Data


SELECT C.BUSINESS_UNIT_GL , A.JOURNAL_ID , A.JOURNAL_DATE , A.UNPOST_SEQ , A.JOURNAL_LINE , A.LEDGER , A.ACCOUNT , C.BUSINESS_UNIT_PC , A.PROJECT_ID , C.CONTRACT_NUM , C.CONTRACT_LINE_NUM , A.DEPTID , %subrec(CF13_AN_SBR,A) , A.CURRENCY_CD , A.STATISTICS_CODE , A.MONETARY_AMOUNT , A.MOVEMENT_FLAG , A.STATISTIC_AMOUNT , A.JRNL_LN_REF , A.SUSPENDED_LINE , A.LINE_DESCR , A.JRNL_LINE_STATUS , A.JOURNAL_LINE_DATE , A.FOREIGN_CURRENCY , A.RT_TYPE , A.FOREIGN_AMOUNT , A.RATE_DIV , A.RATE_MULT , A.PROCESS_INSTANCE , A.DOC_TYPE , A.DOC_SEQ_NBR , A.DOC_SEQ_DATE , A.DOC_SEQ_STATUS , A.JRNL_LINE_SOURCE FROM PS_JRNL_LN A , PS_JRNL_HEADER B , PS_CA_ACCTG_LN_PC C WHERE A.JOURNAL_DATE=B.JOURNAL_DATE AND A.JOURNAL_ID=B.JOURNAL_ID AND A.BUSINESS_UNIT=B.BUSINESS_UNIT AND B.JOURNAL_DATE = C.JOURNAL_DATE AND B.JOURNAL_ID = C.JOURNAL_ID AND A.JOURNAL_LINE = C.JOURNAL_LINE AND B.BUSINESS_UNIT = C.BUSINESS_UNIT_GL AND A.UNPOST_SEQ=0 AND B.ACCTG_DEF_NAME IN ('CAPCDEFN', 'GMDEFN','CAPCREV')

  • Parent record: JRNL_HEADER_FS
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL 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 NOT NULL 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 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.

    Default Value: 1

    6 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger

    Prompt Table: SP_LEDGER_NONVW

    7 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

    Prompt Table: GL_ACCOUNT_TBL

    8 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

    Prompt Table: SP_BU_PC_NONVW

    9 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

    Prompt Table: SP_PRJGL_NONVW

    10 CONTRACT_NUM_CA Character(25) VARCHAR2(25) NOT NULL Contract Number

    Prompt Table: CA_BU_SP_NONVW

    11 CONTRACT_LINE_NUM Number(3,0) SMALLINT NOT NULL Contract Line Num
    12 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: DEPT_TBL

    13 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

    Prompt Table: OPER_UNIT_TBL

    14 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

    Prompt Table: PRODUCT_TBL

    15 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

    Prompt Table: FUND_TBL

    16 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

    Prompt Table: CLASS_CF_TBL

    17 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

    Prompt Table: PROGRAM_TBL

    18 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

    Prompt Table: BUD_REF_TBL

    19 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

    Prompt Table: AFFILIATE_VW

    20 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

    Prompt Table: %EDIT_INTRA01

    21 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

    Prompt Table: %EDIT_INTRA02

    22 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

    Prompt Table: CHARTFIELD1_TBL

    23 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

    Prompt Table: CHARTFIELD2_TBL

    24 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

    Prompt Table: CHARTFIELD3_TBL

    25 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Prompt Table: CURRENCY_CD_TBL

    26 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
    27 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.
    28 MOVEMENT_FLAG Character(1) VARCHAR2(1) NOT NULL A flag associated with a journal line that indicates whether its amount is in the natural sign or the reversal sign.
    N=Natural
    R=Reversal
    29 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.
    30 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.
    31 SUSPENDED_LINE Number(9,0) DECIMAL(9) NOT NULL Identifies the line number of the journal line containing an edit error in a suspense journal. It is used as a reference for entering journal suspense corrections.
    32 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.

    Default Value: GL_ACCOUNT_TBL.DESCR

    33 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)

    Default Value: 0

    34 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.
    35 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
    36 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.

    Prompt Table: RT_TYPE_TBL

    37 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.
    38 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
    39 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
    40 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
    41 DOC_TYPE Character(8) VARCHAR2(8) NOT NULL Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code.
    42 DOC_SEQ_NBR Character(12) VARCHAR2(12) NOT NULL Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated.
    43 DOC_SEQ_DATE Date(10) DATE Specifies the date that a document sequence number is assigned to a document or the date the document was created.
    44 DOC_SEQ_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates a document sequencing error. If there is no error the field is blank and document is considered valid for posting.
    1=Document Sequencing Disabled
    A=GL BU Undefined
    B=GL BU Blank
    C=Accounting Date blank
    D=Doc Type Blank
    E=Jrnl Type, Code, Doc Undefine
    F=Sequence Range Undefine
    G=Max. Sequence Number Reached
    H=Manual Nbr for Auto Doc Type
    I=No Manual Number Entered
    J=Duplicate Manual Number
    K=Invalid Ledger
    L=Invalid Ledger Group
    N=No Status
    45 JRNL_LINE_SOURCE Character(3) VARCHAR2(3) NOT NULL Identifies the origin of a journal line 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. Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values.