Visma.net ERP
About shipping rules
The shipping rules specified for a particular sales order define how the goods for the sales order should be shipped; whether they should be shipped only in full or partial shipments for the available quantities are allowed.
The shipment rules for a sales order are applied when you create a shipment for the order manually by using the Create shipment action in the Sales orders (SO301000) window, or automatically, by running the Create shipments process from the Behandla ordrar (SO501000) window.

In the Sales orders (SO301000) window, you can specify the shipping rule for the sales order document as a whole (the Shipping rule field on the Delivery settings tab) and for each order line (in the Shipping rule column on the Document details tab).
The document-level rule is inserted by default for each line of the order, but you can change the rule for any line as needed.
You can specify any of the following shipping rule options for order lines and for orders:
- Back orders allowed
- Cancel remainder
- Ship only when complete
The shipping rules applied to order lines are explained in the following table.
Shipping rule option | Result |
---|---|
Back orders allowed |
The item specified in the line can be included in a shipment if any non-zero quantity that is equal to or less than the ordered quantity is available for shipping. The line gets the Completed status once the full ordered quantity has been shipped. If you have classes of stock items for which negative quantity is allowed and if you do not want to rely completely on availability data, select the Add zero lines for items which are not in stock check box in the Inställningar försäljningsorder (SO101000) window. Then, for order lines with the Back orders allowed shipping rule, a zero-quantity line will be added to the shipment if the item is not in stock, and you will be able to manually enter the actually available quantity of the item.
|
Cancel remainder |
The item specified in the line can be included in a shipment if any non-zero quantity that is equal to or less than the ordered quantity is available for shipping. With this shipping rule, shipping for the line is performed only once. |
Ship only when complete |
The item specified in the line can be included in a shipment only if the full ordered quantity is available for shipping. If the quantity of the item that is available for shipping is less than the ordered quantity, then the item in this line is not included in the shipment. |
See the table below for details about how the shipping rule of a sales order affects the automatic processing of the sales order (performed by using the Behandla ordrar (SO501000) window).
Document-level rule | Result |
---|---|
Ship only when complete |
If shipping cannot be performed for each line of the order, no shipment is created, and the order gets the Back order status. The shipment is created (and the order gets the Shipping status) if shipping can be performed for each line; that is, if the lines meet the following criteria:
You cannot specify different Requested on dates for different lines in the order. When the shipment has been confirmed, the order gets the Completed status if all the lines have the Completed status. If any line is not completed, the order gets the Back order status. |
Cancel remainder |
If shipping cannot be performed for any of the order lines, no shipment is created, and the order gets the Back order status. If full or partial shipping can be performed for at least one line (according to the line's shipping rule), the shipment is created. You cannot specify different Requested on dates for different lines in the order. When the shipment has been confirmed, the order gets the Completed status if at least one line has the Completed status and the lines not included in shipment have the Cancel remainder rule. |
Back orders allowed |
If shipping cannot be performed for any of the order lines, no shipment is created, and the order gets the Back order status. You can specify different Requested on dates for different lines in the order and get the different lines shipped on different dates.If you change the Requested on date for the order, the system will prompt you to choose whether you want to keep the dates specified for each line or to update the respective dates with the new Requested on date. If full or partial shipping can be performed for at least one line according to the line's shipping rule, the shipment is created. After the shipment has been confirmed, the order gets the Back order status if other lines are not completed. |

The table below presents the examples that illustrate how the shipping rules specified for the sales order and its lines affect the fulfillment of the order.
Assume this order has the following lines:
- Line 1: Product 1 with an ordered quantity of 150
- Line 2: Product 2 with an ordered quantity of 100
Each row of the table shows a combination of shipping rules:
- The first column displays the rule specified for the sales order as a whole.
- The second column displays the rules specified for the lines of the sales orders.
- The third column displays the quantity of each product that is available for shipping in the example in the row.
- The fourth column displays, for the particular shipping rules and available quantities, the result of and conditions.
- The table includes enough combinations to give you an idea how these settings work together without covering an overwhelming amount of detail.
Document-level rule | Shipping rules for order lines | Qty. available for shipping | Result |
---|---|---|---|
Ship only when complete |
|
|
A shipment is created that includes both lines (150 of Product 1 and 100 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the order gets the Completed status. |
Ship only when complete |
|
|
No shipment is created, and the sales order gets the Back order status. |
Ship only when complete |
|
|
A shipment is created that includes both lines (150 of Product 1, and 50 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the order gets the Completed status. |
Ship only when complete |
|
|
A shipment is created that includes both lines (150 of Product 1, and 50 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the sales order gets the Back order status. |
Cancel remainder |
|
|
A shipment is created that includes only one line (150 of Product 1), and the sales order gets the Shipping status. On shipment confirmation, the order gets the Completed status. |
Cancel remainder |
|
|
A shipment is created that includes only one line (50 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the order gets the Back order status. |
Cancel remainder |
|
|
No shipment is created and the sales order gets the Back order status. |
Back orders allowed |
|
|
A shipment is created that includes both lines (150 of Product 1 and 50 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the sales order gets the Completed status. |
Back orders allowed |
|
|
A shipment is created that includes both lines (150 of Product 1 and 50 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the order gets the Back order status. |
Back orders allowed |
|
|
A shipment is created that includes both lines (100 of Product 1 and 50 of Product 2), and the sales order gets the Shipping status. On shipment confirmation, the sales order gets the Back order status. |

You can use under-shipment and over-shipment thresholds, in addition to shipping rules, to determine whether a shipment results in changing the status of the sales order line to Completed.
On the Document details tab in the Sales orders (SO301000) window, for each line of a sales order, you can specify whether under-shipment and over-shipment are allowed as follows:
- To allow over-shipment, you enter in the Over-ship. threshold (%) column a value greater than 100 (meaning 100%).
For an order line with the Ship only when complete shipping rule for 100 yards of fabric, you might opt to have the whole lap shipped (a lap of fabric has 100 metres, and each metre is 1.093 yards). To do this, you can specify the over-shipment threshold at 110%, which allows up to 10% more fabric than the ordered amount to be shipped. - To allow under-shipment, you enter in the Under-ship. threshold (%) a value that is less than 100 (meaning 100%).
Suppose that when you create a shipment, for an order line with the Back orders allowed shipping rule, the system detects a small shortage of goods, for example, only 99 units are available for shipping and 100 have been ordered.
If the line's under-shipment threshold was specified at 99% or lower, the 99 units for the line will be included in the shipment, the line will be marked as Completed, and no open quantity will be left on the line for a back order.

You can set up default values to be used for shipping rules on sales orders and order lines.
During the implementation process or at any time after, you can specify the shipping rule for each customer class in the Default delivery settings section on the General settings tab of the Kundklasser (AR201000) window.
Then when you create a new customer account for a customer of this class, the customer will get the default shipping rule value along with other default values from the customer class.
For each customer, the shipping rule is specified on the Delivery settings tab of the Kunder (AR303000) window.
When you create a sales order and select the customer, the sales order automatically gets the default shipping rule you specified for the customer.
If the Business account locations functionality is enabled in the Aktivera/inaktivera funktioner (CS100000) window, the customer locations generally get the default shipping rule values from the customer accounts.
If needed, you can specify different default shipping rules for different locations of the customer.

Because transfer orders are created to account for transfers between warehouses, and warehouses are assigned to branches, the default shipping rules can be specified for branches on the Delivery settings tab of the Branches (CS102000) window.
Related concepts
About predefined types of sales orders
About sales order processing options
About invoice order processing options
About cash sales processing options
Related tasks
Display profit and margin totals
Create a sales order with allocations
Create a sales order with reserved allocations
Related windows