```function onAction(context) { var ws = context...
# suitescript
j
Copy code
function onAction(context) {

	var ws = context.newRecord;
    	
    	ws.setValue({fieldId: 'custrecord_app_subtotal', value: 300});

}