Hi,
My call to smmActivities.validateDelete() is very slow, taking anything between 7 and 14 minutes to complete.
It seems that the cuplrit is the SalesLine delete action, because when I remove that delete action the call finishes instantly.
I sync-ed and reindexed both smmActivities and SalesLine and still didn't help.
Any other ideas?
Thanks!
*This post is locked for comments
Thanks Jan-Luuc. Well... I'm not sure whether the SalesLine delete action is standard or custom; I don't remember anyone in our team adding it :). Anyway, adding an index on ActivityNumber in SalesLine table seems to have fixed the issue.
There isn't a salesline delete action in the standard smmActivities.validateDelete(), is this some code adjustment? If so, review the created link to the salesline and optimize it.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156