KK_XCP_HR1_VW2

(SQL View)
Index Back

HR Payroll 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 B.KK_TRAN_ID ,B.KK_TRAN_DT ,B.KK_TRAN_LN ,C.RUN_DT ,C.SEQNUM ,C.KK_AMOUNT_TYPE ,C.ACCOUNTING_DT ,C.LINE_NBR ,C.BUSINESS_UNIT_GL ,C.ACCOUNT ,C.DEPTID , %subrec(CF12_AN_SBR, C) ,C.PROJECT_ID ,C.BUDGET_DT ,C.BUDGET_LINE_STATUS ,C.STATISTICS_CODE ,C.STATISTIC_AMOUNT ,C.FOREIGN_AMOUNT ,C.FOREIGN_CURRENCY ,C.MONETARY_AMOUNT ,C.CURRENCY_CD FROM PS_HR_ACCTG_LINE C ,PS_KK_SOURCE_LN B ,PS_KK_SOURCE_HDR D WHERE B.KK_TRAN_ID = D.KK_TRAN_ID AND B.KK_TRAN_DT = D.KK_TRAN_DT AND C.RUN_DT = D.RUN_DT AND C.SEQNUM = D.SEQNUM AND C.KK_AMOUNT_TYPE = D.KK_AMOUNT_TYPE AND C.ACCOUNTING_DT = D.ACCOUNTING_DT AND C.LINE_NBR = B.LINE_NBR

# 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 RUN_DT Date(10) DATE Run Date
5 SEQNUM Number(3,0) SMALLINT NOT NULL Sequence Number
6 KK_AMOUNT_TYPE Character(1) VARCHAR2(1) NOT NULL Commitment Control Amount Type
0=Budget
1=Actuals and Recognized
2=Encumbrance
3=Pre-Encumbrance
4=Collected Revenue
5=Planned
7=Actuals, Recognize and Collect
9=Dynamic
7 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
8 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
9 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
10 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
11 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPT_TBL

12 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField
13 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField
14 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code
15 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field
16 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField
17 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference
18 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
19 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1
20 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate
21 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1
22 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2
23 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3
24 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
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