---
title: "Respecting External Freight Costs"
app: "Dynamic Ship"
section: "Reference"
last_updated: "2024-03-28"
url: "https://insight-works.com/kb/dynamic-ship/external-freight-quotes/"
---

# Respecting External Freight Costs

Dynamic Ship only acknowledges freight quotes generated through the Dynamic Ship Freight Quote from a sales quote or sales order in Business Central.

1. Complete the following as needed:

   - Do not allow Dynamic Ship to generate freight lines on any orders because you are using an external freight quote: change _Freight Billing Type_ to**None**in _Dynamic Ship Setup_.
   - Override freight on a per-customer basis: [configure customer options](/kb/dynamic-ship/configure-customer-options/) with the Shipment Option Template’s _Add Freight Line_ set to**Manual**.
   - Set the freight price rules to exclude freight: see [_Freight Price Rules_](/kb/dynamic-ship/freight-price-rules/).
   - Skip freight on select orders: change _Add Freight Line_ to**Manual**in the Dynamic Ship _Shipment Options_ section of the sales order.
   - Create freight lines programmatically: create a “DSHIP Freight Quote Key” table entry. Add the following code to create this:

| lrecFreightQuote.Init lrecFreightQuote.Document Type = lrecSalesLine.”Document Type” lrecFreightQuote.Document No = lrecSalesLine.”Document No.” lrecFreightQuote.Line No. = lrecSalesLine.”Line No.” lrecFreightQuote.insert |
| --- |

1. Set the following Dynamic Ship Setup:

   - Freight Billing Behavior: Update (re-uses the existing line)
   - Freight Quote Update Behavior: Never (looks for an existing freight quote key)

 Note: The freight line must use the same resources or G/L account that is configured in Dynamic Ship Setup.

1. Match the following columns on the freight line to the freight quote’s lines:

   - Type
   - Number
   - Location
   - Quantity
   - Outstanding quantity (not posted)

-

If any of those pieces differ, Dynamic Ship does not recognize it as a freight line. Create a custom rate line management using the OnBeforeAddFreightLineToSalesOrder event from DSHIP Event Publisher.

If you do not want any freight line at all, see the [_Create a Free Freight Campaign_](/kb/dynamic-ship/create-a-free-freight-campaign/) page.
