EX_DIST_ACCT_VW

(SQL View)
Index Back

Distribution Accounts View

Distribution Accounts View

SELECT A.BUSINESS_UNIT_GL , C.DST_CNTRL_ID , C.DST_ACCT_TYPE , C.ACCOUNT , C.ALTACCT , C.DEPTID , %subrec(CF16_AN_SBR, C) , C.PROJECT_ID FROM PS_BUS_UNIT_TBL_EX A , PS_DST_DETL_CNTRL C , PS_DST_CNTRL_TBL D , PS_SET_CNTRL_REC E WHERE E.SETID = D.SETID AND E.SETCNTRLVALUE=A.BUSINESS_UNIT_GL AND E.RECNAME='DST_CNTRL_TBL' AND D.EFF_STATUS = 'A' AND D.EFFDT= ( SELECT MAX(G.EFFDT) FROM PS_DST_CNTRL_TBL G WHERE G.SETID=D.SETID AND G.DST_CNTRL_ID=D.DST_CNTRL_ID AND G.EFFDT <= %CurrentDateIn) AND C.SETID = D.SETID AND C.DST_CNTRL_ID = D.DST_CNTRL_ID AND C.EFFDT = D.EFFDT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
2 DST_CNTRL_ID Character(10) VARCHAR2(10) NOT NULL Accounting Template
3 DST_ACCT_TYPE Character(4) VARCHAR2(4) NOT NULL 07/20/04 st: added RCN for Advance Reconciliation 02/16/98 ebn CN#CM800-2.0 : Added for MISC type for Landed Cost Enhancement 11/11/99 llr: Added ADVP for Payables Advance Payment
4 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
5 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
6 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

7 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

8 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

9 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

10 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

11 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

12 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

13 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

14 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

15 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

16 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

17 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

18 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

19 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField