导出 | |
---|---|
模块ID | 240 |
用户手册 | 本页 |
开发文档 | 本页 |
简介
本模块用于导出 Dolibarr 数据。从 Dolibarr 导出数据还有其它方法,如下所述。
批量导入请参见页面 批量导入 。
安装
该模块包含在 Dolibarr 发行版中,因此无需安装。
配置
要使用此模块,必须首先使用管理员帐户通过菜单选项 "主页 - 设置 - 模块"启用它:
选择列出模块的选项卡。然后点击 "激活"。。
模块现在已激活。
使用方法
- 前往菜单 “ 工具 -> 导出助手 -> 新建导出 ”,然后选择一个预定义的数据集。
- 选择由您预定义的导出配置文件或手动选择要包含在导出文件中的字段。
- 添加一个您希望放置在这些字段值上的任何过滤值。
- 更改导出文件中字段/列的位置顺序。您可以将所做的选择保存为导出配置文件/模板以备将来使用。
- 从下拉列表中选择导出文件的格式。可能的格式有 CSV/TSV(文本文件)或 XLS 2007/95(原生Excel文件)。单击“生成”。
几秒钟后,将显示一个指向该文件的链接以供下载。
开发自己的导出脚本
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 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.
相关视频
导出: (法语配音,但字幕可用,并用法语审查)