[ Index ]
|
|
Code source de dotProject 2.1 RC1
|
[Code source]
[Imprimer]
[Statistiques]
This script iterates all contacts and verify if the contact_company field has a text value; if it does, it searches of the company in the companies table, if it finds it then the contact is related to it by its id. If it doesn't find it, the it creates the company (only the name) and then it relates it to the contact using the new company's id.
Poids: | 64 lignes (2 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Definit 5 fonctions