web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Modify DecimalPlaces property in a Page or Table Extension

(3) ShareShare
ReportReport
Posted on by 911
We've had a request to display to 9 decimal places on BC Page: Currency Exchange Rates (483, List) SourceTable = Currency Exchange Rate (330) - see screenshot below:
 
The source table contains the following:
 
        field(6; "Relational Exch. Rate Amount"; Decimal)
        {
            AccessByPermission = TableData Currency = R;
            Caption = 'Relational Exch. Rate Amount';
            DecimalPlaces = 1 : 6;
            MinValue = 0;

            trigger OnValidate()
            begin
                TestField("Relational Exch. Rate Amount");
            end;
        }
 
 
 
I attempted a test page extension as below:
pageextension 50100 MyCurrencyExchangeRatesExt extends "Currency Exchange Rates"
{
    layout
    {
        modify("Relational Exch. Rate Amount")
        {
            DecimalPlaces = 1 : 9;
        }
    }
}
... and got: The property 'DecimalPlaces' cannot be customized. AL(AL0246).
Tried a table extension... same issue.
 
Any suggestions would be greatly appreciated?
 
 
I have the same question (0)
  • Ramesh Kumar Profile Picture
    7,549 Super User 2026 Season 1 on at
    Hi,
     
    A maximum of 5 decimal places is allowed in AL.
     
     
    Thanks!
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Suggested answer
    Suresh Kulla Profile Picture
    50,278 Super User 2026 Season 1 on at
    Unfortunately, you cannot modify the property for the existing field, you can define upto 18 decimal places, so 5 is not the limit, but in your case you might need to add a new field with 9 decimal places, and use that field on the page and when someone enters the value in that field, validate the same value in the standard field.
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,342 Super User 2026 Season 1 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,012 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 986 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 659 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans