Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

MapTable elo

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();
 
PREVIOUS NEXT
Tagged: #MapTable #elo
ADD COMMENT
Topic
Name
3+8 =