714
edits
mNo edit summary |
(Add Chinese) Tag: 2017 source edit |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- BEGIN origin interlang links --> | |||
<!-- You can edit this section but do NOT remove these comments | |||
Links below will be automatically replicated on translated pages by PolyglotBot --> | |||
[[fr:Module_Imports FR]] | |||
[[es:Módulo_Importaciones]] | |||
[[zh:导入模块]] | |||
<!-- END interlang links --> | |||
[[Category:Admin]] | [[Category:Admin]] | ||
[[Category:Admin_en]] | [[Category:Admin_en]] | ||
| Line 23: | Line 31: | ||
= Usage = | = Usage = | ||
Importing legacy data will likely require many attempts/modifications of | Importing legacy data will likely require many attempts/modifications of the source file to produce a successful import. It is recommended to use LibreOffice/OpenOffice to "build" a single source spreadsheet (.ods) and repeatedly Save As a CSV for each modification/correction, as the character set handling/csv structure definition is far superior to Excel for multibyte (acccented) text strings. | ||
While most fields are logical in their content, address data for provinces (StateID) is not. | |||
This field cannot be imported using the name of the province (which may not be unique between countries, i.e."Florida") but must match the rowid integer in table llx_c_departements. The value in the file field should be prefixed with "id:" to ensure that the import check is forced to match the rowid. | |||
To match your provinces to the rowid, one method would be to export the table as a CSV using a SQL editor, then use it with the spreadsheet VLOOKUP function to return the rowid. This will still require manual checking as VLOOKUP will only return the first match in the case of duplicate province names. | |||
You may find you have countries in your legacy data for which regions/provinces have not yet been added to Dolibarr. You can use the myqsl queries in the installation file as examples to add the new regions/provinces before you can import your legacy data. | You may find you have countries in your legacy data for which regions/provinces have not yet been added to Dolibarr. You can use the myqsl queries in the installation file as examples to add the new regions/provinces before you can import your legacy data. | ||
edits