Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Unable to save 1st element of custom base enum with enum value of 0 in non mandatory table field.

(0) ShareShare
ReportReport
Posted on by

Hello folks,

I created a custom base enum with 3 elements with  enum value as

0 for element 1 ( label None),

1 for element 2 (label Internal) and

2 for element 3(label external)  and using this custom enum in custom field F1 in a OOB table extension and it is non mandatory.

I am facing a weird issue ,which is that when I am trying to save the value of F1 with element 1 I get warning "Field "myField" must be filled in.".

However when I try to save the value of F1 with other elements like 2 or 3 , it works fine. Even when I change the enum value of 0 to 3 for element 1 (None) it works fine.

I need this to be fixed, i.e. should be able to save element 1 with enum value of 0, as by default table will have 0 stored in sql db for all recs and changing enum value from 0 to 3 would mean lot of data manipulation which is negative from feasibility perspective. 

Please share a fix asap.

Thanks in advance.

Mav.

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Unable to save 1st element of custom base enum with enum value of 0 in non mandatory table field.

    Hi Mav, Please confirm that this field is not mandatory at form level. I have tested adding same enum & values in a custom table and no issues. There might be customization or property setup to validate it.

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 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans