Translations:Nhập tệp CSV vào Kiu ERP/47/en

Từ Kiu Wiki
Phiên bản vào lúc 17:31, ngày 18 tháng 12 năm 2017 của Chaukiuasia (Thảo luận | đóng góp) (Tạo trang mới với nội dung “'''company_3,Boum,True''' To create the CSV file for persons, linked to companies, we will use the following SQL command in PSQL: '''> copy (select 'pers…”)

Bước tới: chuyển hướng, tìm kiếm

company_3,Boum,True To create the CSV file for persons, linked to companies, we will use the following SQL command in PSQL:

> copy (select 'person_'||id as "External ID",person_name as "Name",'False' as "Is a Company",'company_'||company_id as "Related Company/External ID" from persons) TO '/tmp/person.csv' with CSV

It will produce the following CSV file:

ID bên ngoài, tên, là một Công ty, Công ty liên quan / ID ngoài