PC_WC_JRNL_VW

(SQL View)
Index Back

Missing Journal Analysis Type

Missing General Journal Analysis Type

SELECT JNL.BUSINESS_UNIT ,JNL.JOURNAL_ID ,JNL.JOURNAL_DATE ,JNL.ACCOUNT ,%subrec(CFS16_AN_SBR,JNL) ,JNL.DEPTID ,JNL.BUSINESS_UNIT_PC ,JNL.PROJECT_ID ,PRJ.DESCR ,JNL.ACTIVITY_ID ,JNL.ANALYSIS_TYPE ,JNL.JOURNAL_DATE ,JNL.FOREIGN_AMOUNT ,JNL.FOREIGN_CURRENCY , MYP.OPRID FROM PS_JRNL_HEADER JHR , PS_JRNL_LN JNL ,PS_PROJECT PRJ , PS_PC_OPRID_PRJACT MYP WHERE JHR.BUSINESS_UNIT = JNL.BUSINESS_UNIT AND JHR.JOURNAL_ID = JNL.JOURNAL_ID AND JHR.JOURNAL_DATE = JNL.JOURNAL_DATE AND JHR.UNPOST_SEQ = JNL.UNPOST_SEQ AND JHR.JRNL_HDR_STATUS = 'P' AND PRJ.BUSINESS_UNIT = MYP.BUSINESS_UNIT AND PRJ.PROJECT_ID = MYP.PROJECT_ID AND PRJ.EFF_STATUS = 'A' AND JNL.BUSINESS_UNIT_PC = PRJ.BUSINESS_UNIT AND JNL.PROJECT_ID = PRJ.PROJECT_ID AND JNL.ANALYSIS_TYPE = ' ' AND JNL.BUSINESS_UNIT_PC <> ' ' AND JNL.PROJECT_ID <> ' ' AND NOT EXISTS ( SELECT 'X' FROM PS_JRNL_HEADER JHDR WHERE JHDR.JOURNAL_ID = JHR.JOURNAL_ID AND JRNL_HDR_STATUS = 'U' AND UNPOST_SEQ = 0)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL 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 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
5 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: %EDIT_OPER_UNIT

6 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: %EDIT_PRODUCT

7 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: %EDIT_FUND_CODE

8 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: %EDIT_CLASS_FLD

9 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: %EDIT_PROG_CODE

10 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: %EDIT_BUD_REF

11 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

12 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

13 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

14 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: %EDIT_CHARTFLD1

15 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: %EDIT_CHARTFLD2

16 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: %EDIT_CHARTFLD3

17 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
18 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
19 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
20 DESCR1 Character(30) VARCHAR2(30) NOT NULL Descr
21 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
22 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type
23 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
24 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.
25 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
26 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).