KK_XCP_AP3_VW3(SQL View) |
Index Back |
---|---|
PE Accruals Exception LinesJoin of KK_SOURCE_LN with the Source Line table and intermediate of 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.BUSINESS_UNIT ,C.VOUCHER_ID ,C.UNPOST_SEQ ,C.APPL_JRNL_ID ,C.PYMNT_CNT ,C.VOUCHER_LINE_NUM ,C.DISTRIB_LINE_NUM ,C.DST_ACCT_TYPE ,C.CF_BAL_LINE_NUM ,C.LEDGER ,C.BUSINESS_UNIT_GL ,C.ACCOUNT , C.DEPTID ,%subrec(CF14_AN_SBR, C) ,%subrec(cfcc2_an_sbr,C) ,C.BUDGET_DT ,C.BUDGET_LINE_STATUS ,C.STATISTICS_CODE ,C.QTY_VCHR ,C.FOREIGN_AMOUNT ,C.FOREIGN_CURRENCY ,C.MONETARY_AMOUNT ,C.CURRENCY_CD FROM PS_VCHR_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.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.VOUCHER_ID = D.VOUCHER_ID AND C.UNPOST_SEQ = D.UNPOST_SEQ AND C.APPL_JRNL_ID = D.APPL_JRNL_ID AND C.PYMNT_CNT = D.PYMNT_CNT AND C.VOUCHER_LINE_NUM = B.VOUCHER_LINE_NUM AND C.DISTRIB_LINE_NUM = B.DISTRIB_LINE_NUM AND C.DST_ACCT_TYPE = 'DST' AND C.CF_BAL_LINE_NUM = B.CF_BAL_LINE_NUM AND C.LEDGER = B.LEDGER |
# | 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 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
5 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
6 | 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". |
7 | APPL_JRNL_ID | Character(10) | VARCHAR2(10) NOT NULL | Journal Template |
8 | PYMNT_CNT | Number(5,0) | INTEGER NOT NULL | Payments |
9 | VOUCHER_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Voucher Line Number |
10 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
11 | DST_ACCT_TYPE | Character(4) | VARCHAR2(4) NOT NULL | 07/20/04 st: added RCN for Advance Reconciliation 02/16/98 ebn CN#CM800-2.0 : Added for MISC type for Landed Cost Enhancement 11/11/99 llr: Added ADVP for Payables Advance Payment |
12 | CF_BAL_LINE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Chart Field Balancing Line Num |
13 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
14 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
15 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
16 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
17 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPER_UNIT_TBL |
18 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_TBL |
19 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_TBL |
20 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASS_CF_TBL |
21 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_TBL |
22 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_TBL |
23 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
24 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
25 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
26 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CHARTFIELD1_TBL |
27 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CHARTFIELD2_TBL |
28 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CHARTFIELD3_TBL |
29 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL |
PC Business Unit
Prompt Table: PC_BU_GL_VW |
30 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: PROJECT_ID_VW |
31 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: PROJ_ACT_FVW |
32 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table: PROJ_RESTYPE_FS |
33 | BUDGET_DT | Date(10) | DATE | Budget Date |
34 | 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 |
35 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
36 | KK_QUANTITY | Signed Number(20,4) | DECIMAL(18,4) NOT NULL | Commitment Control Quantity |
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 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
39 | 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. |
40 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |