Tuesday, April 12, 2011

DMS script to export T&L rules

 Time and Labor rules can be moved from one environment to the other using DMS scripts. Oracle support site has a complete DMS script listed for the same purpose. For quick reference I am documenting here the list of scripts that I commonly run to migrate rules. Do remember to append necessary 'WHERE' conditions for each statement.

EXPORT TL_RULE_DEFN  
EXPORT TL_RULE_STEPS
EXPORT TL_RULE_CONDS
EXPORT TL_TMPLT_RULE
EXPORT TL_TMPLT_RULE2 
EXPORT TL_SQL_BINDS
EXPORT TL_SQL_INSERT
EXPORT TL_SQL_JOIN
EXPORT TL_SQL_JOINFLDS
EXPORT TL_SQL_OBJECT
EXPORT TL_SQL_SEL_FLDS
EXPORT TL_SQL_TABLES
EXPORT TL_SQL_UPDATE
EXPORT TL_SQL_UPDBINDS
EXPORT TL_SQL_WHERE
EXPORT TL_SQL_WHRBINDS
EXPORT TL_SQL_EXPRESSN
EXPORT TL_RULE_PGM
EXPORT TL_RULE_PGM_DTL

Note: In version 9.1 PeopleSoft has come up with a utility to export and import rules between environments. Using that will eliminate the need to remember and manually execute the above mentioned DMS scripts

No comments: