Alter Audit 指的是在Application Designer中创建Alter build脚本,用以检查PeopleSoft Definition 与数据库 table之间的差异性。
1. 在Application Designer中创建一个project。
2. 选择Insert > Definitions into Project,将所以table 类型的record插入到当前项目中。
3.保存Project,名称为 CSN_ALTER_AUDIT
4.选择Tools > Validate project。当提示是否从Project中删除无效对象时,选择No。验证过后会产生类似如下的日志内容:
Validate Project Integrity
11/08/12 14:52:13
Project Name - CSN_ALTER_AUDIT
PeopleTools Release 8.51
Begin Validate Project Integrity
Delete Invalid Definitions - No
Total 18991 items processed
0 invalid definition(s) found
End Validate Project Integrity
5.选择 Build > Project。勾选 Alter Tables 和 Build script file。
6.点击Settings按钮,在Alter页签中选择:
-
- Drop column if data present
- Truncate data if field too short
- Alter any - all check boxes selected
- Alter by Table Rename