so 'xedit' is not triggering. Anyone seen somethin...
# suitescript
n
so 'xedit' is not triggering. Anyone seen something like this before. The documentation clearly says this: To set a user event script to execute in response to an inline edit field change or a mass update, specify xedit as the type argument in your script. The xedit type can be specified in beforeSubmit or afterSubmit user event scripts. And i have certainly got this to work in the past. Right now I have a simple piece of code like this:
Copy code
function Sales_Order_Email()
{
	if ((type =='edit') || (type=='xedit'))
		{
			//****SEND EMAIL IF ORDER CONDITION HAS CHANGED***
			var related_so=nlapiGetRecordId();
			var old_rec= nlapiGetOldRecord();
It triggers on edit, just wont trigger on xdit. On my script deployment, I have left the 'Event type' as blank which i assume will then allow it to run on all types. Historically this has always worked, so there is no restriction there....