try {
Zjxeppm_I06_T01_Input input = wdContext.currentZjxeppm_I06_T01_InputElement().modelObject();
input.execute();
wdContext.nodeOutput().invalidate();
if(MessageUtils.checkReturn(input.getOutput().getReturn(), reporter)){
IOrdoper_ListNode Onode = wdContext.nodeOrdoper_List();
IC_Ordoper_ListNode Cnode= wdContext.nodeC_Ordoper_List();
for (int i = 0; i < Onode.size(); i++){
IC_Ordoper_ListElement item = Cnode.createC_Ordoper_ListElement();
WDCopyService.copyCorresponding(Onode.getOrdoper_ListElementAt(i),item);
item.setPname_txt( wdThis.getPername(item.getPerson_No()) );
Cnode.addElement(item);
}
}
return MessageUtils.checkReturn(input.getOutput().getReturn(), reporter);
} catch (WDDynamicRFCExecuteException e) {
// TODO Auto-generated catch block
reporter.error(e.getMessage());
}
Zjxeppm_I06_T01_Input input = wdContext.currentZjxeppm_I06_T01_InputElement().modelObject();
input.execute();
wdContext.nodeOutput().invalidate();
if(MessageUtils.checkReturn(input.getOutput().getReturn(), reporter)){
IOrdoper_ListNode Onode = wdContext.nodeOrdoper_List();
IC_Ordoper_ListNode Cnode= wdContext.nodeC_Ordoper_List();
for (int i = 0; i < Onode.size(); i++){
IC_Ordoper_ListElement item = Cnode.createC_Ordoper_ListElement();
WDCopyService.copyCorresponding(Onode.getOrdoper_ListElementAt(i),item);
item.setPname_txt( wdThis.getPername(item.getPerson_No()) );
Cnode.addElement(item);
}
}
return MessageUtils.checkReturn(input.getOutput().getReturn(), reporter);
} catch (WDDynamicRFCExecuteException e) {
// TODO Auto-generated catch block
reporter.error(e.getMessage());
}
本文介绍了一段用于执行特定输入操作的代码,并展示了如何处理返回的数据,包括创建列表元素、复制对应对象属性及设置个性化字段等。此过程涉及异常处理以确保流程稳定。
4798

被折叠的 条评论
为什么被折叠?



