Elo Maptable

var sordMap = sol.create("sol.common.SordMap", { objId: objId });
var sordMapTable = sol.create("sol.common.MapTable", { map: sordMap, columnNames: ["INVOICE_TAX_NET_AMOUNT", "INVOICE_TAX_AMOUNT", "INVOICE_TAX_RATE"] });
if (sordMapTable.hasNextRow()) {
  sordMapTable.nextRow();
  var value = sordMapTable.getNumValue("INVOICE_TAX_RATE");
  if (value == 0) {
    sordMapTable.removeRow();
  }
}
sordMapTable.write();
Defiant Dove