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

Adding field in the page extension of Sales Invoice

(0) ShareShare
ReportReport
Posted on by 30

Hello. I'd like to add a field right under the Customer Name using AL, but I'm not quite sure what's the table or page extension associated with that part of the invoice card.

thisis.PNG

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    If it is a field already in the database you need to add it to the Sales order page (page no. 42) and possible to the sales invoice page if you use sales invoice in addition to sales orders.

    If the field is not already in the datamodel you need to extend table 36 salesheader to add your field there.

    Hope this helps you further.

  • Suggested answer
    JAngle Profile Picture
    150 on at

    pageextension 70120 "Sales Invoice Card Ext" extends "Sales Invoice"

    {

       layout

       {

           addafter("Sell-to Customer Contact")

           {

               field(NameOfYourField; Rec."Name if Your Field")

               {

                   ApplicationArea = All;

                   Caption = 'Name of your field';

               }

           }

       }

    }

    Something like the above would do the trick. Note the field in addafter() you can lookup or use a different one. I’ve put in a placeholder value of “Name of Your Field” - assume this will be a custom one added with a table extension.

    Also the object number can be changed to meet your range for that project/tenant

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,091 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,032 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 946 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans