My Stuff
Comments
-
you should be able to lookup the value in the post based on the internal id of the SELECT passed to the post. you can then pull the name (value) from the list. var type = 'mylistid'; var id = 'internalid in post'; var columnArray = ["name"]; var searchLookUp = search.lookupFields({ type: type, id: id, columns: columnArray…
-
That fixed it, thanks.
-
I was able to get a sublist field to disable within a client script. The following is in the lineInit. var currentRecord = scriptContext.currentRecord; var currIndex = currentRecord.getCurrentSublistIndex({ sublistId: 'item' }); var objSubrecord = currentRecord.getSublistField({ sublistId:'item', fieldId:'amount',…
-
I've developed a solution in suitescript 1.0 to get around this. first: create a user event to add the reject button to the recordtype. You will want to add conditional logic to only display this button in a pending approval state. form.addButton('custpage_buttonreject', rejectButtonText, 'onclick_clientReject()');…