EX_DIST_ADV2_VW(SQL View) |
Index Back |
---|---|
Advance Accounts View |
SELECT A.BUSINESS_UNIT_GL, B.ADVANCE_SOURCE, B.GENERATE_PYMNT FROM PS_BUS_UNIT_TBL_EX A, PS_EX_ADV_SRC_TBL B, PS_SET_CNTRL_REC C WHERE B.GENERATE_PYMNT = 'Y' 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 | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit | |
2 | Character(4) | VARCHAR2(4) NOT NULL | Advance Source | |
3 | GENERATE_PYMNT | Character(1) | VARCHAR2(1) NOT NULL | Generate Payment |