Discussions
Triggering an event on nlapiTransformRecord
Hi all,
I have a requirement where I need to trigger some code when a record is created via the nlapiTransformRecord call. This in particular applies to the 'Item Fulfillment' record.
I apologize if this is a duplication post, which i'm sure it is. Any advice on how to achieve this? The typical user event to create event is not triggering, like it does on other records.
For example:
var itemFulfillment = nlapiTransformRecord('salesorder', recordId, 'itemfulfillment');
nlapiSubmitRecord(itemFulfillment); // < --- This does not execute my user event script attached to it