I am troubleshooting some Sales Order scripts and ...
# suitescript
b
I am troubleshooting some Sales Order scripts and I'm seeing this in the console, it causes the page to freeze, any ideas what this is:
Copy code
promotionsLogger: 
applyPromo trigger: itemMachineRecalc
om.promotions.webstore.setPromoError: {
	"errorMsg": "NO_ERROR",
	"errorParams": []
}
d
That's a normal Suitepromotions console message. Depending on how long it freezes for, the lag may just be the promotion application/validation
Suitepromotions adds line entries for discounts. May be worth checking whether this is firing event scripts and, if so, whether it actually needs to.
b
@Dominic B hey thanks, how do I turn off suitepromotions, don't think it will be used
d
Setup > Company > Enable Features, transaction tab. There's an Auto-Apply promotions option below Suitepromotions itself. If it's on, it may be worth just disabling that first before turning off the feature altogether.