How to decrease the number of decimal places in Currency Setup

In Microsoft Dynamics GP or in Microsoft Business Solutions - Great Plains, you increase the number of decimal places in the Currency Setup window from the original setting. Then, you try to reset the number to the original setting.

When you do this, you receive an error message that states that the number of decimal places for a currency cannot be decreased after the currency has been saved.

Cause

This issue occurs because you can only increase the number of decimal places in the Currency Setupwindow. If you try to decrease the number, you receive the error message that is mentioned in the "Symptoms" section because of an issue in which reports may be incorrect because of rounding. The error message is to prevent problems on your trial balance.

Resolution

To resolve this issue, follow these steps.

Important Use this method if you have to change the decimal places back to two (or to another number) and if you have not entered any transactions by using the additional decimal places.

Note Before you follow the instructions in this article, make sure that you have a complete backup copy of the database that you can restore if a problem occurs.
  1. If you are using Microsoft SQL Server 2000, click Start, point to Programs, point to Microsoft SQL Server, and then click Query Analyzer.

    If you are using Microsoft SQL Server 2005, click Start, point to Programs, point to Microsoft SQL Server 2005, click SQL Server Management Studio, and then click New Query.
  2. Select the DYNAMICSdatabase.
  3. Run the following statement to reset the decimal places to two.
    UPDATE MC40200 SET DECPLCUR=3 where CURNCYID='Z-US$' 
    Note In this statement, "Z-US$" is the currency that you selected and then changed in the Currency Setup window.

    Set the "DECPLCUR" value according to the following table.
    Number of decimal places that you wantDECPLCUR value
    01
    12
    23
    34
    45
    56
Note If you are using SQL Server Desktop Engine (also known as MSDE 2000), use the Support Administrator Console. For more information about how to do this, contact Microsoft Business Solutions Technical Support at 1-888-477-7877.
Proprietà

ID articolo: 865702 - Ultima revisione: 28 mar 2016 - Revisione: 1

Feedback