I used this snippet ```Application.on('after:LiveO...
# suitecommerce
c
I used this snippet
Copy code
Application.on('after:LiveOrder.addLine', function (model, currentLine) {
    nlapiLogExecution('debug', 'stuff', 'this is a test');
});
from this article: https://developers.suitecommerce.com/events.html#service-controller-and-backend-model-events However, the event never fires. I've tried
after:LiveOrder.addLines
as well with no result. Other events like
submit
are working as expected. What am I doing incorrectly?
Ugh, I figiured it out. The method is overwritten in a core code modification.
👍 1