OI_ACT_GEN_VW(SQL View) |
Index Back |
---|---|
JrnlGen Accounting Entry ViewGeneric Journal Generator accounting entry View. |
SELECT A.BUSINESS_UNIT , A.TRANSACTION_ID , A.SEQUENCENO , CASE WHEN A.LEDGER_GROUP = ' ' THEN B.LEDGER_GROUP ELSE A.LEDGER_GROUP END , CASE WHEN A.LEDGER = ' ' THEN B.LEDGER ELSE A.LEDGER END , A.ACCOUNTING_DT , A.APPL_JRNL_ID , A.BUSINESS_UNIT_GL , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.JOURNAL_ID , A.JOURNAL_DATE , A.JOURNAL_LINE , A.ACCOUNT , A.ALTACCT , A.DEPTID ,%subrec(CF12_AN_SBR,A) , A.PROJECT_ID , A.CURRENCY_CD , A.STATISTICS_CODE , A.FOREIGN_CURRENCY , A.RT_TYPE , A.RATE_MULT , A.RATE_DIV , A.MONETARY_AMOUNT , A.FOREIGN_AMOUNT , A.STATISTIC_AMOUNT , A.MOVEMENT_FLAG , A.DOC_TYPE , A.DOC_SEQ_NBR , A.DOC_SEQ_DATE , A.JRNL_LN_REF , A.LINE_DESCR , A.IU_SYS_TRAN_CD , A.IU_TRAN_CD , A.IU_ANCHOR_FLG , A.GL_DISTRIB_STATUS , A.PROCESS_INSTANCE , A.DTTM_STAMP ,CASE WHEN C.JRNL_HDR_STATUS IS NULL THEN ' ' ELSE C.JRNL_HDR_STATUS END FROM PS_JGEN_ACCT_ENTRY A LEFT OUTER JOIN PS_JRNL_HEADER C ON A.BUSINESS_UNIT_GL = C.BUSINESS_UNIT AND A.JOURNAL_ID = C.JOURNAL_ID AND A.JOURNAL_DATE = C.JOURNAL_DATE , PS_OI_BULEDGRP_VW B WHERE A.BUSINESS_UNIT=B.BUSINESS_UNIT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | TRANSACTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Transaction ID |
3 | SEQUENCENO | Number(10,0) | DECIMAL(10) NOT NULL | Sequence Number |
4 | LEDGER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Ledger Group |
5 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
6 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
7 | APPL_JRNL_ID | Character(10) | VARCHAR2(10) NOT NULL | Journal Template |
8 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
9 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
10 | 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. |
11 | 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. |
12 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
13 | 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. |
14 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
15 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL | Alternate Account |
16 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
17 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL | Operating Unit ChartField |
18 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL | Product ChartField |
19 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL | Fund Code |
20 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL | Class Field |
21 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL | Program Code ChartField |
22 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL | Budget Reference |
23 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Affiliate |
24 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL | IntraUnit Affiliate1 |
25 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
26 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL | Expansion chartfield 1 |
27 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 2 |
28 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 3 |
29 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
30 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
31 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
32 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
33 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
34 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
35 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
36 | 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. |
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 | 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. |
39 | MOVEMENT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
A flag associated with a journal line that indicates whether its amount is in the natural sign or the reversal sign.
N=Natural R=Reversal |
40 | DOC_TYPE | Character(8) | VARCHAR2(8) NOT NULL | Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code. |
41 | DOC_SEQ_NBR | Character(12) | VARCHAR2(12) NOT NULL | Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated. |
42 | DOC_SEQ_DATE | Date(10) | DATE | Specifies the date that a document sequence number is assigned to a document or the date the document was created. |
43 | 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. |
44 | 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. |
45 | IU_SYS_TRAN_CD | Character(8) | VARCHAR2(8) NOT NULL | System Transactions are delivered system data, representing the activities that can require interunit or intraunit accounting entries. |
46 | IU_TRAN_CD | Character(8) | VARCHAR2(8) NOT NULL | Transaction Codes are user-defined. They are mapped to the delivered System Transactions. InterUnit and IntraUnit Templates are keyed by Transaction code, allowing users to vary their accounting by transaction. |
47 | IU_ANCHOR_FLG | Character(1) | VARCHAR2(1) NOT NULL | Y/N flag used to specify which transaction line is the Inter/IntraUnit anchor flag (the line that contains the anchor Business Unit and ChartFields). |
48 | 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 |
49 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
50 | DTTM_STAMP | DateTime(26) | TIMESTAMP |
Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
Default Value: %Datetime |
51 | JRNL_HDR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates the processing status of a journal entry.
D=Deleted E=Journal Has Errors I=Posting Incomplete M=Valid SJE Model -- Do Not Post N=No Status - Needs to be Edited P=Posted to Ledger(s) T=Journal Entry Incomplete U=Unposted V=Valid Journal - Edits Complete X=Cancelled Z=Upgrade Journal - Can't Unpost |