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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to limits options from Base Enums ?

(1) ShareShare
ReportReport
Posted on by 199
Hi guys,
 
In my company, the Purchase Orders are from external integration, however there are one exception that user may permitted to create new PO manually, as long as it is for return only. So, when creating New PO, and dialog box selection of Purchase Type, I want user can only select Returned Order. Except of course if your are an Admin, which the selection will be as standard.
 
May I get an advice, how we can do it ?
 
Thanks in advance
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,740 Most Valuable Professional on at
    If users can't select any other value, then there is no point giving them the option to choose a value. Hide the control or make it read-only and initialize the value in code.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,061 Super User 2026 Season 1 on at
    Hi Community member,
     
    Try this solution by deleting unwanted values on the enter or run method of the form:
     
     
    Thanks,
    Waed Ayyad
    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
     
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    One way is as Martin suggested to disable the control and give default value as return type only.
     
    Second way is if user selects other than return type throw validation error.
  • Waed Ayyad Profile Picture
    9,061 Super User 2026 Season 1 on at
    Hi Community member,
     
    Is your issue resolved? If yes, please verify the correct answers.
     
     
    Thanks,
    Waed Ayyad

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 590 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 349

#3
Diego Mancassola Profile Picture

Diego Mancassola 263

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans