rec.selectNewLine({ sublistId: "recmachcustrecord3", }); rec.setCurrentSublistValue({ sublistId: "recmachcustrecord3", fieldId: "custrecord_tp_gl_impact_account", value: Acc, ignoreFieldChange: true, }); rec.setCurrentSublistValue({ sublistId: "recmachcustrecord3", fieldId: "custrecord_tp_gl_impact_region", value: region, ignoreFieldChange: true, }); log.debug("after curr_field value changed "); rec.commitLine({ sublistId: "recmachcustrecord3", });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter