Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
addons:erpconnector:installation [2018-02-23 08:01] Magnus Fagerlund |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Lime CRM layout ===== | ||
| - | These tables and fields must be created before you can use the ERP Connector. The fields can be created by running the SQL-scripts in the installation-folder, | ||
| - | ==== Company ==== | ||
| - | On the company card you MUST have the field " | ||
| - | |||
| - | The following company fields are used: | ||
| - | |||
| - | Table name: company | ||
| - | |||
| - | ^ Field name ^ Field Type ^ Field label ^ Required | ||
| - | | name | text field | Name | True | 200 | The name of the company | | ||
| - | | erpid | text field | key | False | 16 | The integration key, Set label key to avoid duplicates | | ||
| - | | erp_turnover_yearnow | decimal | N/A | False | N/A | Populated by the integration | | ||
| - | | erp_turnover_lastyear | decimal | N/A | False | N/A | Populated by the integration | | ||
| - | | invoice| relation (tab)| N/A | N/A| N/A | Populated by the integration | | ||
| - | |||
| - | |||
| - | ==== Invoice==== | ||
| - | Invoices are connected to the company on " | ||
| - | |||
| - | Table name: invoice | ||
| - | |||
| - | ^ Field name ^ Field Type ^ Field label ^ Required ^ Length ^ Description ^ | ||
| - | | invoice_number| text field | N/A | False | 64 |Unique invoice number | | ||
| - | | company | relation (field) | N/A | False | 256 | Relation to company | | ||
| - | | customerid | text field| N/A | False | 128 | Customer ID for matching to company | | ||
| - | | customer_reference | text field | N/A | False | N/A | Customer reference from ERP| | ||
| - | | coworker | relation (field) | N/A | False | N/A | Company reference (Our reference) | | ||
| - | | invoice_type | text field | N/A | False | 64 | Invoice type | | ||
| - | | invoice_date| time (date) | N/A | False | N/A | When invoice is booked | | ||
| - | | invoice_expires| time (date) | N/A | False | N/A | When invoice expires | | ||
| - | | invoice_sum| decimal | N/A | False | N/A | Sum ex VAT (moms) | | ||
| - | | invoice_vat| decimal | N/A | False | N/A | VAT (moms) | | ||
| - | | invoice_total_sum | decimal | N/A | False | N/A | Sum incl VAT| | ||
| - | | currency | text field | N/A | False | 32 | Currency | | ||
| - | | invoice_balance | decimal | N/A | False | N/A | Invoice balance (saldo)| | ||
| - | | paid| Yes/no | N/A | False | N/A | Yes if it is paid| | ||
| - | | paid_date | time (date) | N/A | False | N/A | The date when payment is registered | | ||
| - | | invoice shredded | Yes/no | N/A | False | N/A | Yes if the payment is shredded (makulerad) | | ||
| - | |||
| - | ==== Invoice rows==== | ||
| - | Invoice rows are connected to a invoice on invoice number in the python import. | ||
| - | |||
| - | Table name: invoicerow | ||
| - | |||
| - | ^ Field name ^ Field Type ^ Field label ^ Required ^ Length ^ Description ^ | ||
| - | | invoice | relation (field) | N/A | Yes | N/A | Relation to invoice | | ||
| - | | item | text field | N/A | Yes | 128 | Item | | ||
| - | | description| text field| N/A | Yes | 128 | Description of Items | | ||
| - | | units | decimal | N/A | Yes | N/A | Number of items | | ||
| - | | row_margin| decimal | N/A | Yes | N/A | Contribution margin | | ||
| - | | row_value| decimal | N/A | Yes | N/A | Sum of row | | ||
| - | | rowid | text field | N/A | Yes | 32 | Used to make a row unique (hidden) | ||
| - | |||
| - | ===== Lime CRM Bootstrap app ===== | ||
| - | Download the Lime CRM Bootstrap app from the Lime CRM Bootstrap app store and follow the instructions for installing found there. | ||
| - | |||
| - | The link to the app on Lime CRM Boostrap app store is: | ||
| - | [[http:// | ||
| - | |||
| - | ===== Syncify service ===== | ||
| - | Lastly, the service on the ERP-system server is installed and configured. Follow the instructions found in the **Installation folder** on how to complete the installation. | ||