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

Notifications

Announcements

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,111 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
    137 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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,703

#2
YUN ZHU Profile Picture

YUN ZHU 803 Super User 2025 Season 2

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 750 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans