Add OTRS-ERP entity mapping authored by Daniel Palomar's avatar Daniel Palomar
......@@ -6,7 +6,7 @@ Manage the business logic between Som Connexió tools and OTRS (ticketing system
## Processes
This library cover the next processes:
This library covers the next processes:
### Provision
......@@ -26,10 +26,21 @@ This library cover the next processes:
Which entities of OTRS we use in the integrations?
* [Ticket](entities/otrs-entities#Ticket)
* [Article](entities/article)
* [DynamicField](entities/DynamicField)
* [CustomerUser](entities/CustomerUser)
* [Ticket](otrs-entities/ticket)
* [Article](otrs-entities/article)
* [DynamicField](otrs-entities/dynamic-field)
* [CustomerUser](otrs-entities/customer-user)
## Mapping ERP — OTRS
The mapping between the entities of ERP and OTRS is:
* Ticket --> Contract
* CustomerUser --> Partner
Article and the list of DynamicFields are related to Ticket. The combination of ticket, dynamc fields and article is mapped with Contract.
![mapping](entity_mapping.png)
-----------------
......@@ -41,7 +52,7 @@ Which entities of OTRS we use in the integrations?
Follow the next intructions to preview the wiki in your computer.
We use [Pyenv](https://github.com/coopdevs/handbook/wiki/Uso-de-pyenv-en-Coopdevs) to manage the Python version and dependencies.
Follow the instructions to install Pyenv and then you must to create a virtualenv called `otrs-somconnexio.wiki`:
Follow the instructions to install Pyenv and then you must create a virtualenv called `otrs-somconnexio.wiki`:
```
$ pyenv virtualenv 3.8.2 otrs-somconnexio.wiki
......
......