LM_BO001_LG4_VW

(SQL View)
Index Back

General Ledger Report view 2


SELECT A.OPRID , A.RUN_CNTL_ID , A.LM_SUBLEDGER_ID , A.LM_SUBLEDGER , B.LM_SUBLEDGER_DESCR , A.LM_SUBLEDG_GL_STAT , A.LM_SUBLEDGER_DT , A.NAME , A.LM_GL_AMOUNT , A.CURRENCY_CD , A.LM_ACT_CD , C.LM_CS_LONG_NM , A.LM_STTS , A.LM_JOURNAL_ID , A.LM_JOURNAL_DATE , D.XLATLONGNAME , E.XLATLONGNAME FROM PS_LM_BO001_4_VW A , PS_LM_SUBLGID_LANG B , PS_LM_ACT_CI_LVW C , PSXLATITEMLANG D , PSXLATITEMLANG E WHERE A.LM_SUBLEDGER_ID = B.LM_SUBLEDGER_ID AND A.LANGUAGE_CD = B.LANGUAGE_CD AND A.LM_ACT_ID=C.LM_ACT_ID AND A.LANGUAGE_CD = C.LANGUAGE_CD AND A.LANGUAGE_CD = D.LANGUAGE_CD AND D.FIELDNAME='LM_STTS' AND D.FIELDVALUE=A.LM_STTS AND A.LANGUAGE_CD = E.LANGUAGE_CD AND E.FIELDNAME='LM_SUBLEDG_GL_STAT' AND E.FIELDVALUE=A.LM_SUBLEDG_GL_STAT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 RUN_CNTL_ID Character(30) VARCHAR2(30) NOT NULL Run Control ID
3 LM_SUBLEDGER_ID Number(15,0) DECIMAL(15) NOT NULL Sub-Ledger ID. System Generated.
4 LM_SUBLEDGER Character(15) VARCHAR2(15) NOT NULL The name of the Sub-Ledger.
5 LM_SUBLEDGER_DESCR Character(50) VARCHAR2(50) NOT NULL Sub-Ledger Description
6 LM_SUBLEDG_GL_STAT Character(3) VARCHAR2(3) NOT NULL Subledger Flag is used on the ELM Subledger. It indicates if a row on the Subledger has already been sent to GL.
ERR=Error
OLD=History Item Not Posted
PEN=Pending
POS=Posted
UPD=Updated Since Posting
7 LM_SUBLEDGER_DT DateTime(26) TIMESTAMP SubLedger Date - Date and Time row was written to SubLedger
8 NAME Character(50) VARCHAR2(50) NOT NULL Name
9 LM_GL_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL GL Amount
10 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
11 LM_ACT_CD Character(30) VARCHAR2(30) NOT NULL Activity Code
12 LM_CS_LONG_NM Character(200) VARCHAR2(200) NOT NULL Long Name - Describes the long name of an object
13 LM_STTS Character(4) VARCHAR2(4) NOT NULL Enrollment Status
CANC=Dropped
COMP=Completed
DECL=Denied
ENRL=Enrolled
INCO=Not Completed
INPO=In-Progress
MACT=Moved to New Activity
NOTS=Not Started
PEAP=Pending Approval
PEPA=Pending Payment
PLAN=Planned
PPYA=Payment Approval
RQST=Learning Request
WAIV=Waived
WTLT=Waitlisted
14 LM_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.
15 LM_JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
16 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
17 LM_SUB_GL_STAT_STR Character(30) VARCHAR2(30) NOT NULL Subledger Status