Wow. Thank you for pointing this out. It looks like there must have been an error of some sort when converting to the new look & feel of wmusers site. The full code was here before.
// Retrieve the necessary elements the OrderInformation structure
IDataCursor idc = orderInformationList.getCursor();
idc.first(“CustomerName”);
String custName = (String)idc.getValue();
idc.first(“OrganizationType”);
String organizationType = (String)idc.getValue();
idc.destroy();
// Retrieve the elements from the line
IData orderItemsList = (IData)ValuesEmulator.get(orderInformationList, “OrderItem”);
for (int i=0; i<orderItemsList.length; i++) {
IDataCursor idcItem = orderItemsList[i].getCursor();
idcItem.first("Stock");
String stock = (String)idcItem.getValue();
idcItem.first("Price");
String price = (String)idcItem.getValue();
idcItem.first("Side");
String side = (String)idcItem.getValue();
if (stock.equals("IBM") && organizationType.equals("XYZ")) {
// Set the value if the transformation rule is true.
// copy the new valuen into the specified field
idcItem.first("CUSIP");
idcItem.setValue("12345");
}
if (stock.equals("NRWR") && organizationType.equals("ABC")) {
// Set the value if the transformation rule is true.
// copy the new valuen into the specified field
idcItem.first("SEDOL");
idcItem.setValue("67891");
}