int intToken = Integer.parseInt(token);
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 smPrice = (FloatMember)ile.get("Price");
Float dp = (Float)smPrice.getMemberValue();
float dprice = dp.floatValue();
FloatMember smCost = (FloatMember)ile.get("Cost");
Float dc = (Float)smCost.getMemberValue();
float dcost = dc.floatValue();
int id = ile.getElementID();
IntMember LineId = new IntMember("LineId", 11, 10, "", 'T', false, 20);
IntMember ItemId = new IntMember("ItemId", id, 10, "", 'T', false, 20);
StringMember SKU = new StringMember("SKU", sku, 10, "", 'T', false);
StringMember Description = new StringMember("Description", name, 10, "", 'T', false);