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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to Sort in Word Template the Quote Lines of a Quote Alphabetically?

(0) ShareShare
ReportReport
Posted on by 157

Dear, please, I need to know if there is a way to Sort in the Word Template the Quote Lines of a Quote By Alphabetical Order?

Scenario: I have a Word Template that displays a Quote summary, so in this template I have a table that displays the Products/Quote Lines, but the template always sorts Quote Lines by the Creation Date on which the Quote Lines were included in Quotation, which unfortunately is a native behavior of Dynamics365, however I need to know how do I order Quotation Lines Alphabetically instead of Creation Date?

I noticed that in the Quotation Lines there are the Sequence Number and Line Item Number fields by Dynamics, but even filling them, it does not reflect in the Ordering of the Quotation Lines when the Word Template is generated, it always continues to display the Lines of Quotation by the Creation Order in which they were included in the Quotation.

Does anybody know how to solve this?

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Dani,

    Unfortunately, you can't achieve it.

    Note from Microsoft:

    Lists in created documents are not in the same order as records

    Lists of records created from a custom template may not appear in the same order in Word documents as the order in customer engagement apps. Records are listed in the order of the time and date they were created.

    https://docs.microsoft.com/en-us/power-platform/admin/using-word-templates-dynamics-365#lists-in-created-documents-are-not-in-the-same-order-as-records 

    Scott Durow proposed the idea in the past, but is not picked up by Microsoft.

    Microsoft Idea (dynamics.com)

  • CU23100303-0 Profile Picture
    157 on at

    Thank you very much for help. But, do you know one other solution that solve this case with other procedure?

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans