Symptom
You have assigned code list restriction rule and default value assignment is not working as expected.
Reproducing the Issue
-
Go to the Sales Work Center as an example.
-
Click on Sales Quote and Open any Quote.
-
Click on Products facet.
Under products, in table (list), default value for a field is not working as per configuration.
Cause
Code list restriction functionality for a default value will work in Quick create and List modifications (Add row) provided it is for new instance.
And both control and code to restrict field must be present in the Quick create / Add List modification screen.
Resolution
This is expected system behavior.
System will apply the default value on new created objects, meaning create from quick create and not update after creation.
Note: CLR will still work on update screen because the CLR will be applied during the screen roundtrip, and the default before.
Keywords
KBA , code list restrcition , clr default value , clr , default value , quick create , add row , LOD-LE-RC-CLR , Code List Restriction , How To