Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Business Central RDLC Report

(0) ShareShare
ReportReport
Posted on by 8

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

  • RudyZhang Profile Picture
    Microsoft Employee on at
    Business Central RDLC Report
    Hi,
     
    Based on your description of the issue, our team found that your issue is related to Dynamics 365 Business Central.
    We recommend you to ask this question in the Dynamics 365 BC forum, where your problem will be noticed by many experts in the field and you will get a more effective solution.
    The link to the forum is as follows
    https://community.dynamics.com/forums/thread/?groupid=e78817ab-a926-4d31-96cc-aef040a4eb04
     
     
    Best Regards,
    Rudy Zhang

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,202 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans