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 :
Small and medium business | Business Central, N...
Suggested Answer

Sales Order Line - Can each line have a different shipping address?

(2) ShareShare
ReportReport
Posted on by 4
Hello,
We are a printing company. We are planning on integrating D365 Business Central with our existing Job Production Software. Our "jobs" often have multiple products that we manufacture and ship (imagine a catalog with a "Retail" version and a "Wholesale" version. Or a magazine with different languages or a "Mail" and a "Non-mail" version (as demonstrated below). Each of those versions can have many shipping addresses (a specified amount (10,000) of a particular product (mail version) shipped to a particular location (particular post office in Arizona). I also need to calculate tax for individual shipments (using Avalara).
 
Again, our existing software handles all manufacturing and shipping. I want D365 to handle the invoicing and accounting functions.
Example:
  • ABC Magazine
    • Mail Version
      • We ship 10,000 copies directly to a USPS facility in Arizona for mailing
      • Each of these has a value of $.80 ea.
    • Non-Mail Version
      • We ship 500 copies to the publisher in Arizona for their reference and use.
        • Each of these has a value of $.75 ea.
      • We ship 5 copies to the parent company in Texas for their reference and use.
        • Each of these has a value of $.77 ea.
This is the method I am trying to test:
  • Use the API to create an "Item" with the basic information from each shipment on the job (again, using our existing software, not D365).
    • In my example, 3 items would be created.
  • Automatically create a Sales Order in Business Central.
    • Each line of the Sales Order would reference one of the Items created as per the process described above.
    • I am hoping that an integration with Avalara would calculate the tax for each Sales Order Line (each line could be shipped to a different taxing location - in this example, we are shipping to 2 different locations in Arizona and 1 in Texas).
  • Post the Sales Order and create a single invoice for the customer.
Item Card might look like this (the No. field is a reference to our existing production system):
The Sales Order might look like this:
 
The problem is that each line of the sales order in Business Central needs to have its own shipping address. I don't know how to accomplish this since the Sales Order has the address information in the Header - not at the Line level.
 
I am also open to other ways of doing this if anyone has recommendations.
 
Thank you!
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,530 Super User 2025 Season 2 on at
    Hi there! Good morning, evening, or afternoon - depending on where you are :) Hope you are well today! 
     
    This is a great use case! While it’s true that Business Central associates shipping addresses with the Sales Order Header by default, there are ways to handle your scenario where each sales order line requires a different shipping address. Here’s how you can tackle this:

    1. Use Customization or Extensions
    The standard Business Central doesn't allow line-level shipping addresses natively, but you can customize this functionality through extensions. Specifically:
    • Add a Shipping Address Field to Sales Lines: Create a custom field on the sales line to capture the shipping address.
    • Override the Posting Logic: Modify the posting routines to use the shipping address from the sales line instead of the header when processing shipments.
    • This approach will allow Avalara to calculate tax based on the address on each line.
    2. Utilize Drop Shipments for Each Line
    If you treat each shipment as a drop shipment, you can associate separate shipping details with each sales line:
    • For each line, create a Drop Shipment linked to the specific address.
    • Business Central supports handling separate addresses for drop-shipped items.
    • This approach might need adjustments to fit within your invoicing flow.
    3. Integrate Shipping Addresses Through APIs
    When creating the sales order via your existing software’s integration:
    • Include the shipping address information in the payload for each sales order line.
    • Pass this as metadata or custom fields that your Business Central integration can interpret and use for calculation/tax purposes.
    4. Leverage Avalara Integration
    Avalara’s integration with Business Central can calculate taxes based on separate shipping addresses if the correct addresses are passed for each line:
    • When pushing the sales order lines to Business Central, ensure that the tax area code and tax group code fields are populated for each line with location-specific details.
    • Avalara will then calculate taxes accurately based on the varying shipping locations.
    5. Use Multiple Sales Orders Per Job
    If the above options seem complex, consider breaking the sales order into multiple sales orders—one for each shipping address:
    • Each sales order will reference the specific line items for that location.
    • This approach works well if having multiple sales orders is acceptable from an operational standpoint.
    6. Consider Workarounds with Locations or Dimensions
    • Warehouse or Location Codes: Use location codes to represent different shipping destinations. While this requires some creative mapping, it could work depending on your setup.
    • Dimensions: Define shipping addresses as dimensions. This would be more of a workaround, but it allows capturing shipping details on a per-line basis.
     
    Recommendations
    The ideal approach depends on your operational priorities:
    • If precision and automation are critical: Go for customization/extensions to introduce line-level shipping addresses.
    • If simplicity is preferred: Use the drop shipment method or split the sales orders by address.
    I’d recommend working closely with a Business Central partner or developer to implement the customization or integration tweaks.
     
    Hope this is helpful!
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,527 Super User 2025 Season 2 on at
    Hi,
     
    I don't believe this option is available in standard Business Central, but I would recommend brainstorming to come up with a solution. One approach could be to customize it for shipping per line, which we’ve done for one of our clients. Since you're looking for a solution related to shipping and warehouse management, I’d suggest checking out https://dmsiworks.com/ . They offer apps and a team for customization. This recommendation is based on my experience.
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
     
     
  • Vahid Ghafarpour Profile Picture
    12,122 Super User 2025 Season 2 on at
    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊
  • Vahid Ghafarpour Profile Picture
    12,122 Super User 2025 Season 2 on at
    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans