Do you want to send quotations from App4Sales to Exact Online, but receive an error message when using the technical Backoffice value Quotation?
The issue may occur because the existing Order order type was modified instead of creating a new order type.
This can cause orders or quotations to be processed incorrectly.
Error message
When sending a quotation, you may receive the following error message:
text
Error from backoffice: ERROR: Response InternalServerError { "error": { "code": "", "message": { "lang": "", "value": "Ongeldig: Factuur voor (Type)" } } }In the technical logs, this may appear as:
text
Optimizers.App4Sales.BusinessLayer.Exceptions.OrderNotAcceptedException
Cause
In App4Sales CMS, different order types can be configured, such as orders and quotations.
A common configuration mistake is modifying the existing Order order type and changing its technical Backoffice value to Quotation.
This is not the correct approach.
The existing Order order type must remain unchanged. A separate order type must be created for quotations.
Solution
Follow the steps below to configure quotations correctly.
Step 1: Open the order type settings
Go to the App4Sales CMS and open the order type configuration.
Step 2: Keep the existing Order order type
Check that the existing Order order type is still available and retains its original technical Backoffice value Order.
Do not change this existing configuration to Quotation.
Step 3: Create a new order type
Create a new order type specifically for quotations.
For example, use the following settings:
Setting | Value |
Name | Quotation |
Technical Backoffice value |
|
The exact additional settings depend on the configuration of your App4Sales environment.
Step 4: Check the configuration
Make sure both order types exist separately:
Order type | Backoffice value |
Order |
|
Quotation |
|
Step 5: Test sending a quotation
Synchronize App4Sales after you have made the changes.
Create a new quotation in App4Sales and send it to Exact Online.
Then check whether the quotation has been created correctly in Exact Online.
Important to remember
Always create a separate order type for each new document type.
Never overwrite the technical Backoffice value of an existing order type to support a different document type.
This helps prevent configuration issues when sending orders and quotations to Exact Online.