Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Group lines on Purchase order PDF printout

(0) ShareShare
ReportReport
Posted on by 65

Hi.

We need to group lines on purchase order PDF printout by product number. Internally we sometimes have same product on multiple lines because they are for different projects and distinction between them is needed. But if we are sending the order to our suppliers, all distinct products should have their own line with total amount needed to avoid confusion.

In theory it seems like a relatively simple change to make but I have no idea where to start.

Can someone help us get to the right direction about it?

On premise version 18 updated to 20 within next few weeks.

Thanks

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,131 Super User 2024 Season 2 on at
    RE: Group lines on Purchase order PDF printout

    Hi, If you are using the W1 version, the format currently used by Purchase Order is Word layout, which Word cannot do as much as RDL/RDLC.

    So I think you have to recreate the Layout and cannot modify it on the existing layout.

    For example,

    pastedimage1657846173142v1.png

    pastedimage1657846206663v2.png

    pastedimage1657846216529v3.png

    pastedimage1657846227035v4.png

    pastedimage1657846280156v5.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Catharsis Profile Picture
    Catharsis 65 on at
    RE: Group lines on Purchase order PDF printout

    Thank you!

    This seems quite helpful.

    But are RDLC Reports only way to solve this?

    Also would it be possible to use current standard Purchase order report as a baseline and just edit this one to include grouping?

  • Verified answer
    divyeshchitte Profile Picture
    divyeshchitte 950 on at
    RE: Group lines on Purchase order PDF printout

    Kindly ref to below blog after you export custom layout as suggested by YUN ZHU

    archerpoint.com/.../

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,131 Super User 2024 Season 2 on at
    RE: Group lines on Purchase order PDF printout

    Hi, This looks like just modifying the Layout will do the trick.

    More details: https://docs.microsoft.com/en-us/dynamics365/business-central/ui-how-create-custom-report-layout#to-create-a-custom-layout

    pastedimage1657672868155v1.png

    pastedimage1657672905683v2.png

    But you need knowledge of Layout, for example, RDLC layout.

    https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/report-builder-in-sql-server-2016?view=sql-server-ver16

    Hope this can give you some hints.

    Thanks.

    ZHU

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,430 on at
    RE: Group lines on Purchase order PDF printout

    Hi

    I think you need to use AL and tweak your XML. Like adding logic to AL/XML that look for all similar part number then sum them up. Also, another logic to list unique item no. Then show these two in report layout instead of item no and QTY.

    But I am not a developer or knowledge of development.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,409 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,479 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans