EX_DIST_ADV_VW

(SQL View)
Index Back

Cash Advance Accounts View

Cash Advance Accounts View

SELECT A.BUSINESS_UNIT_GL , B.ADVANCE_SOURCE , B.GENERATE_PYMNT , B.ACCOUNT , B.ALTACCT , B.DEPTID , %subrec(CF16_AN_SBR, B) , B.PROJECT_ID FROM PS_BUS_UNIT_TBL_EX A , PS_EX_ADV_SRC_TBL B , PS_SET_CNTRL_REC C WHERE B.GENERATE_PYMNT = 'N' AND C.SETID = B.SETID AND C.SETCNTRLVALUE=A.BUSINESS_UNIT_GL AND C.RECNAME='EX_ADV_SRC_TBL' AND B.EFF_STATUS = 'A' AND B.EFFDT= ( SELECT MAX(G.EFFDT) FROM PS_EX_ADV_SRC_TBL G WHERE G.SETID=B.SETID AND G.ADVANCE_SOURCE = B.ADVANCE_SOURCE AND G.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
2 ADVANCE_SOURCE Character(4) VARCHAR2(4) NOT NULL Advance Source
3 GENERATE_PYMNT Character(1) VARCHAR2(1) NOT NULL Generate 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