Tuesday, May 17, 2011

Calling a method in Cordys

cordys.setNodeText(GetTCustomerObjectsModel.getMethodRequest(),"//*[local-name()='CUSTOMER_ID']",custCode.getValue(),"");
GetTCustomerObjectsModel.reset();
var tupleCount = cordys.selectXMLNodes(GetTCustomerObjectsModel.getData(),".//*[local-name()='tuple']").length;
if (tupleCount > 0 )
{
customer_name.setValue(cordys.getNodeText(GetTCustomerObjectsModel.getData(),".//*[local-name()='CUSTOMER_NAME']","",""));
customer_id.setValue(cordys.getNodeText(GetTCustomerObjectsModel.getData(),".//*[local-name()='CUSTOMER_ID']","",""));
}

No comments:

Post a Comment