Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

sales order with two different delivery addresses not displaying correctly

(0) ShareShare
ReportReport
Posted on by 515

Hi,

There are two lines on this sales order with two different delivery addresses. If you see invoices/packing slips for this sales order there will be two invoices/packing slips. its supposed to display the address that is on the line on invoices/packing slips. but its pulling same address on both the lines on invoices/packing slips..

Below pictures for the invoices:

8507.w1.PNG

ww1.PNG

Which classes and tables are doing this job? In which place we can see the code for this case? 

Any idea to solve this issue?

Thanks

Shan

*This post is locked for comments

  • MATTGUO Profile Picture
    MATTGUO 22,317 on at
    RE: sales order with two different delivery addresses not displaying correctly

    Hi shanawaz,

    For the packing slip, it can be printed the different delivery addresses by the different delivery addresses in SO lines.

    For the invoices, it defaults to print the invoice address of the customer address which is invoice purpose. If the invoice purpose address doesnot exist, it will print the delivery address in SO header.

    If you want invoice addresses of lines to be different, you need to create two SOs with different addresses.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 on at
    RE: sales order with two different delivery addresses not displaying correctly

    Hi Shan,

    By default, the report data provider classes are taking the sales order header information to print the delivery address. This provider class can be customized to get the delivery address from the lines. You can also create an order per delivery address.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans