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 a field to rdlc report

(1) ShareShare
ReportReport
Posted on by 30
Hi,
I have added  a field in to the Purchase Order using a page extension & table extension code. The values are displaying on the purchase Order page. But the purchase Order template rdlc the field is displaying as blank. Can you please advice where I am going wrong.
 
 
 
 
 
        field(50012; "Tariff No_"; Text[100])
        {
            Caption = 'CN Code';
            FieldClass = FlowField;
            Editable = False;
            CalcFormula = Lookup(Item."Tariff No." where("No." = field("No.")));


 
       }   
 
Report.al code to display the field in the BC Purchase Order report template
 
                     dataitem("Itemt"; "Item")
                        {
                            DataItemLink = "Tariff No." = field("No."), "No." = field("No.");
                            DataItemLinkReference = "Purchase Line";
                            DataItemTableView = sorting("No.");
                            column(TTariffNo_PurchaseLine; "Item"."Tariff No.")
                            {
 
                            }


 
                       }
                                                                                                                                                                         
I have the same question (0)
  • Suggested answer
    Sami Ullah Profile Picture
    315 Moderator on at
    Hi,
     
    When you extend a table and add a new field, the report dataset must also include this field. To ensure the new field is available to the RDLC layout, you need to update the Dataset of the RDLC report.
     
    Open the report object related to the Purchase Order and ensure the new field is added to the report's dataset. Without this, the RDLC report will not be able to access or display the field.
  • RB-10051553-0 Profile Picture
    30 on at
    Hi Sami,,
    I have already added the field to the RDLC dataset as well, not working.
     
  • Suggested answer
    YUN ZHU Profile Picture
    99,084 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central 2021 release wave 1 (BC18): Report extensibility (ReportExtension Object)
    Dynamics 365 Business Central: How to add Media or MediaSet data type (Pictures) to a report
     
    Thanks.
    ZHU
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,128 Super User 2026 Season 1 on at
    Follow below steps: standard purchase order (word)

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans