Skip to main content

Delete a distribution unit

Delete a whole distribution unit, with everything linked to it, from one tool. Use it when the unit card refuses to delete the unit because it has links.

Before you begin​

  • You need the Delete Distribution Unit permission in Users Management > Operations.
  • The deletion is final. The window has nothing to undo it. Take a backup of the file if you may need the data.
  • The program deletes the unit's visits, routes, targets, orders and the rest of what is linked to it. The full list is in Delete Distribution Unit. It does not delete invoices or entries.
  • If you want to keep the data, do not delete the unit. Open its card and change what you need.

Steps​

  1. In the ribbon click Distribution, then Distribution Tools in the Tools group, then Delete Distribution Unit. The window opens with the Delete button disabled.

  2. Select the unit in the Distribution Unit box. Type part of its code or name and choose from the list. The Delete button becomes available.

  3. Click Delete. The confirmation "Are you sure you want to delete?" appears.

  4. Click Delete in the message to continue, or Cancel to leave the unit as it is. The program deletes the unit and everything linked to it. Wait until the result appears.

Result​

The message "The distribution unit successfully deleted" appears, the box is cleared, and the window stays open so you can delete another unit. After you click Refresh, the unit is no longer in the Distribution Chart, nor in the unit lookup boxes. The event log has a delete line with the unit's name and code.

Nothing changes in the invoices and entries the unit created.

If something goes wrong​

MessageWhen it appearsWhat to do
Distribution unit not foundThe unit was deleted from elsewhere before you clicked Delete.Select the unit again.
An error occurred while deleting the distribution unitThe database refused the deletion, so nothing was deleted.Try again. If it repeats, contact support.
Please use Distribution Unit Delete tool to be able to delete a distribution unit which has linksYou tried to delete the unit from its card and it has links.Continue with this tool.

This page applies to alameen ERP 10, version 10.1.79.764.