...
Code Block | ||
---|---|---|
| ||
let lineItems = [] let i = 0 /* To generate two empty rows */ while(i < 2) { lineItems.push({ "weight": "", "unit": "" }) i += 1 } /* Variant is the field name */ if(Array.isArray(lineItems)){ this.changeFormValue("Variant", JSON.stringify(lineItems)) } |
Calculation of IOU at level 3 for rejection logic
...