Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

How do I combine two or more rows with the same data of row into one row?

(0) ShareShare
ReportReport
Posted on by 94

Hi Guys,

I'm looking for help on how to combine two or more rows with the same data of row into one row.

For example, suppose I have two rows with the same Type and same No. in sales invoice line then I want to sum up the quantity into one row.

Does anyone know how I can do this? 

pastedimage1679059265019v1.png

Thanks

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 993 Super User 2024 Season 1 on at
    RE: How do I combine two or more rows with the same data of row into one row?

    If you do not want to do this manually, then the other option is to create some code that loops through the sales lines and do the process for you.

    The code for it is not so complicated but there is a lot of checks you need to do when it comes to quantity, prices etc.

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 41 on at
    RE: How do I combine two or more rows with the same data of row into one row?

    Hi,

    Not standard function as per my knowledge.

    If one of the line has no quantity posted then you can delete one line and put the quantity in the other line.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans