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 can pass custom field to any report layout?

(4) ShareShare
ReportReport
Posted on by 410

Hello All,

How we can pass any custom field added in Sale Invoice Line table to sale report. Because in xml mapping I can see you default fields are coming not my customized fields. any feasible solution?

----------------------------------

Asif Shahzad

I have the same question (0)
  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,600 on at

    You actually need to create a new report object to add your custom field in to the data item , Copy the standard report object and add your custom field .

  • Suggested answer
    divyeshchitte Profile Picture
    968 on at

    If you want to modify Base Report

    1) Create a copy of the base Report

    2) Add New field to New Custom Report in AL File

    3) Add the Same to RDLC Layout or Word Layout.

    Ref.

    1) RDLC Layout View article..

    2) Word Layout View article...

  • Asif Shahzad Profile Picture
    410 on at

    I can copy only report layout not report object. How I can copy report object? I cannot find. please help.

  • Suggested answer
    divyeshchitte Profile Picture
    968 on at

    You can Extract object from DEV env and convert it from C/AL to AL

    Ref:

    divyeshchittenavbc.wordpress.com/.../

  • Asif Shahzad Profile Picture
    410 on at

    Thank Div,

    Actually i don't have Nav 2018, I use BC online ver Saas and I only know AL Language (VS Code). So how I install and get Nav 2018 license etc.

  • Suggested answer
    divyeshchitte Profile Picture
    968 on at

    Can you let me know what field needs to be added and in which report 

    Provide us some more insights so that I can help you on that

  • Asif Shahzad Profile Picture
    410 on at

    Thanks for your reply.

    Well, I have number of reports where have to add custom field. But recent problem is in Service Line.. that is in Service Invoice.

    I added one custom field, so want to show this custom field in my report.

    Here is screenshot:

    1261.Capture.PNG

  • CU03112004-0 Profile Picture
    6 on at
    @Asif Shahzad
    I am also experiencing the same issue. Did you find a solution for this problem? I created a custom field, but it does not appear in the XML mapping in the Business Central Word layout. Have you been able to resolve this issue?
  • Suggested answer
    YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at
    Hi, hope the following helps.
    Dynamics 365 Business Central: Why are custom columns/fields added via Report Extension not found in standard layouts exported from Report Layouts page?
     
    Thanks.
    ZHU
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,639 Super User 2025 Season 2 on at
    Hello,
     
    To pass a custom field from the Sales Invoice Line table to a Sales report in Business Central, you need to modify the report's dataset by extending the report object in AL code to include your custom field, as it won't appear in the default XML mapping.
     
    Once added, update the report layout (RDLC or Word) to bind and display the new field, then deploy and test the report to ensure the field appears correctly.
     

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,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans