Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

System message Another process has added the wrkcmugl item. The program must be terminated.

(0) ShareShare
ReportReport
Posted on by

When generating the Unrealized gain/ loss report in "currency manager", a message pops up in a new window saying "System message Another process has added the wrkcmugl item. The program must be terminated". Once I close the window, the report is generated/ displayed with the previous month's exchange rates.

What is causing this to happen and what is the fix?

Thank you for helping.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: System message Another process has added the wrkcmugl item. The program must be terminated.

    Hi Rick, Thank you for your response. I will have one of out IT folks read your response and take it from there.  Also to answer your last question regarding multi-currency, the answer is "yes" we do operate in USD,CDN$, GBP & PESO.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: System message Another process has added the wrkcmugl item. The program must be terminated.

    This error means that the record trying to be inserted into that table violates the unique index set up for that table.  This working table uses the curyid, doctype and refnbr as the unique index so you must have two documents with that same combination.  Those documents must have been created since the last successful run of that report.

    The reason you get the last report contents is that the insert query failed thereby leaving that table with just the contents from before.  Your issue could be that you have a new document that is duplicating what is already in that table or you have duplicate documents.  I know this does not directly find your problem for you but might give you a clue as to where to look.

    Of course, the first question I would ask is if you even expect unrealized gains/loss in the first place.  That should only occur if you deal in multi-currencies.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,336 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans