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

Từ Kiu Wiki
Phiên bản vào lúc 11:03, ngày 27 tháng 12 năm 2017 của Chaukiuasia (Thảo luận | đóng góp)

(khác) ← Phiên bản cũ | xem phiên bản hiện hành (khác) | Phiên bản mới → (khác)
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: