Menu
Subscribe to BAOA
- Chris Date in Edinburgh on 13 and 14 May 2010
- Tanel Poder Miracle Seminar Birmingham
- OEM Oracle Enterprise manager graphs are great
- Tech Article: Joining Oracle Complex Event Processing and J2ME to React to Location and Positioning Events
- Call for Papers: Oracle OpenWorld San Francisco (and Develop) 2010
- On-Demand Video: Mark Reinhold's JDK 7 Roundup
- Download: Oracle Enterprise Pack for Eclipse 11g Release 1 (11.1.1.4)
- Tech Article: Build a Java Application with Eclipse, Spring, and Oracle WebLogic Server

Setting dependencies between PeopleSoft views
Sometimes you want to create a view in PeopleSoft which is based on another view.
Example:
View 1 (named PS_LOCKED_USR_VW) is defined as follows:
SELECT OPRID FROM PSOPRDEFN WHERE ACCTLOCK = 1;
View 2 (named PS_GET_LOCKED_NAME_VW) is defined as follows:
SELECT A.NAME FROM PS_PERSON_NAME A, PS_LOCKED_USR_VW B WHERE A.EMPLID = B.EMPLID;
When creating views using the createvw.dms script (or the REPLACE_VIEW * command from Data Mover) the situation above creates an error, because Data Mover is building views in alphabetic order. This means that views PS_GET_LOCKED_NAME_VW is built before view PS_LOCKED_USR_VW and goes into error.