EE_REQ_REV_VW1(SQL View) |
Index Back |
---|---|
REQ Entry Event Reversal View1Requisition Reversals for cancelled PO's with Requisition lines to be re-sourced. |
SELECT B.BUSINESS_UNIT , B.REQ_ID , C.UNPOST_SEQ , C.LINE_NBR , C.SCHED_NBR , C.DISTRIB_LINE_NUM , 0 , ' ' , 'REQREVRSAL' , A.KK_TRAN_ID , A.KK_TRAN_DT , A.KK_TRAN_LN , A.RVRSL_FLG , A.SEQNBR , A.BALANCING_LINE , 'Y' , 'N' , A.STATISTICS_CODE , A.FOREIGN_CURRENCY , A.STATISTIC_AMOUNT , ' ' , ' ' , A.ACCOUNTING_DT , A.ACCOUNTING_PERIOD , A.FISCAL_YEAR , A.BUSINESS_UNIT , D.ASSOCIATED_LED_GRP , ' ' , ' ' , 0 , A.ACCOUNT , A.DEPTID ,%subrec(CF16_AN_SBR, A) , %subrec(CFCC1_AN_SBR, A) , A.MONETARY_AMOUNT , A.FOREIGN_AMOUNT , 'N' , B.PROCESS_INSTANCE , A.ENTRY_EVENT , ' ' , ' ' , A.EE_PROC_STATUS FROM PS_KK_ACTIVITY_LOG A , PS_KK_SOURCE_HDR B , PS_KK_SOURCE_LN C , PS_BU_LED_GRP_TBL D , PS_BUL_CNTL_BUD E , PS_KK_REFERENCED F , PS_REQ_HDR G WHERE B.KK_TRAN_ID = F.KK_REFD_ID AND B.KK_TRAN_DT = F.KK_REFD_DT AND F.KK_REFD_ID = C.KK_TRAN_ID AND F.KK_REFD_DT = C.KK_TRAN_DT AND F.KK_REFD_LN = C.KK_TRAN_LN AND F.KK_TRAN_ID = A.KK_TRAN_ID AND F.KK_TRAN_DT = A.KK_TRAN_DT AND F.KK_TRAN_LN = A.KK_TRAN_LN AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.LEDGER_GROUP = D.LEDGER_GROUP AND D.BUSINESS_UNIT = E.BUSINESS_UNIT AND D.LEDGER_GROUP = E.KK_LEDGER_GROUP AND E.KK_DETAIL_LED = 'Y' AND A.CLOSED_VALUE = 'Y' AND A.ENTRY_EVENT <> ' ' AND B.KK_SOURCE_TRAN = 'REQ_PREENC' AND B.BUSINESS_UNIT = G.BUSINESS_UNIT AND B.REQ_ID = G.REQ_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
3 | 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". |
4 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
5 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
6 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
7 | MOD_SEQ_NBR | Number(3,0) | SMALLINT NOT NULL | Modification Sequence Nbr |
8 | 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 |
9 | EE_EVENT_STEP | Character(10) | VARCHAR2(10) NOT NULL | Entry Event Step |
10 | KK_TRAN_ID | Character(10) | VARCHAR2(10) NOT NULL | Commitment Control Foreign Key for Transaction Identification. |
11 | KK_TRAN_DT | Date(10) | DATE | Commitment Control Transaction Original processing date. Primary key with KK_TRAN_ID. |
12 | KK_TRAN_LN | Number(9,0) | DECIMAL(9) NOT NULL | Commitment Control Transaction Line number. |
13 | RVRSL_FLG | Character(1) | VARCHAR2(1) NOT NULL | Commitment Control Reversal Flag |
14 | SEQNBR | Number(5,0) | INTEGER NOT NULL | Sequence Number |
15 | BALANCING_LINE | Character(1) | VARCHAR2(1) NOT NULL | Balancing Line |
16 | REFERENCED_BUDGET | Character(1) | VARCHAR2(1) NOT NULL | Referenced Budget |
17 | CLOSED_VALUE | Character(1) | VARCHAR2(1) NOT NULL | Closed Status field value |
18 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
19 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
20 | 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. |
21 | 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. |
22 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
23 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
24 | ACCOUNTING_PERIOD | Number(3,0) | SMALLINT NOT NULL | Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table. |
25 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
26 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
27 | LEDGER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Ledger Group |
28 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
29 | 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. |
30 | 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. |
31 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
32 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
33 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPERUNT_BUGL_VW |
34 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_BUGL_VW |
35 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_BUGL_VW |
36 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASSCF_BUGL_VW |
37 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_BUGL_VW |
38 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_BUGL_VW |
39 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
40 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
41 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
42 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CF1_BUGL_VW |
43 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CF2_BUGL_VW |
44 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CF3_BUGL_VW |
45 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
46 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
47 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
48 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Source Type |
49 | BUDGET_PERIOD | Character(8) | VARCHAR2(8) NOT NULL | Budget Period |
50 | 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. |
51 | 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. |
52 | GL_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Distribution Status
C=Available to Contracts D=Distributed G=Generated H=Hold I=Ignored J=Creating Journals M=Modified N=None P=To be processed X=Waiting for Reversal |
53 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
54 | ENTRY_EVENT | Character(10) | VARCHAR2(10) NOT NULL | Entry Event |
55 | JRNL_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Journal Description |
56 | OPEN_ITEM_KEY | Character(30) | VARCHAR2(30) NOT NULL | Open Item Key |
57 | EE_PROC_STATUS | Character(1) | VARCHAR2(1) NOT NULL | Entry Event Line Status |