Customer Import Tool

Customer Import Tool is not enabled by default.

Please email Development for more information.
Note: there will be additional costs involved if this option is enabled.

Overview

In order to import customer and suppliers into Khaos Control, there are specific naming conventions and formats that must be followed so that the system recognises them and therefore the information is imported correctly. If you're not sure what field to use, please email Development.

Preparation

  1. Make sure that the data you want to import is correct. As this may come from another database you need to ensure that you validate it before attempting to import.
  2. If there is information in the file that is irrelevant and is not a required field, then you can delete it.
  3. Excel will strip leading zeros from numeric stock codes and barcodes, so please ensure that you take appropriate formatting steps if you have any leading zeros in these fields.
  4. Your import file must be saved as TSV/TXT file.
  5. When creating the import file in Excel, a blank line is added at the bottom. You can open the file with Notepad and amend or import as is. The line will be skipped and the rest of the stock items will be imported.

Usage

Once you have created your import file:

  1. Open a Customer screen (show me how). or
  2. Open a Supplier screen (show me how).
  3. Press F9 or clicking the down arrow immediately to the right of the to open the 'Other Actions' menu.
  4. Select Import / Export > Import > Tab Separated Format.
  5. Select the Customer import file and press OK.
  6. The Import Customer dialog will show the matching options available:
  7. Select the matching options as appropriate.

Preview a file import

To test an import file without making changes to the database:

  1. Open the Import Customer dialog.
  2. Tick Preview Mode and the file will be checked via the import routine for any errors in the file being imported.

Mapping Table


All YES/NO fields should be done as Boolean values. YES: -1, NO: 0


Field NameMandatoryDescriptionField TypeCharacter Limit
COMPANY_CODEred crossThe unique reference number for the company record.Free Text30
COMPANY_NAMEgreen tickThe name of the company record being setup. For a retail customer this can be left blank and system will create it as: TITLE + FORENAME + SURNAME.Free Text50
COMPCLASS_IDgreen tickThe company classification to be used. If this is blank then all customers will be Retail, and all suppliers will be Supplier.Free Text15
ADDRESS:ADDRESS1green tickThe first line of the address information. Leaving this blank will cause the import to fail, therefore please use a full stop for blank address line 1.Free Text150
ADDRESS:ADDRESS2red crossThe second line of the address information.Free Text150
ADDRESS:LOCALITYred crossThe third line of the address information, or the locality of the address.Free Text150
ADDRESS:TOWNgreen tickThe town of the address. Leaving this blank will cause the import to fail, therefore please use a full stop for blank towns.Free Text35
ADDRESS:COUNTYred crossThe address county.
Note: If your customer is a US customer, please use the 2-character State Code. Please contact KCSL if you require this.
Free Text35
ADDRESS:POSTCODEgreen tickThe address postcode. Leaving this blank will cause the import to fail, therefore please use a full stop for blank postcodes.Free Text10
ADDRESS:COUNTRY2_CODEred crossThe 2-character country code for the address. GB for the United Kingdom. If you're using ADDRESS:COUNTRY2_CODE for an address in the United States [i.e. 'US'], you must also include the U.S State in ADDRESS:COUNTY. We recommend specifying the two character state code, e.g. DC, TX, CA, MI etc.Free Text2
ADDRESS:FAXred crossA generic address level fax number.Numeric25
ADDRESS:PREF_DELADDRESSred crossWhether the address is the preferred delivery address.Yes/No4
ADDRESS:TELEPHONEred crossA generic address level telephone number.Numeric25
ADDRESS:EMAILred crossA generic address level email address.Free Text100
CONTACT:TITLEred crossThe title of the contact.Free Text20
CONTACT:FORENAMEred crossThe forename of the contact.Free Text50
CONTACT:SURNAMEgreen tickThe surname of the contact.Free Text50
CONTACT:TEL1red crossThe contact's telephone number.Numeric30
CONTACT:FAX1red crossThe contact's fax number.Numeric30
CONTACT:EMAILred crossThe contact's email address.Free Text100
CONTACT:EMAIL_SUBSCRIBERred crossIs this contact an email list subscriber.Yes/No4
CONTACT:JOB_TITLEred crossThe contact's job title.Free Text100
CONTACT:PREF_DELCONTACTred crossWhether the contact is the preferred delivery contact.Yes/No4
CONTACT:PREF_INVCONTACTred crossWhether the contact is the preferred invoice contact.Yes/No4
CONTACT:CONTACT_NOTEred crossA note associated with this contact.Free Text150
CONTACT:DATAPROT_IDred crossData Protection:

Our use and any 3rd parties.
Our use and selected 3rd parties.
Our use and no 3rd parties.
Our use only.
Do not use.
Deceased.
Note: This should be written exactly how it is written within System Data | Data Protection.

Free Text15
CONTACT:GENDERred crossThe gender of the contact.Free Text6
OTHER_REFred crossAn additional reference that can be populated for the company record being setup.Free Text50
WEB_SITEred crossThe company's website.Free Text50
COMPANY_NOTEred crossA note for this specific company record.Free Text255
COMPANY_STATEMENT_NOTEred crossA note which will associate with the company statements.Free Text255
COMPANY_INVOICE_NOTEred crossA note which will be added to invoices raised for this company.Free Text255
COMPANY_PICKINGLIST_NOTEred crossA note which will added to picking and delivery note reports for this company.Free Text255
BANKACCOUNT_NAMEred crossThe name of the company's bank.Free Text35
BANKACCOUNT_NUMBERred crossThe bank account number for the company.Free Text15
BANKACCOUNT_CODEred crossThe sort code for the company.Free Text10
CREDIT_AMOUNTred crossThe amount of credit on sales to be extended to the company. If a supplier import, this will be your credit limit with this specific supplier.Numeric18
CURRENCY_IDred crossThe name of the currency to use.

£ = Pounds Sterling
$ = US Dollar
€ = Euro

Free Text10
DATAPROT_IDred crossData Protection:

Our use and any 3rd parties.
Our use and selected 3rd parties.
Our use and no 3rd parties.
Our use only.
Do not use.
Deceased.
Note: This should be written exactly how it is written within System Data | Data Protection.

Free Text15
EC_COMPANYred crossCompanies that are marked as true will have their tax values posted into the EC portion of the tax register and appear in the relevant EC sections on the VAT return.Yes/No4
PROFORMAred crossIndicates if the customer is a proforma customer. This is a customer only value, it is not available for suppliers.Yes/No4
TAX_REFERENCEred crossThe VAT Number for the company.Free Text20
TERMS_IDred crossThe name of the Terms to use:

Invoice Date
Month End
Months

Free Text10
TERMS_PERIODred crossRelated to the terms ID. Usually the number of days/months, depending on your ID selection above.Numeric10
TERMSP_IDred crossThe name of the Terms to use:

Invoice Date
Month End
Months

1-31
TERMSP_PERIODred crossRelated to the terms ID. Usually the number of days/months, depending on your ID selection above.Numeric10
PTYPE_IDred crossThe default payment type expected for the Company record. Should be presented as the description of the payment type.

Cash
Cheque
Card
Account
Voucher
Note: Customers set to Account should have their Credit Terms and Credit Limits assigned, else orders may fall into Terms Hold.

Free Text10
VEN_REFERENCEred crossThe company's vendor reference.Free Text20
AGENT_IDred crossThe agents name. This has to be setup within [ System Data | Agents ] before importing.Free Text15
SUPPLIERgreen tickControls whether Khaos Control should treat this company record as a supplier or not.Yes/No4
UDA:<NAME>red crossUsed to define the UDA names and values of a stock item. The <NAME> should be replaced with the name of the UDA, with the values within the stock item rows. Speak to KCSL if you're unsure about this.Free Text30
CREDITREVIEW_IDred crossUsed to define the review method. The text should match one of the options within [Company | Financial] within the Credit Review Method dropdown.Free Text30
CREDITREVIEW_DATEred crossUsed to define the date of the last review. This should be in the format of: DD/MM/YYYY.Date10
CREDITREVIEW_USER_IDred crossUsed to define the Credit Reviewer of the company. This should match the username defined within [System Data | Users]Free Text15


See Also


Did you find this article helpful?