Actions15
Overview
The "Sales Order" node with the "Create" operation is designed to facilitate the creation of sales orders within an inventory management system, specifically using the Unleashed API. This node is beneficial for businesses that need to automate their order processing workflows, allowing them to efficiently manage customer orders directly from n8n. Common scenarios include integrating sales order creation into e-commerce platforms, automating order entry from CRM systems, or synchronizing sales data across different applications.
Properties
| Name | Meaning |
|---|---|
| Customer Code | The unique identifier for the customer associated with the sales order. |
| Sales Order Details | A collection of details related to the sales order, including: |
| - Order Number: The specific order number for tracking. | |
| - Order Date: The date when the sales order was created. | |
| - Required Date: The date by which the order needs to be fulfilled. | |
| - Tax Rate: The applicable tax rate for the sales order. | |
| - Currency: The currency in which the sales order is processed. | |
| - Comments: Any additional comments regarding the sales order. | |
| - Delivery Instructions: Special instructions for the delivery driver. | |
| Sales Order Line Items | A fixed collection of line items included in the sales order, where each line item has: |
| - Product Code: The unique identifier for the product being ordered. | |
| - Quantity: The number of units for the product. | |
| - Unit Price: The price per unit of the product. | |
| - Discount Percentage: Any discount applied to the line item as a percentage. |
Output
The output of the "Create" operation will typically return a JSON object containing the details of the newly created sales order, including its unique identifier and any relevant metadata. If the node can output binary data, it would generally represent files or documents related to the sales order, such as invoices or receipts.
Dependencies
- An API key credential is required to authenticate requests to the Unleashed API.
- Ensure that the necessary permissions are granted for creating sales orders through the API.
Troubleshooting
Common Issues:
- Missing required fields: Ensure that all mandatory properties (like Customer Code and Product Code) are provided.
- Invalid data types: Check that the values provided match the expected types (e.g., numbers for quantities and prices).
Error Messages:
- "Missing required parameter": Indicates that one or more required input properties were not supplied. Review the input configuration.
- "Invalid API key": Suggests that the API key used for authentication is incorrect or has insufficient permissions. Verify the API key and its permissions.