Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Deleting a field

Posted on by 55
Hi,
 
How can I delete a field from a custom Table or a Table Extension (Business Central V.22 SAAS)
 
Thank you for your help!
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Deleting a field
    Hi, it can be done, hope the following information can give you some help.
     In-depth testing for Force Sync mode in Production Environment (Renaming tables, Renaming fields, Changing field type…)
     
    Thanks.
    ZHU
  • Hein Kruger Profile Picture
    Hein Kruger 501 on at
    Deleting a field
    After doing the obsolete reasoning and creating a new app file with the field removed. 

    You need to upload the app file from extension management. 
    In the options of the upload extension, choose force. 
    this will upload the app file with the field deleted. 
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    Kamal Khakhkhar 303 on at
    Deleting a field
    First You need to go to that field and mark following properies.
    visible=false;
    enable=false;
     
    add the extra information for developer.
     
    ObsoleteReason = 'Reason'; (Use this property to inform developers about an object or element that will become obsolete in time or is already obsolete)
     
    ObsoleteState = Pending/Removed; (As per status.)
     
    ObsolateTag='19.0';( version information from which it apply)
     
    Example:-
    field(89; Picture; BLOB)
    {
    Caption = 'Picture';
    ObsoleteReason = 'Replaced by Image field';
    ObsoleteState = Removed;
    SubType = Bitmap;
    ObsoleteTag = '19.0';
    }
     
    Thank you.
    Regurds,
    Kamal Khakhkhar
  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans