BU_LED_PC_VW

(SQL View)
Index Back

Default Ledger Group/Ledgers


SELECT A.BUSINESS_UNIT ,A.LEDGER_GROUP ,B.LEDGER ,B.PRIMARY_LEDGER ,A.BASE_CURRENCY ,B.SETID ,B.RT_TYPE ,B.CUR_RT_TYPE_DFLT FROM PS_BU_LED_GRP_TBL A , PS_LED_GRP_LED_TBL B , PS_SET_CNTRL_REC C WHERE A.DEFAULT_LEDGER_GRP = 'Y' AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'LED_GRP_TBL' AND B.SETID=C.SETID AND B.LEDGER_GROUP = A.LEDGER_GROUP AND B.PRIMARY_LEDGER='Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
3 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger

Prompt Table: LED_DETL_VW

4 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.
5 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

6 SETID Character(5) VARCHAR2(5) NOT NULL SetID
7 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.
8 CUR_RT_TYPE_DFLT Character(5) VARCHAR2(5) NOT NULL Exchange Rate Type Default