JRNL_APPR_L_VW(SQL View) |
Index Back |
---|---|
JRNL Line for Fluid ApprovalJournal Line for Fluid Journal Approval |
SELECT H.BUSINESS_UNIT_IU , H.JOURNAL_ID , H.JOURNAL_DATE , H.BUSINESS_UNIT , L.JOURNAL_LINE , L.LEDGER , L.ACCOUNT , L.ALTACCT , L.DEPTID , %subrec(CF12_AN_SBR, L) , L.BOOK_CODE , %subrec(PC_CF1_N_SBR, L) , L.MONETARY_AMOUNT , L.CURRENCY_CD , L.LINE_DESCR , L.MOVEMENT_FLAG , L.FOREIGN_AMOUNT , L.FOREIGN_CURRENCY , L.GL_ADJUST_TYPE , L.BUDGET_PERIOD , L.BUDGET_DT , L.BUDGET_LINE_STATUS , L.STATISTIC_AMOUNT , L.STATISTICS_CODE , L.JRNL_LN_REF , L.SUSPENDED_LINE , L.JRNL_LINE_STATUS , L.JOURNAL_LINE_DATE , L.DOC_TYPE , L.DOC_SEQ_NBR , L.DOC_SEQ_DATE , L.DOC_SEQ_STATUS , L.JRNL_LINE_SOURCE , L.DATE_CODE , L.CLOSING_STATUS , L.ENTRY_EVENT , L.IU_TRAN_GRP_NBR , L.IU_ANCHOR_FLG , L.RT_TYPE , L.SCENARIO , L.PC_DISTRIB_STATUS FROM PS_JRNL_LN L , PS_JRNL_HEADER H , PS_SET_CNTRL_REC SC , PS_LED_GRP_LED_TBL LG , PS_LED_GRP_TBL C WHERE H.BUSINESS_UNIT = L.BUSINESS_UNIT AND H.JOURNAL_ID = L.JOURNAL_ID AND H.JOURNAL_DATE = L.JOURNAL_DATE AND H.UNPOST_SEQ = L.UNPOST_SEQ AND SC.SETCNTRLVALUE = L.BUSINESS_UNIT AND SC.RECNAME = 'LED_GRP_LED_TBL' AND LG.SETID = SC.SETID AND LG.LEDGER_GROUP = H.LEDGER_GROUP AND C.SETID = LG.SETID AND C.LEDGER_GROUP = LG.LEDGER_GROUP AND ((LG.PRIMARY_LEDGER = 'Y' AND (C.LEDGERS_SYNC='Y' OR H.AUTO_GEN_LINES='Y')) OR (C.LEDGERS_SYNC <>'Y' AND H.AUTO_GEN_LINES <>'Y')) AND LG.LEDGER = L.LEDGER AND L.UNPOST_SEQ = 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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. |
3 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
4 | BUSINESS_UNIT_LN | Character(5) | VARCHAR2(5) NOT NULL |
Line Business Unit
Prompt Table: SP_BU_GL_NONVW |
5 | 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. |
6 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
7 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
8 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL | Alternate Account |
9 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
10 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL | Operating Unit ChartField |
11 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL | Product ChartField |
12 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL | Fund Code |
13 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL | Class Field |
14 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL | Program Code ChartField |
15 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL | Budget Reference |
16 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Affiliate |
17 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL | IntraUnit Affiliate1 |
18 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
19 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL | Expansion chartfield 1 |
20 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 2 |
21 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 3 |
22 | BOOK_CODE | Character(4) | VARCHAR2(4) NOT NULL |
Book Code
Prompt Table: BOOK_CODE_TBL |
23 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL |
PC Business Unit
Prompt Table: %EDIT_BU_PC |
24 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: %EDIT_PROJECT |
25 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: %EDIT_ACTIVITY |
26 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table:
PROJ_RESTYPE_FS
|
27 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Category
Prompt Table:
%EDIT_RES_CAT
|
28 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL |
Subcategory
Prompt Table:
%EDIT_RES_SUB
|
29 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Analysis Type
Prompt Table:
%EDIT_ANALYSIS
|
30 | 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. |
31 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
32 | 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. |
33 | 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 |
34 | 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. |
35 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
36 | GL_ADJUST_TYPE | Character(4) | VARCHAR2(4) NOT NULL | Adjustment Type |
37 | BUDGET_PERIOD | Character(8) | VARCHAR2(8) NOT NULL | Budget Period |
38 | BUDGET_DT | Date(10) | DATE | Budget Date |
39 | 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 |
40 | 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. |
41 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
42 | 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. |
43 | SUSPENDED_LINE | Number(9,0) | DECIMAL(9) NOT NULL | Identifies the line number of the journal line containing an edit error in a suspense journal. It is used as a reference for entering journal suspense corrections. |
44 | JRNL_LINE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates the stage of processing of a journal entry.
0=OK - No Errors 1=Uncorrected Error(s) |
45 | JOURNAL_LINE_DATE | Date(10) | DATE | Specifies the date of a journal line. This date must be the same as the journal date on the header (JOURNAL_DATE) in order for the Parent/Child relationship to remain intact. |
46 | 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. |
47 | 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. |
48 | 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. |
49 | DOC_SEQ_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates a document sequencing error. If there is no error the field is blank and document is considered valid for posting.
1=Document Sequencing Disabled A=GL BU Undefined B=GL BU Blank C=Accounting Date blank D=Doc Type Blank E=Jrnl Type, Code, Doc Undefine F=Sequence Range Undefine G=Max. Sequence Number Reached H=Manual Nbr for Auto Doc Type I=No Manual Number Entered J=Duplicate Manual Number K=Invalid Ledger L=Invalid Ledger Group N=No Status |
50 | JRNL_LINE_SOURCE | Character(3) | VARCHAR2(3) NOT NULL | Identifies the origin of a journal line and defines journal entry error handling options. The journal source provides a means of selectively tracking, reporting, and inquiring on journal entries. It can be almost anything within the enterprise - a subsystem that generates transactions, a department, or even an individual. Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values. |
51 | DATE_CODE | Character(1) | VARCHAR2(1) NOT NULL | This field defines codes for Date field used in Journal lines record. The Different date fields can be used as the basis for alternate Posting to satisfy Trade Date/Settlement date requirements. |
52 | CLOSING_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A status to show whether the status of the entries in the closing process.
C=Entry is closed U=Entry is Unclosed |
53 | ENTRY_EVENT | Character(10) | VARCHAR2(10) NOT NULL | Entry Event |
54 | IU_TRAN_GRP_NBR | Number(4,0) | SMALLINT NOT NULL | To support multiple InterUnit or IntraUnit groups in a single journal. |
55 | 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). |
56 | 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. |
57 | SCENARIO | Character(10) | VARCHAR2(10) NOT NULL | A unique key identifier that allows a treasury to classify distinct revaluation events as varying and divergent ca |
58 | PC_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
PC Distribution Status
B=Budget Check D=Distributed G=Generated H=Hold I=Ignore M=Modified N=Not Distributed S=Staged |