invoiceNum = new StringMember("InvoiceNum",((Number) hm.get("invoiceid")).toString(),10,"",'T',false);
DateMember invDate = new DateMember( "Date" , (java.sql.Date)hm.get("invoicedate") ,10 , "" , 'T' , false ,1 ,"EST" );
DoubleMember dblTotal = null;
if(hm.get("invoicetotal") != null)
dblTotal = new DoubleMember( "Total" ,new Double(Double.parseDouble(hm.get("invoicetotal").toString())) , 10 , "", 'T' , false , 10 );
DoubleMember dblAppAmt = null;
if(hm.get("amountapplied") != null)
dblAppAmt = new DoubleMember( "AmountApplied" ,new Double(Double.parseDouble(hm.get("amountapplied").toString())) , 10 , "", 'T' , false , 10 );
DoubleMember dblAmtDue = null;
if(hm.get("amountdue") != null)
dblAmtDue = new DoubleMember( "AmountDue" ,new Double(Double.parseDouble(hm.get("amountdue").toString())) , 10 , "", 'T' , false , 10 );
ItemElement ie = new ItemElement(11);
ie.put ("LineId",LineId);
ie.put ("InvoiceId",invoiceID);