Disable value in list

Hi everyone Quite often we need to disable a value in a list, but previously created items with the value is still valid. Does anyone have a suggestion to a solution? Example: On our Part form we have a dropdown list called "Item Type". A value in the list needs to be disabled so it can't be used when creating new parts. The value is still valid for all previously created parts. Only option in Aras is to delete the value in the list, but this leaves us with another issue. When a user opens an old part with this value, which is allowed on old parts, the dropdown field is blank even though the value is still in the database. In our ERP system all list values have checkboxes to disable a value. If the checkbox is ticked the value is no longer selectable but items which already have this value still shows correctly. This can't be specific for us, so I hope someone have a solution. Thanks in advance. Regards Henrik Olesen Kamstrup A/S Denmark
Parents
  • Ok, little correction after I discussed the topic with one of our good friends from Minerva. My solution is quick... and dirty. You would have an issue with the old values regarding values/label. So the clean solution might be to implement a "disabled" boolean property in the list itemtype (which is core so be carefull). You would read this value and remove the list value from the list when opening the form.
Reply
  • Ok, little correction after I discussed the topic with one of our good friends from Minerva. My solution is quick... and dirty. You would have an issue with the old values regarding values/label. So the clean solution might be to implement a "disabled" boolean property in the list itemtype (which is core so be carefull). You would read this value and remove the list value from the list when opening the form.
Children
No Data