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

How to create Posted Sales Invoice number (grouping by Sell-to Customer No.)

(0) ShareShare
ReportReport
Posted on by 188

We have multiple Sales Orders for same customer, we will create a bulk Warehouse Shipment and bulk Warehouse Pick together with other customers, after post Ship and Invoice, how can we get Posted Sales Invoice No. sequence by Sell-to Customer Code instead of Sales Order No ( I think this is default)

This is Sales Order list, view (sorted by Sell-to Customer Name):

1234.Sales-Orders.png

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    157 on at

    Providing you have enabled “Combine Shipments” at customer level you can try the combine shipments routine to generate a single invoice based on lines shipped. Details here: docs.microsoft.com/.../sales-how-to-combine-shipments-on-a-single-invoice

  • LaserCopr Profile Picture
    188 on at

    thanks Josh,

    Unfortunately although these sales orders are under same Sell-to Customer No., but need to ship them to different Ship-to Customer address, we cannot combine the Posted Sales Invoices

  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Pls do create Batch Job for achieving the above requirement.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • LaserCopr Profile Picture
    188 on at

    Hi Amit,

    Can you please the advise the steps to do batch achieving?

  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    1. Create One Processing Report by using Sales Header dataitem.

    2. Sorting on Sell-to Customer No.

    3. Write code on OnAfterGetrecords of Sales Header Dataitem.

    4. In this way system post Sales Invoice according to the Customer

    Regards

    Amit Sharma

    www.erpconsultors.com

    https://www.linkedin.com/in/amit-sharma-94542440/

  • Suggested answer
    YUN ZHU Profile Picture
    100,212 Super User 2026 Season 1 on at

    Hi, Hopefully the link below can give you some hints.

    Manual number for Posted Sales invoice and Posted Purchase invoice (Use the same number in Sales Order and Posted Sales Invoice?)

    https://yzhums.com/21537/

    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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,012 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 986 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 659 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans