Dealing with Discounts and Keycodes Import
Table Of Contents
You can use Keycodes in Khaos Control to apply discounts to Sales Orders created directly within the system. However, Keycodes work differently when a Sales Order is imported through the web service.
How pricing works on imported orders
When a Sales Order is imported into Khaos Control through the web service, the prices supplied with the order are locked.
This is because payment will generally already have been taken from the customer. Keeping the imported prices unchanged ensures that the Sales Order reflects the amounts the customer actually paid.
Using a Keycode on an imported order
You can attach a Keycode to a Sales Order imported through the web service, but it is used for reference only.
The Keycode does not:
- Apply a discount to the imported Stock Items.
- Recalculate the imported prices.
- Override the prices supplied by the web service.
Important: Any discounts offered through your website or another system must be calculated and applied by your web developers before the Sales Order is imported into Khaos Control.
The web service should therefore send Khaos Control the final prices that the customer has already agreed to pay.