Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Making field non-editable for user but editable for System while Posting

(0) ShareShare
ReportReport
Posted on by 9
Hello Team,
 
We have customize to make Amount field not editable if such General Journal line is pending or under workflow approval. However when the system is posting the General Journal Line, it is modifying the amount field due to TDS complice and my custom validation is preventing to post by the system.
 
Therefore, When the General Journal like are in Approval Process or approved, is there any way where I can restrict the amount field on the General Journal Line non-editable for the User but editable for the system while posting the transaction from Backend. 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 78,198 Super User 2025 Season 1 on at
    Making field non-editable for user but editable for System while Posting
    You can add this logic to the page so that it only takes effect when the user modifies data from the page. This does not affect the processing of background tables.
    For example,
     
    Hope this can give you some hints.
    Thanks.
    ZHU

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans