ItemElement ie = new ItemElement();
IntMember LineId = new IntMember("LineId",Integer.parseInt(lineid[i]),'D',"",'T',false,20);
IntMember ItemId = new IntMember("ItemId",Integer.parseInt(itemid[i]),'D',"",'T',false,20);
IntMember Quantity = new IntMember("Quantity",Integer.parseInt(quantity[i]),'D',"",'T',false,20);
priceeach[i] = priceeach[i].replaceAll(",","");
FloatMember PriceEach = new FloatMember("Price",new Float(priceeach[i]),'D',"",'T',false,20);
StringMember SKU = new StringMember("SKU",sku[i],'D',"",'T',false);
StringMember Description = new StringMember("Description",description[i],'D',"",'T',false);
if(priceExtended[i] != null){
priceExtended[i] = priceExtended[i].replaceAll(",","");
}else{
priceExtended[i] = "";
}
FloatMember PriceExtended = new FloatMember("PriceExtended",new Float(priceExtended[i]),'D',"",'T',false,20);
if(taxAmount[i] != null){
taxAmount[i] = taxAmount[i].replaceAll(",","");
}
else{
taxAmount[i] = "0";
}
FloatMember TaxAmount = new FloatMember("TaxAmount",new Float(taxAmount[i]),'D',"",'T',false,20);
ie.put ("LineId",LineId);
ie.put ("ItemId",ItemId);
ie.put ("SKU",SKU);
ie.put ("Description",Description);