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