Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to Prevent Editing the "Requested receipt date" Field on Purchase Order Lines

(1) ShareShare
ReportReport
Posted on by 2
I would like to prevent users from editing the "Requested receipt date" field on the purchase order lines form.
What are the possible ways to achieve this in D365 Finance and Operations?

Any suggestions or best practices would be appreciated. Thank you!
 
             
Categories:
  • Suggested answer
    Yng Lih Profile Picture
    346 on at
    How to Prevent Editing the "Requested receipt date" Field on Purchase Order Lines
    Hi,
     
    You can consider below:
    1) Personalize this form" to hide the field, but this is per-user and not security-enforced. Then publish to the role users.​​​​​​​
     
    2) For a robust, organization-wide solution, a developer can customize the form to disable the field for certain roles, or under certain conditions.
     
    3) You can configure an alert to notify you when someone edits this field, but this does not prevent editing; it only tracks and notifies after the fact.
     
    If this information was helpful, kindly mark it as 'Verified'. Thank you. :)
     
     
     
  • Layan Jwei Profile Picture
    7,952 Super User 2025 Season 2 on at
    How to Prevent Editing the "Requested receipt date" Field on Purchase Order Lines
    Hi,

    Would that help?
    [ExtensionOf(formDataSourceStr(PurchTable, PurchLine))]
    final class PurchTablePurchLine_Extension
    {    
    
        public int active()
        {
            int ret = next active();
    
            if(ret)
            {
                element.design().controlName(formControlStr(PurchLine, DeliveryDate)).enabled(false);
            }
            
            return ret;
        }
    }
    


    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future.

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

Announcing our 2025 Season 2 Super Users!

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Alireza Eshaghzadeh Profile Picture

Alireza Eshaghzadeh 799 Super User 2025 Season 2

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 757 Super User 2025 Season 2

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 751 Super User 2025 Season 2

Product updates

Dynamics 365 release plans