Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Business Central forum

Error The supplied field number '50100' cannot be found in the 'User' table.

(0) ShareShare
ReportReport
Posted on by

I try to add a field in user table with table extension and add it in user card using Page extension.

here my code.

tableextension 50107 UserExt extends User
{
    fields
    {
        field(50100; IsAuthorized; Boolean)
        {
            DataClassification = CustomerContent;
            Caption = 'Is Authorized';
        }
    }
}

pageextension 50107 UserCardExt extends "User Card"
{
    layout
    {
        // Add changes to page layout here
        addafter("User Name")
        {
            field(IsAuthorized; IsAuthorized)
            {
                ApplicationArea = All;
                Caption = 'Is Authorized';
            }
        }
    }
}


when I open users page, I hit error "The supplied field number '50100' cannot be found in the 'User' table."

Please Help.

Categories:
  • Community Member Profile Picture
    on at
    RE: Error The supplied field number '50100' cannot be found in the 'User' table.

    thanks for your reply

  • Verified answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: Error The supplied field number '50100' cannot be found in the 'User' table.

    Hi , user table is a system table and currently not supported to extend field from this table. Based on replies from microsoft , they are working to prevent this during compilation stage , so that  you will get error during compile if trying to extend user table .

    Details :

    github.com/.../4025

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans