web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

smmActivities.validateDelete() very slow

(0) ShareShare
ReportReport
Posted on by 55

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

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    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.

  • terra_frugum Profile Picture
    55 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans