Skip to main content

Notifications

Business Central forum
Suggested answer

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

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 68,095 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

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,115 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans