LM_BO001_LG3_VW(SQL View) |
Index Back |
---|---|
For GL Detail reportFor GL Detail Report |
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_PRG_CD , C.LM_PRG_LONG_NM , A.LM_PRG_STTS , A.LM_JOURNAL_ID , A.LM_JOURNAL_DATE , D.XLATLONGNAME , E.XLATLONGNAME FROM PS_LM_BO001_3_VW A , PS_LM_SUBLGID_LANG B , PS_LM_PRG_LANG C , PSXLATITEMLANG D , PSXLATITEMLANG E WHERE A.LM_SUBLEDGER_ID = B.LM_SUBLEDGER_ID AND A.LANGUAGE_CD = B.LANGUAGE_CD AND A.LM_PRG_ID=C.LM_PRG_ID AND A.LANGUAGE_CD = C.LANGUAGE_CD AND A.LANGUAGE_CD = D.LANGUAGE_CD AND D.FIELDNAME='LM_PRG_STTS' AND D.FIELDVALUE=A.LM_PRG_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_PRG_CD | Character(30) | VARCHAR2(30) NOT NULL | Program Code is a user defined field. This field allows duplicates and is not part of the primary key structure. |
12 | LM_PRG_LONG_NM | Character(200) | VARCHAR2(200) NOT NULL | Program Long Name |
13 | LM_PRG_STTS | Character(4) | VARCHAR2(4) NOT NULL |
Program Reg Status
CANC=Dropped COMP=Completed DECL=Decline ENRL=Registered EXPR=Expired INCO=Not Completed INPO=In-Progress PEAP=Pending Approval PEPA=Pending Payment PLAN=Planned PPYA=Payment Approval REIS=Reissue REVK=Revoked WAIV=Waived WARN=Warning |
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 |