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

Business Central RDLC Shipment Report

(4) ShareShare
ReportReport
Posted on by 17

Hello, everyone

I am making an extension of the Sales Shipment report in BC adding 3 columns (custom fields) to the Shipment Lines but when I generate the report I don't get the information that I can see in the Posted Form in BC. I have also added some custom fields in the Shipment header and when I generate the report I get the corresponding information. Can you help me to give me an idea of what I have wrong?  This is the code I have.

The red ones are the custom fields in Shipment Header and the Blue ones are the custom field in the Lines. 

 

 

Here´s the AL Code we are using:

reportextension 50106 RE_SalesShipment extends /Sales Shipment NA/

{

    RDLCLayout = './SalesShipmentNA.rdlc';
    dataset
    {
        // Add changes to dataitems and columns here        
        add(/SalesShptLine/)
        {
            column(Item_Details; TempSalesShipmentLines./Item Details/)
            {
            }
            column(ItemDetailsLbl; ItemDetailsLbl)
            {
            }
            column(LineNo; TempSalesShipmentLines.LineNo)
            {
            }
            column(Line_No; LineNoLbl)
            {
            }
            column(labelLine; TempSalesShipmentLines.labelLine)
            {
            }
            column(Label_Line; LabelLineLbl)
            {
            }
        }

        add(/Sales Shipment Header/)
        {
            column(DealerContact; DealerContact)
            {
            }
            column(Dealer_Contact; DealerContactLbl)
            {
            }
            column(Project; Project)
            {
            }
            column(ProjectLbl; ProjectLbl)
            {
            }
        }
    }

   requestpage
    {
        // Add changes to the requestpage here
    }

    var

        TempSalesShipmentLines: Record /Sales Shipment Line/ temporary;
        ItemDetailsLbl: Label 'Item Details';
        LabelLineLbl: Label 'Label Line';
        LineNoLbl: Label 'Line No.';
        DealerContactLbl: Label 'Dealer Contact';
        ProjectLbl: Label 'Project';
}

 

Best Regards

I have the same question (0)
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,766 Super User 2025 Season 2 on at
    Have You provided the RDLC layout, not just the Report Extension?
    You can try to create a custom report layout for this Report ID and import Your RDLC layout, then test it on any Shipment.
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,276 on at
    Hii There,
    As far as the code you provided in that Report which is blank in output, So you need to export the layout and add the fields in RDLC layout and Import to replace the existing layout.! Or You can export the existing layout, create a new layout. Import as new id and create a codeunit by which you will open the new layout in place of old layout.
     
    Thank you,
    Kamal Khakhkhar.
  • Community member Profile Picture
    2 on at
    123123123123123
  • Community member Profile Picture
    2 on at
    Hi all, From scheduling my blood test to accessing the results online, the entire process with https://ways2well.com/get-started/comprehensive-blood-work was surprisingly streamlined and convenient. I appreciated how easy it was to schedule an appointment at a time and place that was convenient for me, as well as the ease of accessing the results through the user-friendly online platform. This streamlined process saved me time and hassle, allowing me to focus on what really matters - my health and well-being. If you want to improve your health, I highly recommend this site
  • CU30041306-0 Profile Picture
    on at
    Hi everyone, I want to share with you my experience of reviewing the monopoly live game for all players in India https://odds96.in/en/casino/game/10004-monopoly-live, one of the main advantages of playing Monopoly live is the engaging hosts who host the game live. These charismatic hosts not only guide players through the various rounds and bonus features, but also add a personal touch to the game with their lively comments and interactions. I would definitely recommend this review, as there is a lot more information about the bonuses and promotions of this game.

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