Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Move related time entries when case is merged

(0) ShareShare
ReportReport
Posted on by 34

Hi!

We are using Dynamics CS for our support team to handle cases. They use time entries (just like in Field Service and Project Service) to add their time spend on a case. We use these time entries for invoicing.

Now, sometimes cases have to be merged, this process works fine. However, the problem we encounter with this is that the time entries of the merged case are not moved over to the other case that it is merged with. This is a problem for us, as in this way we miss time entries that should be invoiced.

Is there a way to make time entries move over to another case when the case is merged?

I have tried workflows but I can't figure out how to do it.

Thank you in advance!

  • Community Member Profile Picture
    on at
    RE: Move related time entries when case is merged

    Hi JR61,

    Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful.

     pastedimage1641780363685v1.png

    Thanks in advance!:)

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Move related time entries when case is merged

    Hi JR61,

    Yes, there are no OOB steps to update child records in workflow, but you can achieve it through installing custom tool:

    Dynamics-365-Workflow-Tools/Update Child Records.md at master · demianrasko/Dynamics-365-Workflow-Tools · GitHub 

    Also, Power Automate you mentioned indeed is one good tool to achieve all.

  • JR61 Profile Picture
    34 on at
    RE: Move related time entries when case is merged

    Thank you for your suggestions!

    I tried making a workflow process to update the time entries records, however with a workflow I wasn't able to list all of the time entries that are related to the case.

    Eventually I ended op making a flow in Power Automate, which is triggered when the 'merged' field on a case is updated. Then I added a 'List' time entries action and a 'List' cases based on master id action. After I got these results I was able to update all time entry records.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Move related time entries when case is merged

    Hi JR61,

    "They use time entries (just like in Field Service and Project Service) to add their time spend on a case", you created new relationships between time entry and case entities?

    On merging the subordinate record gets deactivated and linked to the master record.

    There are two fields that stores related information in crm--Merged and masterid.

    Identifying merged records - Mark Carrington

    pastedimage1641543084989v2.png

    So you can use change of these fields to trigger workflow, then do other steps.

    pastedimage1641543489185v5.png

  • Suggested answer
    Bipin D365 Profile Picture
    28,961 Moderator on at
    RE: Move related time entries when case is merged

    Hello,

    You can write plugin on Merge message to move your time entries record to merged case.

    mscrmtechie.blogspot.com/.../plugin-on-merge-message-in-crm.html

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,276 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,975 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans