web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

what table field add to item card ? (not tableextension add)

(0) ShareShare
ReportReport
Posted on by 5

My project  ID  limit  

I need reduce use

I need try  table field add to item card(page),

But  fail

I need help

Thanks!

Leo Liu

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    Can you please share the screen shot? where you are getting the errors?

    Thanks.

  • SHI_IT Profile Picture
    5 on at

    Not code error

    Is Idea error

    I need table field  add  to item card new field, (reduce ID use)

    But I don`t have idea

    Thanks!

  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    Hello

    your request is not very clear

    can you be more precise?

    do you want to add a new field of the Item table to the relative PAGE Item Card?

    if so said, extend the page of the article card and insert the new field.

    I don't know if you mean this, otherwise you should give us one more example

    Daniele

  • Suggested answer
    Govinda Kumar Profile Picture
    2,310 Moderator on at

    Hello SHI_IT.

    I guess you want to add the table extension field in item card page..

    To add the field in item table

    tableextension 50101 itemTableExtension extends Item
    {
        fields
        {
            field(50100; YourField; Code[20])
            {
                DataClassification = ToBeClassified;
            }
        }
    }

    Then make the extension of the Item Card Page.

    pageextension 50103 CustomerCardExtension extends "Item Card"
    {
        layout
        {
            addbefore(Item)
            {
                group(MyGroup)
                {
                    Caption = 'My Group';
                    field(myField; Rec."myField")
                    {
                        ApplicationArea = All;
                        Importance = Standard;
                        Caption = 'My Field';
                    }
                }
            }
        }
    }

    Thanks and Regards.

    People

  • Suggested answer
    Amit Profile Picture
    2,563 on at
  • Suggested answer
    SHI_IT Profile Picture
    5 on at

    THANKS ALL

    My question

    I got the solution

    ------CODE------

    pageextension 60071 testpageext extends "Item Card"         //page add table  to Item Card
    {
    
    
    
        layout
        {
            addlast(Item)                                   //add ITEM category
            {
    
                field(LPK; Leo_P.Leo_PK1)                 //got Leo_P.Leo_PK1
                {
                    ApplicationArea = all;
                    Caption = 'test1_PK';
                }
    
    
            }
        }
        var                                        //call value load Table:Leo_table_TEST
            Leo_P: Record Leo_table_TEST;
    
    
    }
    
    
    //--------------------------------------------------------------------------------
    
    table 60072 "Leo_table_TEST"                      // Customize Table
    {
        Caption = 'Leo_table_TEST';
        //DataClassification = CustomerContent;
    
        fields
        {
            field(1; Leo_PK1; Code[30])
            {
                Caption = 'Leo_PK1';
                DataClassification = ToBeClassified;
    
            }
            field(2; Leo_PK2; Code[30])
            {
                Caption = 'Leo_PK2';
                DataClassification = ToBeClassified;
            }
            field(3; leo_ITEM; Code[30])
            {
                Caption = 'leo_ITEM';
                DataClassification = ToBeClassified;
            }
            field(4; leo_head; text[30])
            {
                Caption = 'leo_head';
                DataClassification = ToBeClassified;
            }
            field(5; leo_line; text[30])
            {
                Caption = 'leo_line';
                DataClassification = ToBeClassified;
            }
            field(6; "leo_test_BOX"; Code[30])
            {
                Caption = '';
                DataClassification = ToBeClassified;
            }
            field(7; "leo_test_ITEM"; Code[30])
            {
                Caption = '';
                DataClassification = ToBeClassified;
            }
    
        }
        keys
        {
            key(PK; Leo_PK1, Leo_PK2)
            {
                Clustered = true;
            }
        }
    
    
    }

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 720 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 436 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 409 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans