Chesson's PeopleSoft Blog

Focus on Oracle Application

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  • · 创建Session
  • · 获取CI对象  
  • · 填充create keys
  • · 创建一个CI实例
  • · 填充所需字段
  • · 保存CI 

&Session = GetSession();

&CI = &Session.GetcompIntfc(CompIntfc.INTERFACE_NAME)

&CI.KEY_FILED_NAME = ‘NEW’

If not &CI.Create () Then

Else

Populate other fields

End-if;

Populate the other fields

If not &CI.Save () Then

Else

End-if;

posted on 2012-01-12 21:33  chesson  阅读(340)  评论(0编辑  收藏  举报