PeopleSoft Alter Audit -- 检查Table 与 Record的差异性

来源:互联网 发布:软件测试好不好干 编辑:程序博客网 时间:2024/05/17 20:33

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
7.点击Build按钮创建alter script。然后等待Build过程结束。



8.查看日志,检查是否有warnings。然后打开Build后脚本,如果在SQL中存在对某个表的alter操作,就说明PeopleSoft中该记录的结构不同于数据库中的表结构。


原创粉丝点击