Hello all,
how can I add more option Members to standard field in a table(Business central), using table extension.
Hello Dear,
Its not possible to extend option field in business Central.
Thank u!
Hello Dear,
Its not possible to extend option field in business central.
and the solution u have provided or asking for your solution whether correct or not then its wrong. to overcome from this issue microsoft introduced enum object.
thank u!
The approach above works.
In my case, I have added a new option value to base table via Table Extension which work. Now I need to show the new option value in the List Page. I applied the same approach in the Page List Extension but the dropdown list of the extended control did not include the new option value.
Do you have the same issue? Have you found a fix? Thanks.
I did a little test and it looks like I was able to do it...
The list had a subset of these and I was able to add to it but had to include the items that were already there.
It basically over-writes what is in the option field with your information.
tableextension 50011 "Item_Ext" extends "Item"
{
fields
{
modify("PVS Item Type")
{
OptionCaption = ', Paper, Plates, Film, Ink, Die, Cartons, External Finishing, Finished Good, Cores, Label, Envelope, Board';
}
}
}
As said above, not possible by design actually. Only enum fields can be extended but the base app has no enums yet.
ever found an answer?
You can't. Create a new field and hide the standard field.
On the OnValidate of the new field, add a code to change the standard field if needed.
Not possible. You need to create a new field actually. It could be possible in the future when options will be converted to enums, but this is a long work in progress (no ETA yet).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156