KK_XCP_PC1_VW2

(SQL View)
Index Back

PC Bud Trans Exception Lines

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

SELECT DISTINCT A.KK_TRAN_ID ,A.KK_TRAN_DT ,B.KK_TRAN_LN ,C.BUSINESS_UNIT ,C.PROJECT_ID ,C.ACTIVITY_ID ,C.RESOURCE_ID ,C.RESOURCE_TYPE ,C.BUSINESS_UNIT_GL ,C.ACCOUNT ,C.ALTACCT , C.DEPTID , %subrec(CF14_AN_SBR, C) ,C.BUDGET_DT ,C.BUDGET_LINE_STATUS ,' ' ,0 ,C.FOREIGN_AMOUNT ,C.FOREIGN_CURRENCY ,C.MONETARY_AMOUNT ,C.CURRENCY_CD FROM PS_KK_SOURCE_HDR A , PS_KK_SOURCE_LN B , PS_INTFC_PROJ_RES C WHERE A.KK_TRAN_ID = B.KK_TRAN_ID AND A.KK_TRAN_DT = B.KK_TRAN_DT AND A.BUSINESS_UNIT_PC = C.BUSINESS_UNIT AND A.PROJECT_ID = C.PROJECT_ID AND A.ACTIVITY_ID = C.ACTIVITY_ID AND B.RESOURCE_ID = C.RESOURCE_ID

  • Parent record: KK_XCP_GEN_VW1
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 KK_TRAN_ID Character(10) VARCHAR2(10) NOT NULL Commitment Control Foreign Key for Transaction Identification.
    2 KK_TRAN_DT Date(10) DATE Commitment Control Transaction Original processing date. Primary key with KK_TRAN_ID.
    3 KK_TRAN_LN Number(9,0) DECIMAL(9) NOT NULL Commitment Control Transaction Line number.
    4 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
    5 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
    6 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
    7 RESOURCE_ID Character(40) VARCHAR2(40) NOT NULL Transaction ID
    8 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type
    9 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    10 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    11 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
    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: OPERUNT_NB_VW

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

    Prompt Table: PRODUCT_NB_VW

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

    Prompt Table: FUND_NB_VW

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

    Prompt Table: CLASS_CF_NB_VW

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

    Prompt Table: PROGRAM_NB_VW

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

    Prompt Table: BUD_REF_NB_VW

    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: CF1_NB_VW

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

    Prompt Table: CF2_NB_VW

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

    Prompt Table: CF3_NB_VW

    25 BUDGET_DT Date(10) DATE Budget Date
    26 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
    27 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
    28 KK_QUANTITY Signed Number(20,4) DECIMAL(18,4) NOT NULL Commitment Control Quantity
    29 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.
    30 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
    31 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.
    32 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code