Customize Summary Box

Append new lines in the standard summary box.

Append new lines in the standard summary box.

The code snippet appends a new line in the standard summary box n transactions.

jobField.defaultValue = `<script>jQuery(".totallingtable > tbody").append("` + `<tr><td> <tr> <td> <div class='uir-field-wrapper' data-field-type='currency'> <span id='subtotal_fs_lbl_uir_label' class='smalltextnolink uir-label '> <span id='subtotal_fs_lbl' class='smalltextnolink' style=''> <a tabindex='-1' title='What's this?' href='javascript:void(&quot;help&quot;)' style='cursor:help' onclick='return nlFieldHelp('Field Help','subtotal', 'TRAN_SALESORD_subtotal_NA', this, 'EDIT_TRAN_SALESORD', '5701690_SB1', 'salesord', 100, 'salesorder', 'T', '', 'Sales%20Order', '', 'Subtotal')' class='smalltextnolink' onmouseover='this.className='smalltextul'; return true;' onmouseout='this.className='smalltextnolink'; '>UCredit</a> </span></span><span class='uir-field inputreadonly'><span id='subtotal_fs' class='inputtotalling'> <span id='subtotal_val' class='inputtotalling' datatype='currency'>${credit.toFixed(2)}</span></span><input name='subtotal' id='subtotal' type='hidden' value='0.00' datatype='currency'> </span></div></td> <td></td></tr> </td></tr>");</script>`;

Leave a comment

Your email address will not be published. Required fields are marked *