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

Mandatory & Not Editable Filed

(0) ShareShare
ReportReport
Posted on by 213

Dear all,

I created one field in Page Extension. How we can change that field  "Billed Amount" as mandatory and Once the data is filled then only User “Arun” should only have the option to Edit that field. how we can achieve this.

pageextension 60001 pageExt extends "Page"
{
    layout
    {
        addafter("Document date")
        {
            field("Billed Amount"; Rec."Billed Amount")
            {
                ApplicationArea = All;

            }
        }
    }
}
Thankyou All
  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Are you sure you want to implement a solution where only one named user can change a field?

    My recommendation would be that you at least have the option to assign the right to modify this field in some kind of setup, maybe the user setup.

    The easiest way to modify the behavior of a field is on the onvalidate trigger for the field in the underlying table. 

    Sometimes it is also good to use the OnModify trigger on the table.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
AndrewThomas81 Profile Picture

AndrewThomas81 390 Super User 2026 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 386 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans