Bulk Actions on Sales Orders: Delete, Print PDF and Export
From the Sales Orders list you can select several sales orders and run one action on all of them: Delete the selected orders, Print PDF to download them in one PDF file, or Export their data to an Excel, CSV or XML file. This article explains how to select orders, each action, the 200-order print limit, and why some orders cannot be deleted.
Article contents
Before you start
- Sales orders are enabled in Sales Settings.
- You have permission to view sales orders, and to edit and delete them if you want to delete.
- To print each order correctly: sales orders have a print template set up; each order prints with its own template.
- Apply filters from Search & Filters first if you want to work on a specific set (a client, a period or a status).
Running bulk actions
1. Select the sales orders
- Open Sales Orders from Sales.
- Tick the checkbox next to each order you want. The Actions button appears with the number of selected orders.
- To select all, tick the checkbox in the table header and choose:
- All (Current Page): the orders on the visible page only.
- All Filtered (All Pages): every order matching the applied filters.
2. Delete the selected orders
- Click Actions, then Delete.
- The confirmation «Are You Sure You Want To Delete This Sales Orders ?» appears; confirm.
- The Deleting Sales Orders page opens and deletes the orders one by one, showing the Successful and Failed counts and the reason each order failed.
- Click Close to go back to the list.
Note: Deleting is permanent. An order that fails to delete stays as it is, and the other orders are deleted.
3. Print the selected orders in one PDF
- Select 200 orders or fewer.
- Click Actions, then Print PDF.
- The system creates one file, select-sales-orders.pdf, with the selected orders, each on its own pages and with its own print template.
Note: With more than 200 orders selected, the message «Can't print more than 200 Invoice» appears and you are taken to the invoices list without printing. Print in batches.
4. Export the selected orders
- Click Actions, then Export. The Export Sales Orders page opens.
- Choose the Type: Sales Orders for one line per order, or Items or Item Columns to include each order's items.
- Choose the columns in Invoice Fields (and the item data when chosen), then Order By and File Type.
- Click Export. The file downloads to your device.
Fields
| Field | Required / optional | Default | Accepted values | What it does |
|---|---|---|---|---|
| Checkbox next to an order | Optional | Not ticked | Tick / untick | Adds the order to the orders the action runs on |
| All (Current Page) / All Filtered (All Pages) | Optional | – | One of them | Selects the page's orders or every order matching the filters |
| Type (export) | Required | Sales Orders | Sales Orders, Items, Item Columns | The level of detail in the file |
| Invoice Fields (export) | Optional | – | Sales order, client, shipping, staff and amount columns | The columns in the file |
| Items / Item Columns (export) | Optional | – | Item, Description, Unit Price, Quantity, Discount, taxes, Subtotal, Product ID, Product Code / the item columns set up | Each order's item data |
| Order By (export) | Required | Date (Recent First) | Date, Number, Total, Status (ascending or descending) | The order of the sales orders in the file |
| File Type (export) | Required | CSV (, seperated) | CSV (, seperated), CSV (; seperated), Excel, XML | The file format |
Export file columns
| Group | Columns |
|---|---|
| Sales order | ID, Sales Order Number, Sales Order Date, Issue Date, Payment Status, Currency, Is Draft, Payment Terms, notes, From Date, To Date, Due date, Created, Modified |
| Client | Client Number, Client Business Name, Client First Name, Client Last Name, Client Full Name, Client Email, Client Phone1, Client Phone2, and the client address in full or by part |
| Shipping | Client Shipping Name, the shipping address in full or by part, Shipping Name (the shipping option), Shipping Fees |
| Staff | Staff Member ID, Staff Member Name |
| Amounts | Subtotal, Discount Percentage, Discount, Discount Amount, Deposit, Adjustment Label, Adjustment Value, Total, Total Paid, Balance Due |
| Loyalty points | Earned Loyalty Points, Loyalty Points Balance (when loyalty points are on) |
Settings that affect it
| Setting | Where | Default | Effect |
|---|---|---|---|
| Sales orders system | Sales Settings → Sales Order Settings | Off | Without it the sales orders list is hidden, and deleting is refused with a message that sales orders are disabled |
| Sales order print template | Templates → Printable Templates | The default template | Sets how each order looks in the Print PDF file |
| Loyalty points | The loyalty points app | – | When on and you may redeem points, adds the Earned Loyalty Points and Loyalty Points Balance export columns |
Validations and error messages
| Message | When it appears | Fix |
|---|---|---|
| «Can't print more than 200 Invoice» | Choosing Print PDF with more than 200 orders selected | Select 200 orders or fewer and print in batches |
| «Sales Order #number failed to be deleted as it has already been Invoiced» (or Partially Invoiced) | Deleting an order invoiced fully or partially | Delete the linked invoices permanently first, or keep the order |
| «The sales order couldn't be deleted. Please make sure related sales invoice is removed completely from system and trash.» | The order has an invoice in the trash | Delete the invoice permanently from the trash |
| «You cannot delete/update the sales order that already selected in the production plan #number» | The order is in a production plan | Remove the order from the production plan first |
| «You are not allowed to delete Sales Order #number» | Your permission covers your own orders and the order is someone else's | Ask for Edit and Delete All Sales Orders |
| «You are not allowed to view this page» | Opening the export page without permission to view sales orders | Ask for the view permission |
Restrictions
| Restriction | Details |
|---|---|
| Print limit | 200 sales orders at a time for Print PDF; export and delete have no such limit |
| Invoiced orders | Orders whose status is Invoiced or Partially Invoiced are not deleted |
| Invoice in the trash | An order is not deleted while its deleted invoice is still in the trash |
| Production plans | An order added to a production plan is not deleted (with the Manufacturing app) |
| Other users' orders | With Edit and Delete His Own Sales Orders, only the orders you created or are the sales person of are deleted |
Permissions
| Permission | What it allows | Without it |
|---|---|---|
| View All Sales Orders | See, print and export every order | You see only your own orders if you can view your own |
| View His Own Sales Orders | See, print and export your own orders | The list does not open without any view permission |
| Edit and Delete All Sales Orders | Delete any sales order | Deleting other users' orders fails |
| Edit and Delete His Own Sales Orders | Delete the orders you created or are the sales person of; also allows export | Deleting any order fails |
What happens after saving
- Delete: the orders are deleted permanently and the deletion is recorded in the activity log. If an order came from an estimate, the estimate goes back to Accepted.
- Print PDF: one file downloads; nothing changes in the orders.
- Export: the file downloads with the chosen columns; nothing changes in the orders.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| The orders were not printed and I was taken to the invoices list | More than 200 orders were selected | Select 200 orders or fewer |
| Some orders were not deleted | Invoiced, an invoice in the trash, in a production plan, or not your orders | Check each order's reason on the Deleting Sales Orders page |
| The loyalty points columns are missing from the export | The loyalty points app is off or you may not redeem points | Turn the app on or ask for the permission |
| The Item Columns list is empty | No item columns were added in your account | Choose Items instead |
FAQs
How many sales orders can I print at once?
Up to 200 each time you press Print PDF. With more selected, «Can't print more than 200 Invoice» appears and nothing is printed.
Can I delete a sales order that was converted to an invoice?
No. An order whose status is Invoiced or Partially Invoiced is not deleted, nor one whose invoice is in the trash until it is deleted permanently.
Can a bulk delete be undone?
No. Deleting is permanent, and deleted sales orders do not go to the trash.
Can I export all sales orders, not just the visible page?
Yes. Choose All Filtered (All Pages) from the header checkbox, then Export; every order matching the filters is exported.
Can each order's items be included in the export?
Yes. Choose Items or Item Columns in Type, then pick the item data.
Why does each order look different in the PDF?
Because each order prints with the print template chosen for it.