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

Extend fields to Picking List to use on Word Developer > XML Mapping Pane

(5) ShareShare
ReportReport
Posted on by 70

Hi.

I am struggling so hard with extending my Picking List to include "location to: fields on it...
So basically I want to include the delivery location on the picking lists but when I open it on Word it does not exist within the Dataset... I could get it right with other modules like the invoice but I can't do it on the picking list...
Please help me with a basic (Or not basic) piece of code.

Also I would appreciate it if anyone could give me advice on where I can learn more about AL development?

I have the same question (0)
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,732 Super User 2026 Season 1 on at
    Hello,
     
    To include the delivery location on the Picking List in Business Central, you need to create a Report Extension for the standard Picking List report (e.g., Report 5752) and add the required field (such as Location Code from Sales Header or Sales Line) to its dataset using AL code.
     
    After publishing the extension, refresh the Word layout dataset so the new field appears in the XML Mapping pane, then insert it into the layout.
     
    For learning AL development, the best resources are Microsoft Docs, YouTube channels like AJ Kauffmann, community forums, and books like Mastering Microsoft Dynamics 365 Business Central Development by Stefano Demiliani.
  • CU01021823-0 Profile Picture
    70 on at
    Do you have an example for me with Picking List?

    I have spent almost 2 days and can't even publish a basic field to this report layout... So I have no idea where to start anymore, I have added multiple fields to "Sales Order" reports, Statement reports ect... But for some reason I can't even do a basic field into Picking List.

    I would appreciate it, thank you!
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,803 Super User 2026 Season 1 on at
    Hello,
     
    The “delivery location” fields don’t appear on your picking list because they’re not in the report dataset.
    You must add them with a report extension, then insert them into your Word layout.
     
    Mini-example:
     
    reportextension 50100 PickingListExt extends "My Picking List"
    {
        dataset
        {
            add("Sales Header")
            {
                column(ShipToName; "Ship-to Name") {}
                column(ShipToAddress; "Ship-to Address") {}
                column(LocationCode; "Location Code") {}
            }
        }
    }
     
    Publish → edit Word layout → insert these new fields from the XML Mapping pane.
     
    Where to learn AL:
     
    Microsoft Learn (Business Central Developer docs).
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    Report extensibility (ReportExtension Object)
    Why are custom columns/fields added via Report Extension not found in standard layouts exported from Report Layouts page?
     
    Thanks.
    ZHU

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans