Changes

Line 39: Line 39:     
=[[File:Outils.png]] 开发自己的导出脚本=
 
=[[File:Outils.png]] 开发自己的导出脚本=
If there is no predefined dataset that matches your needes and you have program knowledge, you can also develop your own script.
+
如果没有符合您需求的预定义数据集,并且您具有一定的计算机编程知识,您也可以开发自己的脚本。
Any language can be used if this language can read a database.
  −
You just have to read the table of the entity you want to export and build a file, using the format of your choice, from any fields available in table.
  −
The only thing to know is which table contains data you want to export.
  −
To help you, the page [[:Category:Table SQL|Table SQL]] lists all the tables used in Dolibarr.
     −
Note that versions above 2.6 allow "admin" users to see the SQL code that was used to build the export file content when using the Export module. This is shown at the moment of file generation.
+
任何语言都可以使用,只要这种语言能读取数据库即可。
 +
 
 +
您只需读取要导出的表,并以您喜欢的格式制作导出文件。
 +
 
 +
因此,唯一的先决条件是知道哪个表包含要导出的数据。
 +
 
 +
为了帮助您,页面 [[:Category:Table SQL|Table SQL]] 列出了 Dolibarr 使用的所有表。
 +
 
 +
请注意:2.6以上的版本允许"admin"用户在使用导出模块时查看用于构建导出文件内容的SQL代码。这在生成文件时显示。
    
=相关视频=
 
=相关视频=
714

edits