KK_WC_BJLNX_VW

(SQL View)
Index Back

BUDGET Journal Exception Lines

Join of KK_SOURCE_LN with the Source Line table via KK_SOURCE_HDR. Retrieves specifics of the non-key source fields.. NEW IN 89.

SELECT DISTINCT A.BUSINESS_UNIT , A.JOURNAL_ID , A.JOURNAL_DATE , A.UNPOST_SEQ , B.JOURNAL_LINE , B.LEDGER , B.BUDGET_PERIOD , B.ACCOUNT , B.DEPTID , %subrec(CF14_AN_SBR, B) , %subrec(CFCC2_AN_SBR, B) , B.BUDGET_DT , B.BUDGET_LINE_STATUS , B.STATISTICS_CODE , B.STATISTIC_AMOUNT , B.FOREIGN_AMOUNT , B.FOREIGN_CURRENCY , B.MONETARY_AMOUNT , B.CURRENCY_CD , B.LINE_DESCR , D.KK_TRAN_ID , D.KK_TRAN_DT , D.KK_TRAN_LN , D.LEDGER_GROUP , D.EXCPTN_TYPE , D.NOTIFY_WF_MSG , D.MESSAGE_NBR , D.MESSAGE_PARM1 , D.MESSAGE_PARM2 , D.MESSAGE_PARM3 , D.MESSAGE_PARM4 FROM PS_KK_SHDR_GLBDJNL A , PS_KK_BUDGET_LN B , PS_KK_SOURCE_LN C , PS_KK_EXCPTN_TBL D WHERE A.KK_SOURCE_TRAN = 'GL_BD_JRNL' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.JOURNAL_ID = A.JOURNAL_ID AND B.JOURNAL_DATE = A.JOURNAL_DATE AND B.UNPOST_SEQ = A.UNPOST_SEQ AND C.KK_TRAN_ID = A.KK_TRAN_ID AND C.KK_TRAN_DT = A.KK_TRAN_DT AND C.JOURNAL_LINE = B.JOURNAL_LINE AND D.KK_TRAN_ID = A.KK_TRAN_ID AND D.KK_TRAN_DT = A.KK_TRAN_DT AND D.KK_TRAN_LN = C.KK_TRAN_LN

  • Parent record: KK_XCP_GL1_VW1
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL 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 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.
    6 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
    7 BUDGET_PERIOD Character(8) VARCHAR2(8) NOT NULL Budget Period

    Prompt Table: KK_TMP_BP_DVW

    8 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    9 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: DEPT_TBL

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

    Prompt Table: OPER_UNIT_TBL

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

    Prompt Table: PRODUCT_TBL

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

    Prompt Table: FUND_TBL

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

    Prompt Table: CLASS_CF_TBL

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

    Prompt Table: PROGRAM_TBL

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

    Prompt Table: BUD_REF_TBL

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

    Prompt Table: AFFILIATE_VW

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

    Prompt Table: %EDIT_INTRA01

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

    Prompt Table: %EDIT_INTRA02

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

    Prompt Table: CHARTFIELD1_TBL

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

    Prompt Table: CHARTFIELD2_TBL

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

    Prompt Table: CHARTFIELD3_TBL

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

    Prompt Table: PC_BU_GL_VW

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

    Prompt Table: PROJECT_ID_VW

    24 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

    Prompt Table: PROJ_ACT_FVW

    25 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

    Prompt Table: PROJ_RESTYPE_FS

    26 BUDGET_DT Date(10) DATE Budget Date
    27 BUDGET_LINE_STATUS Character(1) VARCHAR2(1) NOT NULL -> SL - 15-AUG-2002 MISC_CRITERIA label has been added <-
    B=Bypass
    E=Error
    N=Not Chk'd
    V=Valid
    W=Warning
    28 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
    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 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.
    31 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
    32 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.
    33 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
    34 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

    35 KK_TRAN_ID Character(10) VARCHAR2(10) NOT NULL Commitment Control Foreign Key for Transaction Identification.
    36 KK_TRAN_DT Date(10) DATE NOT NULL Commitment Control Transaction Original processing date. Primary key with KK_TRAN_ID.
    37 KK_TRAN_LN Number(9,0) DECIMAL(9) NOT NULL Commitment Control Transaction Line number.
    38 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
    39 EXCPTN_TYPE Character(3) VARCHAR2(3) NOT NULL Exception Type
    40 NOTIFY_WF_MSG Character(1) VARCHAR2(1) NOT NULL User WF Notification Message
    41 MESSAGE_NBR Number(5,0) INTEGER NOT NULL Message Number. This field refers to the Message Number in the Message Catalog.
    42 MESSAGE_PARM1 Character(30) VARCHAR2(30) NOT NULL Message Parameter 1
    43 MESSAGE_PARM2 Character(30) VARCHAR2(30) NOT NULL Message Parameter 2
    44 MESSAGE_PARM3 Character(30) VARCHAR2(30) NOT NULL Message Parameter 3
    45 MESSAGE_PARM4 Character(30) VARCHAR2(30) NOT NULL Message Parameter 4