CM_BU_ACCTG2_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.BASE_CURRENCY , C.LOC_ACCTG_REQ , B.DECIMAL_POSITIONS , D.SETID FROM PS_BUS_UNIT_TBL_IN A , PS_CURRENCY_CD_TBL B , PS_CM_LOC_ACCTG_VW C , PS_SET_CNTRL_REC D WHERE A.BASE_CURRENCY = B.CURRENCY_CD AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.EFF_STATUS = 'A' AND D.SETCNTRLVALUE = A.BUSINESS_UNIT AND D.RECNAME = 'MASTER_ITEM_TBL' AND B.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_CURRENCY_CD_TBL E WHERE E.CURRENCY_CD = B.CURRENCY_CD AND E.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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. " |
3 | LOC_ACCTG_REQ | Character(1) | VARCHAR2(1) NOT NULL | Location Accounting Required |
4 | DECIMAL_POSITIONS | Number(2,0) | SMALLINT NOT NULL | Decimal Positions |
5 | SETID_MST_ITEM | Character(5) | VARCHAR2(5) NOT NULL | Master Item SETID |