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

Announcements

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,566 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,280 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,952 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,690 Super User 2026 Season 1

#2
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,091 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,047 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans