Difference between revisions of "DID Import from CSV"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 11: Line 11:


=File upload (Step 0)=
=File upload (Step 0)=
''DID Import from CSV'' procedure starts in the ''DIDs list'' by clicking on the '''Add new DID(s)''' link. At the bottom of the DID creation form lies a CSV upload form. Here by selecting a valid CSV file and pressing the '''Create''' button the import opreation is initialized.<br><br>
''DID Import from CSV'' procedure starts in the [[DID_Management#Description|''DIDs list'']] by clicking on the '''Add new DID(s)''' link. At the bottom of the DID creation form lies a CSV upload form. Here by selecting a valid CSV file and pressing the '''Create''' button the import opreation is initialized.<br><br>
[[File:DID_Import_file_upload.png]]<br><br>
[[File:DID_Import_file_upload.png]]<br><br>



Revision as of 08:34, 25 July 2017

Description

DID Import from CSV functionality allows creating DIDs and DID Rates by uploading a valid CSV file with necessary information.
The procedure is completed within the six following steps:

  1. File upload;
  2. Separator selection (is skipped when separators determined automatically match the system configuration);
  3. Column assignment;
  4. Column confirmation;
  5. Analysis;
  6. Import.

Note: each step is covered in more detail bellow.

File upload (Step 0)

DID Import from CSV procedure starts in the DIDs list by clicking on the Add new DID(s) link. At the bottom of the DID creation form lies a CSV upload form. Here by selecting a valid CSV file and pressing the Create button the import opreation is initialized.

DID Import file upload.png

File format

A valid file used in a DID import must be in a CSV format (Comma Separated Values).
A CSV Column Separator and a Decimal Separator must be set correctly in SETTINGS > Setup > Settings > Functionality:

  • CSV Column Separator,
  • CSV Decimal Separator.


CSV Columns could and sometimes should be enclosed within quotation marks ("). Possible closure cases:

  • CSV column values include a CSV Column Separator.

Note: quotation marks within closures must be escpaed correctly in order for columns to be read as expected (eg. "test value\"escaped\"").

Required columns in a CSV file:

  • DID (DID Number);
  • Provider ID (is not required when importing as a Simple Reseller).

Note: first line can be a header (might be useful when assigning columns).