Sage Models
Tip
Quotes are imported from Sage using the
sage.service.import_quotes function.
Mapping
KB model |
Sage |
|---|---|
|
Quote |
|
Quote line |
|
Product, Service and Stock |
|
Description |
|---|---|
|
Status of connection to Sage (tokens etc) |
|
Map the Sage contact ID to a |
|
Map the Sage quote ID to a |
|
Default values where information missing on Sage |
|
Map a line on a Sage quote to a |
|
Map Sage products, services and stock to |
|
Description |
|---|---|
|
Auto-create these tickets when we get a new sales order |
|
Description |
|---|---|
|
Type of sales order. |
Logic
Tickets get created in three ways:
From the
quote_lineson the Sage import.From the
SalesOrderTypeDefaultTicketwhen the quote isACCEPTED.By a scheduled task when a quote is not accepted within 10 days.
A ticket must have a priority and I want it to have a ticket_type.