Assign a Sales Order to a Work Order or Workflow
Link a sales order to a work order (or a workflow record) to gather a client's orders for one project or job in one place, in the record's Sales Orders tab. You can create a new sales order from the record, assign an existing one to it, or remove the link.
Article contents
Before you start
- Check Enable Sales Order under Sales Orders Module in Sales Order Settings, and turn on the Work Orders app (it may have a custom name in your account, such as Reservations) or workflows.
- You need Assign And Remove Transaction to assign an existing sales order or remove its link.
- You need Add New Sales Order To All Clients or Add New Sales Order To His Own Clients to create a sales order from the record.
- You need an existing work order or workflow record.
Steps to assign a sales order
1. Create a new sales order from the work order
- Open the work order from the Work Orders list.
- Click Add, then New Sales Order. The New Sales Order form opens in a new tab with the client taken from the work order.
- Complete the order and its items and save. The order is linked to the work order automatically and you return to the work order page.
Note: The sales order form has no work order field; the link is made because you opened the form from the work order. With Save & Print you are not returned to the work order, but the link is saved.
2. Assign an existing sales order
- On the work order page click Assign Transaction (or Add, then Add Existing Transaction); the Assign Transaction window opens.
- Choose Sales Order in Type.
- Pick the order from Suggestions (the last 5 unlinked orders) or search by its number or date in Transactions.
- Click Confirm; a success message appears.
3. Follow the linked orders
- Open the Sales Orders tab on the work order page; it shows when at least one order is linked, with their count.
- Click any order to open it, follow its status and convert it to an invoice.
4. Remove or move the link
- On the work order page click Un-assign Transactions (shown when transactions are linked).
- In the Un-assign Transactions window choose Sales Order in Type.
- Pick the order from the list or search by its number or date in Transactions, then click Confirm.
- To move it to another work order, assign it from the new work order's page after removing the link.
Assigning to a workflow record
- The steps are the same on a workflow record's page: Add › New Sales Order, or Assign Transaction › Type: Sales Order › Confirm; the order shows in the record's Sales Orders tab.
Fields
| Field | Required / optional | Default | Accepted values | What it does |
|---|---|---|---|---|
| Type | Required | — | Available transaction types, including Sales Order | Sets the kind of transaction you assign. |
| Suggestions | Optional | Last 5 unlinked orders | Unlinked sales orders | A quick pick of a recent order. |
| Transactions | Optional | Empty | The full order number or part of its date | Searches for an unlinked sales order (up to 30 results). |
Settings that affect it
| Setting | Where | Default | Effect |
|---|---|---|---|
| Sales Orders Module › Enable Sales Order | Sales Order Settings | Per account | Without it, New Sales Order and the Sales Order type do not show. |
| Work Orders app / workflows | Apps | Per account | Shows the records and the Add and Assign menus. |
Validations and error messages
| Message | When it appears | Fix |
|---|---|---|
| «Please select transaction to assign» | Confirm was clicked in Assign Transaction with no order chosen. | Choose an order from Suggestions or search. |
| «Please select transaction to unassign» | Confirm was clicked in un-assign with no order selected. | Select the order to unlink. |
Restrictions
| Restriction | Details |
|---|---|
| One work order | A sales order is linked to one record only; remove the link before assigning it to another. |
| No client check | Daftra does not check the client or the order status when assigning. |
| From the order page | You cannot link from the sales order page; it does not show the linked work order, and the sales orders list has no work order filter. |
| Deleting | Linked sales orders do not block deleting the work order. |
Permissions
| Permission | What it allows | Without it |
|---|---|---|
| Assign And Remove Transaction | Assign Transaction and Un-assign Transactions; granted automatically with adding work orders. | The buttons do not show. |
| Add New Sales Order To All Clients / Add New Sales Order To His Own Clients | The New Sales Order option in Add. | The option does not show. |
| View sales orders | Seeing the Sales Orders tab and opening the orders. | The tab does not show. |
What happens after saving
- The order shows in the Sales Orders tab on the work order page.
- The sales order does not affect the work order's budget or profit.
- When the linked order is converted to an invoice, the invoice inherits the same work order, shows in the Invoices tab and counts in the budget and revenue.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| New Sales Order is missing from Add | The Sales Orders Module is off or you lack the add sales orders permission. | Turn on the module or ask for the permission. |
| The order is not in Suggestions | Suggestions list only the last 5 unlinked orders, or the order is linked to another record. | Search by its number in Transactions, or remove its other link. |
| The Sales Orders tab does not show | No order is linked yet, or you lack a view sales orders permission. | Assign an order or ask for the permission. |
FAQs
Can I link a sales order from the sales order page?
No; link it from the work order page with Assign Transaction or Add › New Sales Order.
Does a linked sales order affect the work order budget?
No; the budget counts invoices, and the invoice converted from the order inherits the work order and counts in it.
Can a sales order move from one work order to another?
Yes; remove the link with Un-assign Transactions, then assign it from the new work order.
Can a sales order be linked to more than one work order?
No; it is linked to one record at a time.
Are the steps different for workflows?
No; they are the same on a workflow record's page.