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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to add a field ( Tableextension Field ) in existing Report (Sales Invoice )

(0) ShareShare
ReportReport
Posted on by 65

How to add a field ( Tableextension Field )  in existing Report (Sales Invoice ) 

I have the same question (0)
  • Suggested answer
    Steven Renders Profile Picture
    5,672 Moderator on at

    That is not possible. You can not change the dataset of an existing report.

    You can however create a new report (copy) and add the field in your new report:

    thinkaboutit.be/.../

  • Armando Northware  Profile Picture
    65 on at

    Thanks Steven ,

    How can I create a new one from the copy?

    Where do I add the new field using the .rdl file or where ?

    Regards.

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    Hi Armando,

    You will either get the ALBaseApp in your ON-Premise installation folder or you will get it from Sandbox.

    All you need to do if figure out the Report Backend Name and ID using Inspect Ctrl+Alt+F1 on Request Page, and using Report ID or Name search in ALBaseApp.

    Further you need to change Report Name and ID. This will include a single .AL file and .RDL file.

    At this point a copy of report is ready.

    Now you include that report on your Extension App and check the DataItemsfor it and add your extended field.

    Build you App.

    After this, you will find the field in RDL Datasets and there you can add it.

    You can refer to one of my blogs www.cloudfronts.com/.../

    Hope this helps

  • Armando Northware  Profile Picture
    65 on at

    Hi Olister,

    Im search de report in Object Disigner .

    Im create a copy of the report

    Im Export the .RDL file but the  report code is in .DAL file Im open this code in ObjectDesginer  ( searche the report )

    When I copy the code to new AL file It takes me many mistakes .

    "message": "The type or method 'GetPaymentInstructionsFromPostedInvoice' cannot be used for 'Extension' development.",

    "message": "Method 'IsInvoicing' is marked for removal. Reason: Microsoft Invoicing is not supported on Business Central",

    Regards

  • Armando Northware  Profile Picture
    65 on at

    At the time of adding the fields (tableextension) within the report I cannot use them within the development environment .

    The name '"NameField"' does not exist in the current contextAL (AL0118) .

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    Hi Armando,

    I didn't understand your question.

    From what I understand, you are trying to add fields in Report but in the table the field doesn't exist.

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

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 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans