Dòng 6:
Dòng 6:
It will produce the following CSV file:
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'''
Bản hiện tại lúc 11:03, ngày 27 tháng 12 năm 2017
Thông tin về thông điệp (đóng góp ) Thông điệp này hiện chưa có tài liệu hướng dẫn. Nếu bạn biết thông điệp này dùng ở đâu và dùng như thế nào, bạn có thể giúp những biên dịch viên khác bằng cách thêm tài liệu hướng dẫn cho nó.
Định nghĩa thông điệp (Nhập tệp CSV vào Kiu ERP )
'''company_3,Boum,True''' Để tạo ra file CSV cho các cá nhân, liên kết với các công ty, chúng tôi sẽ sử dụng các lệnh SQL sau đây trong 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''' Nó sẽ tạo ra các file CSV sau đây: '''ID bên ngoài, tên, là một Công ty, Công ty liên quan / ID ngoài'''
'''company_3,Boum,True'''
Để tạo
ra file CSV cho các cá nhân, liên kết với các công ty, chúng tôi sẽ sử dụng các
lệnh SQL sau đây trong 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'''
Nó sẽ
tạo ra các file CSV sau đây:
'''ID bên ngoài, tên, là một Công ty, Công ty liên quan / ID ngoài'''
Bản dịch '''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: 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: