BU_LED_P_KK_VW

(SQL View)
Index Back

Primary Ledger For A BU

Primary ledger of the detail ledger group of a KK ledger group for a business unit

SELECT A.BUSINESS_UNIT , A.LEDGER_GROUP ,C.LEDGER ,C.INHERIT_BASE_CUR ,C.BASE_CURRENCY ,C.RT_TYPE ,C.CUR_RT_TYPE_DFLT FROM PS_BU_LED_GRP_TBL A , PS_BU_LED_GRP_TBL B , PS_LED_GRP_LED_TBL C , PS_SET_CNTRL_REC D WHERE A.BUSINESS_UNIT=B.BUSINESS_UNIT AND A.LEDGER_TYPE='K' AND A.ASSOCIATED_LED_GRP=B.LEDGER_GROUP AND B.LEDGER_GROUP = C.LEDGER_GROUP AND C.SETID = D.SETID AND D.SETCNTRLVALUE = A.BUSINESS_UNIT AND D.RECNAME = 'LED_GRP_TBL' AND C.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 INHERIT_BASE_CUR Character(1) VARCHAR2(1) NOT NULL Inherit Base Currency

Y/N Table Edit

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