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...
Answered

Page Extension Add new field to Sales Line grid

(0) ShareShare
ReportReport
Posted on by 10

Hello

I have created a table extension to add a new field to Sales Line. What I'm struggling with is to how to add this field to Sales Quote Grid. I can add the field bellow but not in the grid

bs_5F00_ext.JPG

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

    Hi Nilo365 ,

    Table extension is ok, now you have to create a Page extension to publish that field into your required, please refer the below link how to create a Page extension.

    docs.microsoft.com/.../devenv-page-ext-object

  • Suggested answer
    raelhefn Profile Picture
    Microsoft Employee on at

    Hi,

    Using personalization feature, you can hide from Gride after that drag from fields list and drop it under the grid.

    Or refer to this document docs.microsoft.com/.../devenv-designing-listparts to customize page listparts.

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Remember that a field that is added to a table does not automatically show up in the relevant pages.

    So you will either have to create a new page where you use your new table fields or add a page extension as Nitin suggested.

  • Suggested answer
    Alec Gray Profile Picture
    30 on at

    As the others above have said, you need to add a page extension after creating the table extension.

    Example code for the Sales Quote Subform page:

    pageextension 90132 SalesQuoteExtension extends "Sales Quote Subform"
    {
    layout
        {
            addafter("Location Code")
            {
                field("NEW FIELD NAME"; rec."NEW TABLE FIELD")
                {
                    ApplicationArea = All;
                }
            }
        }
            

  • Verified answer
    YUN ZHU Profile Picture
    103,227 Super User 2026 Season 2 on at

    Hi, just adding to others' reply.

    pastedimage1654564142768v2.png

    pastedimage1654564136483v1.png

    tableextension 50100 MyExtension extends "Sales Line"
    {
        fields
        {
            field(50100; "Add new field to Sales Line"; Text[100])
            {
                DataClassification = CustomerContent;
            }
        }
    }
    
    pageextension 50111 MyExtension extends "Sales Order Subform"
    {
        layout
        {
            addafter("Location Code")
            {
                field("Add new field to Sales Line"; Rec."Add new field to Sales Line")
                {
                    ApplicationArea = All;
                }
            }
        }
    }

    Hope this helps as well.

    Thanks.

    ZHU

  • Nilo365 Profile Picture
    10 on at

    I didn't know you can specify even a column you want to add after, Thanks for that

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 739 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 462 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 406 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans