Stock Import Mapping

Information

This guide contains the file requirements for importing stock data into Khaos Control Cloud (KCC). This article only covers simple SKUs, a separate guide is available for SCS items (variations) here, Stock Data Import (SCS)Detailed notes and caveats can be found at the bottom of the grid below.

Creating a CSV File

To create a CSV file for importing data into Khaos Control Cloud you will need software capable of making a spreadsheet, such as Microsoft Excel or Google Sheets.
  1. Open up the software you are using and create a new document.
  2. In the first row you will need to enter a title for each column, so you know what data is included in the column when it comes to importing it into Khaos Control Cloud.
    Microsoft Excel


    Google Sheets
  3. Now fill in each column with the matching data for each product, with each product on a new row.
    Microsoft Excel


    Google Sheets
  4. Once you have entered all of the product information you will need to save the spreadsheet as a "Comma-separated Value (CSV)" file.
    1. In Microsoft Excel you do this by clicking "File", then "Save As", then "Browse", then under "Save as type" select "CSV (Comma delimited) (*.csv)":
                     
      You can then browse and select the location to save the file, as well as give the file a name via the "File name" field, then click the "Save" button.

    2. In Google Sheets you do this by clicking "File", then "Download", then "Comma-separated values (.csv)":

      Your browser will then download the file to your default download location.

Testing your Import

Once you have CSV file setup and are ready to import your product data into Khaos Control Cloud, it is recommended that you first test this using your "Demo" Khaos Control Cloud system.
This way you can make sure that all of the required data is in the correct place, and that the import works correctly.

Import Mappings

Warning

Required Fields

Fields that are marked as "Required" must be included in the import or it will fail.
If you need to run an import more than once then all "Required" fields MUST be completed for each import.

TitleField NameDescriptionRequired
International Harmonisation Commodity Codes_HARMONISATION_CODESNO
International Tax Rates_INTERNATIONAL_TAX_RATESNO
Adjust ByADJUST_BYNO
Adjust ToADJUST_TONO
Auto Postpone Stock AssignmentAUTO_POSTPONE_ASSIGNMENTNO
Auto Quality CheckAUTO_QCNO
AvailabilityAVAILABILITYFree text field that usually denotes a description of why a stock item is not available (e.g. "Dock strike, shipments late"), but it can be used for other purposes.NO
Avg WeightAVERAGE_WEIGHTNumber only that can be in grams or kilograms (consistently), used to determine the average weight of sales orders.NO
BarcodeBarcode:BARCODEThe actual barcode, Amazon SKU or ASIN.NO
Barcode Type/KindBarcode:TypeThis is the type of barcode to be used in the barcode table. e.g. EAN13, EAN8, CODE39. Is also used for channel listings to store Amazon SKU and ASIN.NO
Buy PriceBUY_PRICEThe default cost (in the system's base currency) of buying the product from a supplier (can be net or gross, but this decision will affect how your system functions) as held against the Stock Item. The Stock Buy Price is also used as the Stock Value (required for Cost of Sale analysis)NO
Calc Net Unit (Sale)CALC_LINESNO
CNCODE_IDCNCODE_IDNO
CommentCOMMENTNO
Stock controlled flagCONTROLLEDIs the item stock controlled? -1 = Yes (default) / 0 = No.NO
COS Excluded ItemCOS_EXCLUDENO
COUNTRYMANUF_IDCOUNTRYMANUF_IDThis is the name of the Country of Manufacture for the product. The value entered MUST match the name of the country as listed in [System Data | Countries]. This will appear on Customs Invoices.NO
Delnote RequiredDELNOTE_REQNO
DDEPTHDepth of the stock item.NO
Item DiscontinuedDISCONTINUEDThis field, when used, can set the stock item as discontinued. To mark an active item as discontinued, enter a -1 in this field. To mark a discontinued as active, enter a 0.NO
DISCOUNT_CODE_IDDISCOUNT_CODE_IDNO
Drop ShipDROP_SHIPIs the item drop shipped (i.e. despatched direct from supplier?) -1 = Yes / 0 = No.(default)NO
Free Text DescriptionFREE_TEXTNO
HHEIGHTHeight of the stock item.NO
ICN CodeICN:CNCODE_IDThis field is used to attach the ICN (Intrastat) code to the stockcode. Is is essential you follow the guide here, ICN Bulk Update when using this field. This will appear on Customs Invoices.NO
ICN DescICN:SHORT_DESCNO
ICN Sup. UnitICN:SUP_UNITNO
File NameImage:FILE_NAMEThe image's file location path which must be a publicly accessible secure URL eg// https://images.khaoscloud.com/Image1.jpgNO
DescriptionImage:IMAGE_DESCUsed only as a reference where the user can hold a description of the image. e.g. Front view of or Side view ofNO
NameImage:IMAGE_NAMEUsed only as a reference. e.g. "Main Image" or "Thumbnail"NO
Image TypeImage:IMAGE_TYPENO
OrdImage:SORT_ORDERThis allows the user to control the order in which the images are used.NO
IMAGE_FILEIMAGE_FILENO
Launch DateLAUNCH_DATENO
Launch TimeLAUNCH_TIMENO
Lead Time(d)LEAD_TIMEThe number of days this item usually takes to come from your supplier.NO
Long DescriptionLONG_DESCThe long description for the product, used as a telesales information and/or web site long description.NO
Sale LimitLOW_LIMITNO
Discounts DisabledMANUAL_PRICESNO
MANUF_IDMANUF_IDNO
Manufacturer nameMANUFACTURERNote: this is not the supplier (although it could be). This value is used for reference only on the stock properties form.NO
Max BO QtyMAX_BO_QTYNO
Meta DescriptionMETA_DESCRIPTIONNO
Meta KeywordsMETA_KEYWORDSNO
Meta TitleMETA_TITLENO
Min Level(q)MIN_LEVELQuantity - Used to show when a stock item's stock level has fallen below the minimum levelNO
Min Reorder(q)MIN_PO_QTYNO
Net WeightNET_WEIGHTNO
Non-Physical ItemNON_PHYSICALNO
Other RefOTHER_REFCommonly used to store the bar code, if only referencing one barcode, but could be another reference for the stock item, perhaps a product code that links to your web site.NO
LocationPICKING_LOCATIONThis is a free text field to describe the location of the item.NO
Picking OrderPICKING_ORDERThis is a text field which controls the order of items on a picking report. Format example: 000, 001, 002, etc. In the absence of picking order, picking location will be used to order the report.NO
Postage WeightPOSTAGE_WEIGHTIs an alternative weight that can be exported to the courier. The hierarchy is 1. Actual Weight (which is manually entered into Khaos Control Cloud, ad-hoc, when processing through the Shipping stage), 2.Postage Weight, 3.Average Weight'.NO
Reorder MultiplePURCHASE_MULTIPLEWhen ordering from supplier this "Reorder Multiple" can be used to round quantities to the nearest pack size (e.g. eggs may be sold individually but are purchased in boxes of 6).NO
Safe Level(q)REORDER_LEVELQuantity - Used to show when a stock item's stock level has fallen below the safe level.NO
Reorder Period(d)REORDER_PERIODNO
Reorder(q)REORDER_QTYRe-order Quantity - The base re-order quantity to be used.NO
Run To ZeroRUN_TO_ZEROUse this field to mark a stock item as 'Run to Zero'. Enter a -1 to set a stock item as Run To Zero.NO
Sales MultipleSALES_MULTIPLENO
Caption describing the data in entry #1 of the SCS profileSCS_CAPTION1SCS Products Only - Description of the 1st element.NO
Caption describing the data in entry #2 of the SCS profileSCS_CAPTION2SCS Products Only - Description of the 2nd element.NO
Caption describing the data in entry #3 of the SCS profileSCS_CAPTION3SCS Products Only - Description of the 3rd element.NO
Caption describing the data in entry #4 of the SCS profileSCS_CAPTION4SCS Products Only - Description of the 4th element.NO
Separator or full template used to create child stock descriptionsSCS_DESC_TEMPLATENO
Part 1 of the SCS/child stock descriptionSCS_DESC1SCS Only - SK Desc portion of the 1st element.NO
Part 2 of the SCS/child stock descriptionSCS_DESC2SCS Only - SK Desc portion of the 2nd element.NO
Part 3 of the SCS/child stock descriptionSCS_DESC3SCS Only - SK Desc portion of the 3rd element.NO
Part 4 of the SCS/child stock descriptionSCS_DESC4SCS Only - SK Desc portion of the 4th element.NO
SCS HeaderSCS_HEADERNO
Part 1 of the SCS/child stock codeSCS_SK1SCS Only - SK Code portion of the 1st element.NO
Part 2 of the SCS/child stock codeSCS_SK2SCS Only - SK Code portion of the 2nd element.NO
Part 3 of the SCS/child stock codeSCS_SK3SCS Only - SK Code portion of the 3rd element.NO
Part 4 of the SCS/child stock codeSCS_SK4SCS Only - SK Code portion of the 4th element.NO
Separator or full template used to create child stock codesSCS_TEMPLATENO
Sell PriceSELL_PRICEThe default selling price to the customer (can be net or gross, but this decision will affect how your system functions)NO
Stock DescriptionSHORT_DESCThe short description of the stock item. This appears on picking sheets, invoices etc.NO
Stock CodeSTOCK_CODEThe unique stock code of the item.YES
StockIDSTOCK_IDNO
Stock TypeSTOCK_TYPENO
First level stock type (compulsory)STOCK_TYPE1Is the top level of stock types structure. No physical stock is held under this level.YES
Second level stock type (compulsory)STOCK_TYPE2Main stock type/level - this level is where physical stock items are held and is the one used to set nominal mapping and filter on sales reports. It is the most important level of categorisation.YES
Third level stock type (optional)STOCK_TYPE3Optional further type/level for use in further sales analysis, and product locating (if using 4 levels, this level acts as a mid-type header level an stock cannot be held under this level, if using 3 levels in your stock structure use stock_types 1, 2 & 4).NO
Fourth level stock type (optional)STOCK_TYPE4Optional further type/category for use in further sales analysis, and product locating (if using 4 levels, this level acts as a mid-type header level an stock cannot be held under this level, if using 3 levels in your stock structure use stock_types 1, 2 & 4)NO
Stock Value Calc MethodSTOCK_VALUE_UPDNO
Sales Order HeldSTOP_ORDERINGNO
Hide Item on Price ListsSTOP_PRICELISTNO
Sup Unit ValueSUP_UNIT_VALUEThis field is used to specify the supplementary unit value for this stockcode. This will appear on Customs Invoices.NO
Supplier code (URN)Supplier:COMPANY_CODEThe URN (company code) for the supplier of this item (if undefined there will be no stock / supplier links). Must match exactly on the supplier URN, which must already exist within the database.NO
Supplier company nameSupplier:COMPANY_NAMEThe Supplier Name of the supplier of this item (if undefined there will be no stock / supplier links). Must match exactly on the supplier Name, which must already exist within the database.NO
PreferredSupplier:DEFAULT_SUPPLIERIndicates whether the supplier is the default / primary supplier of this stock item. This should be -1 for true and 0 for false.NO
Discount %Supplier:DISCOUNTHaving linked a Stock Item with a Supplier, this would be the discount % applicable to this Stock Item from this Supplier.NO
Lead TimeSupplier:LEAD_TIMENO
Buy PriceSupplier:PURCHASE_COSTHaving linked a Stock Item with a Supplier, this would be the cost of buying the product from the supplier in the currency set against the supplier.NO
Qty AvailSupplier:QTY_AVAILThis field is used to include supplier stock levels on your channels, if enabled. It does not auto update.NO
Reorder QtySupplier:REORDER_QTYHaving linked a Stock Item with a Supplier, this would be the default quantity to reorder of this Stock Item from this Supplier.NO
Supplier RefSupplier:SUPPLIER_REFHaving linked a stock item with a supplier, this would be the supplier"s stock code (SKU) for this product.NO
Supplier AvailabilitySUPPLIER_AVAILABILITYNO
Tax Code (e.g. S, E, Z...)TAX_CODEThe integer code representing the tax rate of the product: 1 = Standard 20% (default) / 2 = Zero 0% / 3 = Exempt / 4 = Reduced 5% / 5 = Old Rate (pre 1st Dec 2008) 17.5% / 6 = 2009 Rate (01-Dec-2008 to 31-Dec-2009) 15%NO
Tax Rate (e.g. 5, 20, ...)TAX_RATEThe actual percentage tax rate of the product (e.g. 20 for 20%).NO
Tax PortionTAX1_PORTIONNO
Tax ReliefVAT_RELIEFNO
VolumeVOLUMENO
Publish on WebWEBNO
Web TeaserWEB_TEASERNO
WWIDTHWidth of the stock item.NO
Notes
Notes & Caveats
  1. If any of the Supplier: columns are present, only one of the Supplier:COMPANY_CODE or Supplier:COMPANY_NAME fields is required. If used, the Supplier:COMPANY_CODE or Supplier:COMPANY_NAME columns must be to the left of any other Supplier: columns.
  2. If the STOCK_CODE specified matches an existing item, the system will attempt to update that item, if not, a new item will be created with that stock code.
  3. The STOCK_CODE for each line must be unique; if the same file contains multiple lines with the same stock code, the second and subsequent lines will be skipped and reported in the error messages grid at the end of the import. To import multiple barcodes or suppliers, those sets of columns may be specified multiple times.
  4. It is possible to specify a different Supplier:COMPANY_NAME than the Supplier:COMPANY_CODE would indicate. In this case, any other supplier settings will update only the furthest right of the suppliers on your import file. It is recommended that if both the Supplier:COMPANY_CODE and Supplier:COMPANY_NAME are specified, these should be for the same company.
  5. Where a field has a colon in it (e.g. Supplier:COMPANY_CODE, Barcode:Type, etc) this indicates the field can be entered multiple times within the dataset provided to Khaos Control Cloud to import more than one such value.
  6. Setting a new combination of Level 1 Stock Type / Level 2 Stock Type or Level 3 Stock Type / Level 4 Stock Type, if the combination does not already exist within System Data, it will be created. The corresponding values will also be set against the imported/updated stock items.
  7. When importing stock items with ICN information, ICN definitions must not exist in [System Setup | System Data | ICN (Intrastat) Codes]
  8. Some fields need to be set up in Khaos Control Cloud before they can be successfully imported, for example, Stock Barcode Types must exist in [System Setup | System Data | Stock Barcode Types].
  9. The Manufacturer field will assign a manufacturer from [System Setup | System Data | Manufacturers]. If no match is found, a new manufacturer will be created (and assigned).
  10. UDAs can be imported. The part after ‘UDA:’ must exactly match, including whitespace, the name of a UDA within [System Setup | UDAs] in order to be imported successfully; otherwise it will be skipped.
  11. A UDA List should be specified by specifying the UDA once, then for the List values, specify any values to be included separating by commas. For instance, column header – UDA:Test_List, with values – OptionA,OptionC,OptionD. If there is a whitespace after the comma, it will be stripped. The list values must exist against the list within [System Setup | UDAs] before import.
  12. If there is a blank line at the end of the file, this will be reported as a skipped line that does not contain a full set of fields.

Did you find this article helpful?