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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

"Cannot delete other people's activities" When I own the activity

(0) ShareShare
ReportReport
Posted on by

Through Sales and Marketing, I have created multiple activities both manually and through the sales process template on Opportunity records.

When I go to the My Activities list, select a record, and use the Delete action button on the action pane, I get a confirm delete prompt.  When selecting yes, an Infolog prompt appears with a message reading "Cannot delete other people's activities."

I've checked the security permissions and I'm setup as a System Administrator without any imposed restrictions (test environment.)

In taking a look at the user account details, the profile looks normal and the name fields match, the RecIDs in the user and hcm and corresponding data points also match.   I don't know if they are relevant or not.  

I also tried this on the Contoso environment via the default admin account.  It does the same exact thing.

I'm reaching out to the community to see if anyone has any thoughts on the root cause.  I took a peek at the AOT but can't read full X++ yet.  I understand that there is some validation logic occurring, but am not sure how to pinpoint what object in the AOT the issue is coming from.

Actions can be accessed via Home/Common/Activities/All activities

*This post is locked for comments

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

    Hello,

    Here is the logic:    

    if (!this.isProjectActivity() && this.ResponsibleWorker && this.ResponsibleWorker != smmUtility::getCurrentContactWorker())

           {

               // Cannot delete other people's activities

               return checkFailed("@SYS81037");

           }

    you can find this in SmmActivities table, validateDelete method.

    check the values and see if are matching like you said.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hiya,

    You have probably solved this issue by now but just in case anyone else has the issue. 

    You need to check that the worker is set up as an employee in that legal entity. 

    Human Resources>Common>Workers and then on the Employment tab loo at the Employment details and make sure they have a record for every legal entity they work in. 

    This should solve your problem.

    Regards

    Sam

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans