導出模塊
導出 | |
---|---|
模塊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.
相關視頻
導出: (法語配音,但字幕可用,並用法語審查)