Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/OrderManagement/OrderSplitting/MidDeliverySplit.htm

## Mid-Negotiation Delivery Splitting

Mid-Negotiation Delivery Splitting allows users to split orders into deliveries before or while negotiating the order. Deliveries can be split by delivery date, delivery location, and wholesaler.

**Who can use this feature?**

* End Users - iPad, Windows
* [Using Mid-Negotiation Delivery Splitting](#Using)
* Users do not require an additional license

### Configuring Mid-Negotiation Delivery Splitting for

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

To configure this feature:

1. Ensure [Configuring Order Management](../OM_Config.htm) is complete.
2. Ensure Affiliation Wholesalers is configured if using Delivery Split Mode 1.
3. Ensure [Wholesalers](../CreatingOrders/TransferOrders/Wholesalers.htm) is configured if using Delivery Split Mode 2 or 3.
4. Ensure [Delivery Locations](../CreatingOrders/OrderHeaders/DeliveryLocation.htm) is configured if using Delivery Split Mode 2 or 3.
5. Navigate to **Business Admin > Objects > Veeva Settings > Global Veeva Settings**.
6. Set the **om\_delivery\_split\_mode\_\_v** Veeva Setting to 1, 2, or 3:
   * 1 - Allows the selection of the order account’s addresses for Delivery Locations and order accounts’s Affiliate Wholesalers for Wholesalers. Can be used with iPad .
   * 2 - Allows the selection of the order account’s associated Account Partner Delivery Locations for Delivery Location and order account’s Account Partner Wholesaler for Wholesalers. Can be used with iPad.
   * 3 - Allows the selection of the order account’s associated Account Partner Delivery Location for Delivery Location and order account’s Account Partner Wholesaler for Wholesalers. Enables viewing of delivery information on the Browser.
7. Set **number\_delivery\_dates\_\_v** Veeva Setting to a number larger than 0. This represents the maximum number of deliveries allowed. The maximum supported number of deliveries is 12.
8. Navigate to **Admin > Configuration > Objects > Order > Layouts** and edit the appropriate layout.
9. Create a new detail form section on the layout for the **order\_\_v** object called Delivery Information.
10. Add the **delivery\_date\_\_v** control to the Delivery Information section on the order\_\_v layout.
11. Navigate to **Admin > User & Groups > Permission Sets**.
12. Select the appropriate permission set for the user profile.
13. Select **Objects > Order**.
14. Grant view permission to the **delivery\_date\_\_v** control on the order\_\_v object.
15. Grant the following permissions:

    | Object | Object Permissions | Object Types | Fields | Field Permissions |
    | --- | --- | --- | --- | --- |
    | order\_\_v | CRED | All | * delivery\_rank\_\_v * master\_order\_\_v | Edit |

The following steps are optional:

1. Grant view permission to the **delivery\_address\_\_v** control on the order\_\_v object (optional).
2. Add the **delivery\_address\_\_v** control to the Delivery Information section on the order\_\_v layout to allow selecting a delivery location for each delivery (optional).
3. Grant view permission to the **delivery\_wholesaler\_\_v** control on the order\_\_v object (optional).
4. Add the **delivery\_wholesaler\_\_v** control to the Delivery Information section on the order\_\_v layout to allow selecting a wholesaler for each delivery (optional).
5. Grant view permission to the **payer\_\_v** control on the order\_\_v object (optional).
6. Add the **payer\_\_v** control to the Delivery Information section on the order\_\_v layout to allow selecting a Payer for each delivery (optional).
7. Grant view permission to the **delivery\_free\_goods\_\_v**, **delivery\_list\_amount\_\_v**, **delivery\_net\_amount\_\_v**, and **delivery\_total\_quantity\_\_v** controls on the order\_\_v object (optional).
8. Add the **delivery\_free\_goods\_\_v**, **delivery\_list\_amount\_\_v**, **delivery\_net\_amount\_\_v**, and **delivery\_total\_quantity\_\_v** control to the Delivery Information section on the order\_\_v layout to display delivery information on the parent order (optional).

### Using Mid-Negotiation Delivery Splitting as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

#### Adding Deliveries

When viewing the order header, users see the Delivery Information section. To add a delivery:

1. Select the **green plus** button.
2. Select a **Delivery Date**.
3. Select a **Delivery Address** if using Delivery Split Mode 1.
4. Select a **Delivery Location** if using Delivery Split Mode 2 or 3.
5. Select a **Payer** if the payer\_\_v control is on the layout.
6. Select a **Payment** if the delivery\_payment\_\_v control is on the layout. For more information, see [Delivery Order Payment Terms](DeliveryPaymentTerms.htm).

Once deliveries are added, users can allocate product quantity to each delivery in the order lines tab.

1. Select the **Order Lines** tab.
2. Add a product to the order.
3. Select a **Quantity** for each delivery.

If the remaining quantity for the order is not 0, a warning displays. Free goods are automatically allocated to the first delivery if [Manual Allocation of Free Goods](ManualAllocateFreeGoods.htm) is not enabled.

Deliveries can also be added when allocating quantity for a product by clicking the green plus button under the quantity.

If the first delivery is added when products are already added to the order, all existing quantities are allocated to the first delivery.

If the parent order is submitted, voided, unlocked, or deleted, all delivery orders are as well. Copying is not supported for delivery orders.

#### Viewing Delivery Information

Delivery orders must be viewed and edited through the parent order. If the respective control is added to the layout for the order, end users can view the following information for each delivery on the parent order:

* delivery\_address\_\_v - The delivery location of the delivery. In Split Mode 1, this value is stored in the ship\_to\_address\_\_v field of the delivery order. In Split Mode 2 and 3, this value is stored in the delivery\_location\_\_v field of the delivery order.
* delivery\_date\_\_v - The date of the delivery. This value is stored in the delivery\_date\_\_v field of the delivery order.
* delivery\_free\_goods\_\_v - The sum of free goods allocated to the delivery across all products in the delivery. This value is stored in the order\_free\_goods\_\_v field of the delivery order.
* delivery\_list\_amount\_\_v - The sum of quantity\_\_v multiplied by list\_amount\_\_v of all product quantities allocated to the delivery. This value is stored in the order\_list\_amount\_\_v field of the delivery order.
* delivery\_net\_amount\_\_v - The sum of quantity\_\_v multiplied by net\_amount\_\_v of all product quantities allocated to the delivery. This value is stored in the order\_net\_amount\_\_v field of the delivery order.
* delivery\_total\_quantity\_\_v - The sum of quantity, including free goods, allocated to the delivery across all products in the delivery. This value is stored in the order\_total\_quantity\_\_v field of the delivery order.
* delivery\_wholesaler\_\_v - The wholesaler of the delivery. In Split Mode 1, this value is stored in the wholesaler\_\_v field of the delivery order. In Split Mode 2 and 3, this value is stored in the wholesaler\_account\_partner\_\_v field of the delivery order.
* payer\_\_v - The payer for the delivery. This value is stored in the payer\_\_v field of the delivery order.

### Related Topics

[Delivery Location](../CreatingOrders/OrderHeaders/DeliveryLocation.htm)

[Wholesalers](../CreatingOrders/TransferOrders/Wholesalers.htm)
