PeopleCode调用CI

PeopleCode调用CI
  • · 创建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 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/chessonray/archive/2012/01/12/2321031.html

你可能感兴趣的:(PeopleCode调用CI)