int intToken = Integer.parseInt(token);
Iterator itr = IL.keySet().iterator();
while (itr.hasNext()) {
nextItr = (String)itr.next();
ListElement ile = (ListElement)IL.get(nextItr);
IntMember smid = (IntMember)ile.get("ItemID");
Integer listItemid = (Integer)smid.getMemberValue();
if (listItemid.intValue() == intToken) {
StringMember smName = (StringMember)ile.get("Name"); // name = description
String name = (String)smName.getMemberValue();
StringMember smSku = (StringMember)ile.get("SKU");
String sku = (String)smSku.getMemberValue();
FloatMember dmprice = (FloatMember)ile.get("Price");
float price = Float.parseFloat((dmprice.getMemberValue()).toString());
int id = ile.getElementID();
IntMember LineId = new IntMember("LineId", 0, 'D', "", 'T', false, 20);
IntMember ItemId = new IntMember("ItemId", id, 'D', "", 'T', false, 20);
IntMember Quantity = new IntMember("Quantity", 1, 'D', "", 'T', false, 20);
FloatMember PriceEach = new FloatMember("Price", new Float(price), 'D', "", 'T', false, 20);