Skip to main content

Notifications

Announcements

No record found.

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 76,221 Super User 2024 Season 2 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans