Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Approving Purchase Requisitions in Business Portal

(0) ShareShare
ReportReport
Posted on by 45

We recently did away with the Z-XXX style currency naming and went to a proper ISO format. We hired a consultant to do this and their approach was to using SQL to convery the existing currency entries with the ISO replacement. Now, when we have a user who has requisition approval rights and a hard approval limit tries to edit a requisition for the purpose of approving it, the following error is displayed:

Values must be represented in the same currency or no currency.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Values must be represented in the same currency or no currency.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

 

[ArgumentException: Values must be represented in the same currency or no currency.]

   Microsoft.BusinessFramework.Money.CheckCurrencyCompatibility(Money m1, Money m2) +151

   Microsoft.BusinessFramework.Money.Compare(Money m1, Money m2) +54

   Microsoft.BusinessFramework.Money.op_GreaterThanOrEqual(Money m1, Money m2) +47

   Microsoft.Dynamics.Requisition.UI.Transaction.RequisitionDoc.HideShowMoreTasks() +605

   Microsoft.Dynamics.Requisition.UI.Transaction.RequisitionDoc.Page_PreRender(Object sender, EventArgs e) +211

   System.Web.UI.Control.OnPreRender(EventArgs e) +8686294

   System.Web.UI.Control.PreRenderRecursiveInternal() +80

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

If we remove the approval limit and set it to unlimited, the error is not displayed. I'm sure it is directly tied to this currency naming conversion process. Any help or advice would be greatly appreciated.

 

*This post is locked for comments

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,054 Super User 2024 Season 1 on at
    Re: Approving Purchase Requisitions in Business Portal

    Hi Joe,

    There was a bug report filed with Microsoft about this problem in BP not supporting multi-currencies within the same requisition or in different companies within the same IE session... when users are facing this error message, we tell them to close their IE and start from fresh and switch company first before creating the new requisition. We're running BP 4.0 and this is not fixed yet. I hope it will be in BP 5.1, which I'm going to test soon.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans