mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-07 20:32:12 +00:00
Company docs updates (#4710)
* Refactor order documentation into simpler consolidated pages * Reorganize images * Add documentation on "Contact" * Add imgae
This commit is contained in:
180
docs/docs/order/company.md
Normal file
180
docs/docs/order/company.md
Normal file
@@ -0,0 +1,180 @@
|
||||
---
|
||||
title: External Companies
|
||||
---
|
||||
|
||||
## Companies
|
||||
|
||||
External companies are represented by the *Company* database model. Each company may be classified into the following categories:
|
||||
|
||||
- [Customer](#customers)
|
||||
- [Supplier](#suppliers)
|
||||
- [Manufacturer](#manufacturers)
|
||||
|
||||
!!! tip Multi Purpose
|
||||
A company may be allocated to multiple categories
|
||||
|
||||
### Edit Company
|
||||
|
||||
To edit a company, click on the <span class='fas fa-edit'>Edit Company</span> icon in the actions menu. Edit the company information, and then click on <span class='badge inventree confirm'>Submit</span>.
|
||||
|
||||
!!! warning "Permission Required"
|
||||
The edit button will not be available to users who do not have the required permissions to edit the company
|
||||
|
||||
### Delete Company
|
||||
|
||||
To delete a company, click on the <span class='fas fa-trash-alt'></span> icon under the actions menu. Confirm the deletion using the checkbox then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
!!! warning "Permission Required"
|
||||
The edit button will not be available to users who do not have the required permissions to delete the company
|
||||
|
||||
!!! danger "Take Care"
|
||||
Deleting a company instance will also remove any orders or supplied parts associated with that company!
|
||||
|
||||
### Contacts
|
||||
|
||||
Each company can have multiple assigned *Contacts*. A contact identifies an individual who is associated with the company, including information such as name, email address, phone number, etc.
|
||||
|
||||
The list of contacts associated with a particular company is available in the <span class='badge inventree nav main'><span class='fas fa-users'></span> Contacts</span> navigation tab:
|
||||
|
||||
{% with id="contact_list", url="order/contact_list.png", description="Contact List" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
|
||||
A *contact* can be assigned to orders, (such as [purchase orders](./purchase_order.md) or [sales orders](./sales_order.md)).
|
||||
|
||||
## Customers
|
||||
|
||||
A *customer* is an external client to whom parts or services are sold.
|
||||
|
||||
To access the customer page, click on the <span class="badge inventree nav main"><span class='fas fa-truck'></span> Sell</span> navigation tab and click on <span class="badge inventree nav main"><span class='fas fa-user-tie'></span> Customers</span> option in the dropdown list.
|
||||
|
||||
!!! warning
|
||||
**Viewing**, **adding**, **editing** and **deleting** customers require the corresponding [Sales Orders user permissions](../settings/permissions.md)
|
||||
|
||||
### Add Customer
|
||||
|
||||
Once the customer page is loaded, click on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Customer</span> button: the "Create new Customer" form opens. Fill-in the manufacturer informations (`Company name` and `Company description` are required) then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
## Manufacturers
|
||||
|
||||
A manufacturer is an external **producer** of parts and raw materials.
|
||||
|
||||
!!! info
|
||||
**Viewing**, **adding**, **editing** and **deleting** manufacturers require the corresponding [Purchase Orders user permissions](../settings/permissions.md)
|
||||
|
||||
To access the list of manufacturers , click on the <span class="badge inventree nav main"><span class='fas fa-shopping-cart'></span> Buy</span> navigation tab and click on <span class="badge inventree nav main"><span class='fas fa-industry'></span> Manufacturers</span> option in the dropdown list.
|
||||
|
||||
{% with id="manufacturer_list", url="order/manufacturer_list.png", description="Manufacturer List" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Add Manufacturer
|
||||
|
||||
Once the manufacturer page is loaded, click on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Manufacturer</span> button: the "Create new Manufacturer" form opens. Fill-in the manufacturer informations (`Company name` and `Company description` are required) then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
!!! info "Manufacturer vs Supplier"
|
||||
In the case the manufacturer sells directly to customers, you may want to enable the checkbox `is supplier` before submitting the form (you can also enable it later on). Purchase orders rely exclusively on [supplier parts](#supplier-parts), therefore the manufacturer will need to be set as a supplier too.
|
||||
|
||||
|
||||
### Manufacturer Parts
|
||||
|
||||
Manufacturer parts are linked to a manufacturer and defined as manufacturable items.
|
||||
|
||||
!!! warning
|
||||
**Viewing**, **adding**, **editing** and **deleting** manufacturer parts require the corresponding [Purchase Orders user permissions](../settings/permissions.md)
|
||||
|
||||
#### Add Manufacturer Part
|
||||
|
||||
To create a manufacturer part, you have the following options:
|
||||
|
||||
* either navigate to a Part detail page then click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Suppliers</span> tab
|
||||
* or navigate to a Manufacturer detail page then click on the <span class="badge inventree nav side"><span class='fas fa-industry'></span> Manufactured Parts</span> tab.
|
||||
|
||||
Whichever you pick, click on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Manufacturer Part</span> button to load the "Create New Manufacturer Part" form. Fill out the form with the manufacturer part information then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Edit Manufacturer Part
|
||||
|
||||
To edit a manufacturer part, first access the manufacturer part detail page with one of the following options:
|
||||
|
||||
* either navigate to a Part detail page, click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Suppliers</span> tab then, in the <span class="badge inventree nav main">Part Manufacturers</span> table, click on the _MPN_ link
|
||||
* or navigate to a Manufacturer detail page, click on the <span class="badge inventree nav side"><span class='fas fa-industry'></span> Manufactured Parts</span> tab then click on the _MPN_ link.
|
||||
|
||||
After the manufacturer part details are loaded, click on the <span class='fas fa-edit'></span> icon next to the manufacturer part image. Edit the manufacturer part information then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Delete Manufacturer Part
|
||||
|
||||
To delete a manufacturer part, first access the manufacturer part detail page like in the [Edit Manufacturer Part](#edit-manufacturer-part) section.
|
||||
|
||||
After the manufacturer part details are loaded, click on the <span class='fas fa-trash-alt'></span> icon next to the manufacturer part image. Review the the information for the manufacturer part to be deleted, confirm the deletion using the checkbox then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
## Suppliers
|
||||
|
||||
A supplier is an external **vendor** of parts and raw materials.
|
||||
|
||||
To access the supplier page, click on the <span class="badge inventree nav main"><span class='fas fa-shopping-cart'></span> Buy</span> navigation tab and click on <span class="badge inventree nav main"><span class='fas fa-building'></span> Suppliers</span> option in the dropdown list.
|
||||
|
||||
{% with id="supplier_list", url="order/supplier_list.png", description="Supplier List" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
!!! info
|
||||
**Viewing**, **adding**, **editing** and **deleting** suppliers require the corresponding [Purchase Orders user permissions](../settings/permissions.md)
|
||||
|
||||
### Add Supplier
|
||||
|
||||
Once the supplier page is loaded, click on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Supplier</span> button: the "Create new Supplier" form opens. Fill-in the supplier informations (`Company name` and `Company description` are required) then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
!!! info "Supplier vs Manufacturer"
|
||||
In the case the supplier is a manufacturer who sells directly to customers, you may want to enable the checkbox `is manufacturer` before submitting the form (you can also enable it later on).
|
||||
|
||||
### Supplier Parts
|
||||
|
||||
Supplier parts are linked to a supplier and defined as purchasable items.
|
||||
|
||||
!!! warning
|
||||
**Viewing**, **adding**, **editing** and **deleting** supplier parts require the corresponding [Purchase Orders user permissions](../settings/permissions.md)
|
||||
|
||||
#### Add Supplier Part
|
||||
|
||||
To create a supplier part, you have the following options:
|
||||
|
||||
1. navigate to a Part detail page then click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Suppliers</span> tab
|
||||
0. navigate to a Supplier detail page then click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Supplied Parts</span> tab
|
||||
0. navigate to a Manufacturer detail page then click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Supplied Parts</span> tab.
|
||||
|
||||
Whichever you pick, click on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Supplier Part</span> button to load the "Create new Supplier Part" form. Fill out the form with the supplier part information then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Edit Supplier Part
|
||||
|
||||
To edit a supplier part, first access the supplier part detail page with one of the following options:
|
||||
|
||||
1. navigate to a Part detail page, click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Suppliers</span> tab then, in the <span class="badge inventree nav main">Part Suppliers</span> table, click on the corresponding _Supplier Part_ link
|
||||
0. navigate to a Supplier detail page, click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Supplied Parts</span> tab then click on the corresponding _Supplier Part_ link
|
||||
0. navigate to a Manufacturer detail page, click on the <span class="badge inventree nav side"><span class='fas fa-building'></span> Supplied Parts</span> tab then click on the corresponding _Supplier Part_ link.
|
||||
|
||||
After the supplier part details are loaded, click on the <span class='fas fa-edit'></span> icon next to the supplier part image. Edit the supplier part information then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Delete Supplier Part
|
||||
|
||||
To delete a supplier part, first access the supplier part detail page like in the [Edit Supplier Part](#edit-supplier-part) section.
|
||||
|
||||
After the supplier part details are loaded, click on the <span class='fas fa-trash-alt'></span> icon next to the supplier part image. Review the the information for the supplier part to be deleted, confirm the deletion using the checkbox then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Supplier Part Availability
|
||||
|
||||
InvenTree supports tracking 'availability' information for supplier parts. While this information can be updated manually, it is more useful when used in conjunction with the InvenTree plugin system.
|
||||
|
||||
A custom can periodically request availability information (via a supplier API), and update this availability information for each supplier part.
|
||||
|
||||
If provided, availability information is displayed on the Supplier Part detail page.
|
||||
|
||||
{% with id="supplier_part_availability", url="order/supplier_part_availability.png", maxheight="240px", description="Supplier part availability" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Availability information can be manually updated via the user interface:
|
||||
|
||||
{% with id="update_availability", url="order/update_availability.png", maxheight="240px", description="Update availability" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
126
docs/docs/order/purchase_order.md
Normal file
126
docs/docs/order/purchase_order.md
Normal file
@@ -0,0 +1,126 @@
|
||||
---
|
||||
title: Purchase Order
|
||||
---
|
||||
|
||||
## Purchase Orders
|
||||
|
||||
Purchase orders allow to track which parts are bought from suppliers and manufacturers, therefore converting externally bought items into stock items / inventory.
|
||||
|
||||
To access the purchase order page, click on the <span class="badge inventree nav main"><span class='fas fa-shopping-cart'></span> Buy</span> navigation tab and click on <span class="badge inventree nav main"><span class='fas fa-list'></span> Purchase Orders</span> option in the dropdown list.
|
||||
|
||||
{% with id="purchase_order_list", url="order/po_list.png", description="Purchase Order List" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Purchase Order Status Codes
|
||||
|
||||
Each Purchase Order has a specific status code which indicates the current state of the order:
|
||||
|
||||
| Status | Description |
|
||||
| --- | --- |
|
||||
| Pending | The purchase order has been created, but has not been submitted to the supplier |
|
||||
| In Progress | The purchase order has been issued to the supplier, and is in progress |
|
||||
| Complete | The purchase order has been completed, and is now closed |
|
||||
| Cancelled | The purchase order was cancelled, and is now closed |
|
||||
|
||||
### Purchase Order Currency
|
||||
|
||||
The currency code can be specified for an individual purchase order. If not specified, the default currency specified against the [supplier](./company.md#suppliers) will be used.
|
||||
|
||||
## Create Purchase Order
|
||||
|
||||
Once the purchase order page is loaded, click on <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Purchase Order</span> which opens the "Create Purchase Order" form.
|
||||
|
||||
A purchase order is linked to a specific supplier, select one in the list of existing suppliers.
|
||||
|
||||
!!! warning
|
||||
Only companies with the "Supplier" attribute enabled will be shown and can be selected
|
||||
|
||||
Fill out the rest of the form with the purchase order information then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
### Purchase Order Reference
|
||||
|
||||
Each Purchase Order is uniquely identified by its *Reference* field. Read more about [reference fields](../settings/reference.md).
|
||||
|
||||
### Add Line Items
|
||||
|
||||
On the purchase order detail page, user can link parts to the purchase order selecting the <span class="badge inventree nav side"><span class='fas fa-list'></span> Order Items</span> tab then clicking on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> Add Line Item</span> button.
|
||||
|
||||
Once the "Add Line Item" form opens, select a supplier part in the list.
|
||||
|
||||
!!! warning
|
||||
Only parts from the supplier selected for the purchase order will be shown and can be selected
|
||||
|
||||
Fill out the rest of the form then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Upload File
|
||||
|
||||
It is possible to upload an exported purchase order from the supplier instead of manually entering each line item. To start the process, click on <span class="badge inventree confirm"><span class='fas fa-upload'></span> Upload File</span> button next to the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> Add Line Item</span> button and follow the steps.
|
||||
|
||||
!!! info "Supported Formats"
|
||||
This process only supports tabular data and the following formats are supported: CSV, TSV, XLS, XLSX, JSON and YAML
|
||||
|
||||
### Issue Order
|
||||
|
||||
Once all the line items were added, click on the <span class='fas fa-paper-plane'></span> button on the main purchase order detail panel and confirm the order has been submitted.
|
||||
|
||||
### Receive Line Items
|
||||
|
||||
After receiving all the items from the order, the purchase order will convert the line items into stock items / inventory.
|
||||
|
||||
There are two options to mark items as "received":
|
||||
|
||||
* either individually: click on <span class='fas fa-clipboard-check'></span> button on each line item
|
||||
* or globally: click on the <span class='fas fa-clipboard-check'></span> button on the main purchase order detail panel and confirm all items in the order have been received.
|
||||
|
||||
!!! note "Permissions"
|
||||
Marking line items as received requires the "Purchase order" ADD permission.
|
||||
|
||||
### Received Items
|
||||
|
||||
Each item marked as "received" is automatically converted into a stock item.
|
||||
|
||||
To see the list of stock items created from the purchase order, click on the <span class="badge inventree nav side"><span class='fas fa-sign-in-alt'></span> Received Items</span> tab.
|
||||
|
||||
### Complete Order
|
||||
|
||||
Once the quantity of all __received__ items is equal or above the quantity of all line items, the order will be automatically marked as __complete__.
|
||||
|
||||
It is also possible to complete the order before all items were received (or if there were missing items).
|
||||
To do so, click on the <span class='fas fa-check-circle'></span> button on the main purchase order detail panel and confirm the order was completed.
|
||||
|
||||
### Cancel Order
|
||||
|
||||
In the event that the order won't be processed, user has the option of cancelling the order instead.
|
||||
To do so, simply click on the <span class='fas fa-times-circle'></span> button on the main purchase order detail panel and confirm the purchase order has been cancelled.
|
||||
|
||||
### Duplicate Purchase Order
|
||||
|
||||
Duplicating a Purchase Order allows the user to quickly create a new *copy* of an existing order, using the same supplier and line item information.
|
||||
|
||||
To duplicate an existing order, select the *Duplicate Order* action from the menu in the top-right of the screen (as shown below):
|
||||
|
||||
{% with id="purchase_order_duplicate", url="order/po_duplicate.png", description="Duplicate Purchase Order" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
This opens the following dialog, where you can adjust the parameters of the new order before proceeding to actually create the new order. You can see in the screenshot below that some extra options are provided in this form, to control duplication of individual line items.
|
||||
|
||||
{% with id="purchase_order_duplicate_2", url="order/po_duplicate_2.png", description="Duplicate Purchase Order" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
A new purchase order is then created based on the currently selected order:
|
||||
|
||||
{% with id="purchase_order_duplicate_3", url="order/po_duplicate_3.png", description="Duplicate Purchase Order" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Calendar view
|
||||
|
||||
Using the button to the top right of the list of Purchase Orders, the view can be switched to a calendar view using the button <span class='fas fa-calendar-alt'></span>. This view shows orders with a defined target date only.
|
||||
|
||||
This view can be accessed externally as an ICS calendar using a URL like the following:
|
||||
`http://inventree.example.org/api/order/calendar/purchase-order/calendar.ics`
|
||||
|
||||
by default, completed orders are not exported. These can be included by appending `?include_completed=True` to the URL.
|
101
docs/docs/order/return_order.md
Normal file
101
docs/docs/order/return_order.md
Normal file
@@ -0,0 +1,101 @@
|
||||
---
|
||||
title: Return Order
|
||||
---
|
||||
|
||||
## Return Orders
|
||||
|
||||
Return Orders allow stock items (which have been sold or allocted to a customer) to be to be returned into stock, typically for the purpose of repair or refund.
|
||||
|
||||
!!! tip "An Order By Any Other Name"
|
||||
A Return Order may also be known as an [RMA](https://en.wikipedia.org/wiki/Return_merchandise_authorization)
|
||||
|
||||
### Enable Return Order Functionality
|
||||
|
||||
By default, Return Order functionality is not enabled - it must be enabled by a *staff* user from the settings page:
|
||||
|
||||
{% with id="enable-return-order", url="order/return_order_enable.png", description="Enable Return Orders" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Once this setting is enabled, you can access the "Return Orders" page from the main navigation bar:
|
||||
|
||||
{% with id="return-order-navbar", url="order/return_order_navbar.png", description="Access Return Orders" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Return Order Permissions
|
||||
|
||||
[Permissions](../settings/permissions.md) for Return Orders are managed via the `return_order` permission group. Users are assigned appropriate permissions based on the groups they are part of.
|
||||
|
||||
### View Return Orders
|
||||
|
||||
A list of Return Orders is displayed on the *Return Order* index page:
|
||||
|
||||
{% with id="return-order-index", url="order/return_order_index.png", description="Return Order Index" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Various filters are available to configure which orders are displayed, and how they are arranged.
|
||||
|
||||
### Return Order Status Codes
|
||||
|
||||
Each Return Order has a specific status code, as follows:
|
||||
|
||||
| Status | Description |
|
||||
| --- | --- |
|
||||
| Pending | The return order has been created, but not sent to the customer |
|
||||
| In Progress | The return order has been issued to the customer |
|
||||
| Complete | The return order was marked as complete, and is now closed |
|
||||
| Cancelled | The return order was cancelled, and is now closed |
|
||||
|
||||
## Create a Return Order
|
||||
|
||||
From the Return Order index, click on <span class='badge inventree add'><span class='fas fa-plus-circle'></span> New Return Order</span> which opens the "Create Return Order" form.
|
||||
|
||||
A Return Order is linked to a specific customer, which can be selected from the list of existing customers
|
||||
|
||||
!!! warning "Customers Only"
|
||||
Only companies with the "Customer" attribute enabled will be shown and can be selected
|
||||
|
||||
{% with id="return-order-create", url="order/return_order_create.png", description="Return Order Create" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Fill in the rest of the form with the return order information, and then click on <span class='badge inventree confirm'>Submit</span> to create the order.
|
||||
|
||||
### Return Order Reference
|
||||
|
||||
Each Return Order is uniquely identified by its *Reference* field. Read more about [reference fields](../settings/reference.md).
|
||||
|
||||
### Responsible Owner
|
||||
|
||||
The order can be assigned to a responsible *owner*, which is either a user or group.
|
||||
|
||||
## Return Order Detail
|
||||
|
||||
Indvidual Return Orders can be viewed via the Return Order detail page:
|
||||
|
||||
{% with id="return-order-detail", url="order/return_order_detail.png", description="Return Order Detail" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Here the details of the return order are available, and specific actions can be performed:
|
||||
|
||||
### Edit Return Order
|
||||
|
||||
The Return Order can be edit by selecting the <span class='fas fa-edit'></span> icon under the <span class='fas fa-tools'></span> actions menu.
|
||||
|
||||
### Line Items
|
||||
|
||||
Return Order line items can be added while the [status](#return-order-status-codes) of the order is *In Progress*. Any stock item which is currently sold or assigned to the particular customer can be selected for return.
|
||||
|
||||
!!! info "Serialized Stock Only"
|
||||
Only stock items which are serialized can be selected for return from the customer
|
||||
|
||||
### Extra Line Items
|
||||
|
||||
While [line items](#line-items) must reference a particular stock item, extra line items are available for any other itemized information that needs to be conveyed with the order.
|
||||
|
||||
## Return Order Reports
|
||||
|
||||
Custom [reports](../report/return_order.md) can be generated against each Return Order.
|
169
docs/docs/order/sales_order.md
Normal file
169
docs/docs/order/sales_order.md
Normal file
@@ -0,0 +1,169 @@
|
||||
---
|
||||
title: Sales Orders
|
||||
---
|
||||
|
||||
## Sales Orders
|
||||
|
||||
Sales orders allow tracking of which stock items are sold to customers, therefore converting stock items / inventory into externally sold items.
|
||||
|
||||
To access the sales order page, click on the <span class="badge inventree nav main"><span class='fas fa-truck'></span> Sell</span> navigation tab and click on <span class="badge inventree nav main"><span class='fas fa-list'></span> Sales Orders</span> option in the dropdown list.
|
||||
|
||||
{% with id="sales_order_list", url="order/so_list.png", description="Sales Order List" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Sales Order Status Codes
|
||||
|
||||
Each Sales Order has a specific status code, which represents the state of the order:
|
||||
|
||||
| Status | Description |
|
||||
| --- | --- |
|
||||
| Pending | The sales order has been created, but has not been finalized or submitted |
|
||||
| In Progress | The sales order has been issued, and is in progress |
|
||||
| Complete | The sales order has been completed, and is now closed |
|
||||
| Cancelled | The sales order was cancelled, and is now closed |
|
||||
|
||||
### Sales Order Currency
|
||||
|
||||
The currency code can be specified for an individual sales order. If not specified, the default currency specified against the [customer](./company.md#customers) will be used.
|
||||
|
||||
## Create a Sales Order
|
||||
|
||||
Once the sales order page is loaded, click on <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Sales Order</span> which opens the "Create Sales Order" form.
|
||||
|
||||
A Sales Order is linked to a specific customer, select one in the list of existing customers.
|
||||
|
||||
!!! warning "Customers Only"
|
||||
Only companies with the "Customer" attribute enabled will be shown and can be selected
|
||||
|
||||
Fill out the rest of the form with the sales order information then click on <span class="badge inventree confirm">Submit</span> to create the order.
|
||||
|
||||
### Sales Order Reference
|
||||
|
||||
Each Sales Order is uniquely identified by its *Reference* field. Read more about [reference fields](../settings/reference.md).
|
||||
|
||||
#### Add Line Items
|
||||
|
||||
On the sales order detail page, user can link parts to the sales order selecting the <span class="badge inventree nav side"><span class='fas fa-list-ol'></span> Line Items</span> tab then clicking on the <span class="badge inventree add"><span class='fas fa-plus-circle'></span> Add Line Item</span> button.
|
||||
|
||||
Once the "Add Line Item" form opens, select a part in the list.
|
||||
|
||||
!!! warning
|
||||
Only parts that have the "Salable" attribute enabled will be shown and can be selected
|
||||
|
||||
Fill out the rest of the form then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
#### Shipments
|
||||
|
||||
After all line items were added to the sales order, user needs to create one or more [shipments](#sales-order-shipments) in order to allocate stock for those parts.
|
||||
|
||||
In order to create a new shipment:
|
||||
|
||||
1. Click on the <span class="badge inventree nav side"><span class='fas fa-truck-loading'></span> Pending Shipments</span> tab
|
||||
2. Click on <span class="badge inventree add"><span class='fas fa-plus-circle'></span> New Shipment</span> button, fill out the form with the shipment number (tracking number can be added but is optional) then click on <span class="badge inventree confirm">Submit</span>
|
||||
|
||||
Repeat the two steps above to create more shipments.
|
||||
|
||||
#### Allocate Stock Items
|
||||
|
||||
After shipments were created, user can either:
|
||||
|
||||
* allocate stock items for that part to the sales order (click on <span class='fas fa-sign-in-alt'></span> button)
|
||||
* or create a build order for that part to cover the quantity of the sales order (click on <span class='fas fa-tools'></span> button)
|
||||
|
||||
During the allocation process, user is required to select the desired shipment that will contain the stock items.
|
||||
|
||||
#### Complete Shipment
|
||||
|
||||
To complete a shipment, click on the <span class="badge inventree nav side"><span class='fas fa-truck-loading'></span> Pending Shipments</span> tab then click on <span class='fas fa-truck'></span> button shown in the shipment table.
|
||||
|
||||
Fill out the "Complete Shipment" form then click on <span class="badge inventree confirm">Submit</span>.
|
||||
|
||||
To view all the completed shipment, click on the <span class="badge inventree nav side"><span class='fas fa-truck'></span> Completed Shipments</span> tab. In the completed shipments table, click on the <span class='fas fa-plus'></span> icon next to each shipment reference to see the items and quantities which were shipped.
|
||||
|
||||
### Complete Order
|
||||
|
||||
Once all items in the sales order have been shipped, click on <span class="badge inventree add"><span class='fas fa-check-circle'></span> Complete Order</span> to mark the sales order as complete.
|
||||
|
||||
### Cancel Order
|
||||
|
||||
To cancel the order, click on the <span class='fas fa-tools'></span> menu button next to the <span class="badge inventree add"><span class='fas fa-check-circle'></span> Complete Order</span> button, then click on the "<span class='fas fa-tools'></span> Cancel Order" menu option. Confirm then click on the <span class="badge inventree confirm">Submit</span> to cancel the order.
|
||||
|
||||
|
||||
### Calendar view
|
||||
|
||||
Using the button to the top right of the list of Sales Orders, the view can be switched to a calendar view using the button <span class='fas fa-calendar-alt'></span>. This view shows orders with a defined target date only.
|
||||
|
||||
This view can be accessed externally as an ICS calendar using a URL like the following:
|
||||
`http://inventree.example.org/api/order/calendar/sales-order/calendar.ics`
|
||||
|
||||
By default, completed orders are not exported. These can be included by appending `?include_completed=True` to the URL.
|
||||
|
||||
## Sales Order Shipments
|
||||
|
||||
|
||||
Shipments are used to track sales items when they are shipped to customers. Multiple shipments can be created against a [Sales Order](./sales_order.md), allowing line items to be sent to customers in multiple deliveries.
|
||||
|
||||
On the main Sales Order detail page, the order shipments are split into two categories, *Pending Shipments* and *Completed Shipments*:
|
||||
|
||||
### Pending Shipments
|
||||
|
||||
The *Pending Shipments* panel displays the shipments which have not yet been sent to the customer.
|
||||
|
||||
- Each shipment displays the items which have been allocated to it
|
||||
- Pending sales order items can be allocated to these shipments
|
||||
- New shipments can be created if the order is still open
|
||||
|
||||
{% with id="pending-shipments", url="order/pending_shipments.png", description="Pending shipments" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
#### Creating a new Shipment
|
||||
|
||||
To create a new shipment for a sales order, press the *New Shipment* button above the pending shipments table.
|
||||
|
||||
#### Completing a Shipment
|
||||
|
||||
To complete a shipment, press the *Complete Shipment* button associated with the particular shipment:
|
||||
|
||||
{% with id="complete-shipment", url="order/complete_shipment.png", description="Complete shipment" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Alternatively, pending shipments can be completed by selecting the *Complete Shipments* action from the sales order actions menu:
|
||||
|
||||
{% with id="complete-shipment-action", url="order/complete_shipment_action.png", description="Complete shipment" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Completed Shipments
|
||||
|
||||
{% with id="completed-shipments", url="order/completed_shipments.png", description="Completed shipments" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
### Shipment Data
|
||||
|
||||
Each shipment provides the following data fields:
|
||||
|
||||
#### Reference
|
||||
|
||||
A unique number for the shipment, used to identify each shipment within a sales order. By default, this value starts at `1` for the first shipment (for each order) and automatically increments for each new shipment.
|
||||
|
||||
#### Tracking Number
|
||||
|
||||
An optional field used to store tracking number information for the shipment.
|
||||
|
||||
#### Invoice Number
|
||||
|
||||
An optional field used to store an invoice reference for the shipment.
|
||||
|
||||
#### Link
|
||||
|
||||
An optional URL field which can be used to provide a link to an external URL.
|
||||
|
||||
All these fields can be edited by the user:
|
||||
|
||||
{% with id="edit-shipment", url="order/edit_shipment.png", description="Edit shipment" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
Reference in New Issue
Block a user