SP_BU_GL2_OPRVW(SQL View) |
Index Back |
---|---|
Ledgers For A GL BU |
SELECT S.OPRID , A.BUSINESS_UNIT , A.LEDGER_GROUP , A.LEDGER , D.LEDGERS_SYNC , B.PRIMARY_LEDGER , B.INHERIT_BASE_CUR , B.BASE_CURRENCY , B.RT_TYPE , C.BASE_CURRENCY FROM PS_BU_LED_TBL A , PS_LED_GRP_LED_TBL B , PS_BUS_UNIT_TBL_GL C , PS_LED_GRP_TBL D , PS_SEC_BU_OPR S WHERE A.LEDGER = B.LEDGER AND A.LEDGER_GROUP = B.LEDGER_GROUP AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'LED_GRP_TBL') AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.SETID = B.SETID AND D.LEDGER_GROUP = B.LEDGER_GROUP AND S.BUSINESS_UNIT = A.BUSINESS_UNIT |
# | 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 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
3 | LEDGER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Ledger Group |
4 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL |
Ledger
Prompt Table: LED_DETL_VW |
5 | LEDGERS_SYNC | Character(1) | VARCHAR2(1) NOT NULL | Keep Ledgers in Sync |
6 | PRIMARY_LEDGER | Character(1) | VARCHAR2(1) NOT NULL | A flag that indicates whether or not (Y or N) a ledger is designated as the primary ledger in a ledger group. |
7 | INHERIT_BASE_CUR | Character(1) | VARCHAR2(1) NOT NULL |
Inherit Base Currency
Y/N Table Edit |
8 | BASE_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL |
"Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. "
Prompt Table: CURRENCY_CD_TBL |
9 | CUR_RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Currency Rate Type
Prompt Table: CUR_RT_TYPE_TBL |
10 | CURRENCY_CD_GL | Character(3) | VARCHAR2(3) NOT NULL | GL Business Unit Base Currency |