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
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
Stock CodeSTOCK_CODEThe unique stock code of the item.Yes
BUY_PRICE_CAPTIONNo
SELL_PRICE_CAPTIONNo
Adjust ByADJUST_BYNo
Adjust ToADJUST_TONo
Amazon Handling TimeHANDLING_TIMENo
AssignedASSIGN_LEVELNo
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
AvailableAVAILABLENo
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
Batch Code RequiredBATCH_CODE_REQUIREDNo
Box MultipleBOX_MULTIPLENo
Box VolumeBOX_VOLUMENo
Buffer Level(d)BUFFER_LEVELNo
Bundle PriceBUNDLE_PRICENo
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
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
Buy Price MassagedBUY_PRICE_MASSAGENo
CLIENT_IDCLIENT_IDNo
CNCODE_IDCNCODE_IDNo
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
Calc Net Unit (Purchase)CALC_LINEPNo
Calc Net Unit (Sale)CALC_LINESNo
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
Colour ValueCOLOUR_VALUENo
Combine Relationship ValuesCOMBINE_RELATIONSHIP_VALUESNo
CommentCOMMENTNo
DDEPTHDepth of the stock item.No
DISCOUNT_CODE_IDDISCOUNT_CODE_IDNo
Delnote RequiredDELNOTE_REQNo
DescriptionSHORT_DESC_ROThe short description of the stock item. This appears on picking sheets, invoices etc.No
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
Discount %Supplier:DISCOUNTHaving linked a Stock Item with a Supplier, this would be the discount % applicable to this Stock Item from this Supplier.No
Discounts DisabledMANUAL_PRICESNo
Drop ShipDROP_SHIPIs the item drop shipped (i.e. despatched direct from supplier?) -1 = Yes / 0 = No.(default)No
EPOS Confirm AssignmentsEPOS_CONFIRM_ASSIGNNo
EPOS DescEPOS_DESCThe description to be displayed on the EPOS quick stock entry button.No
Exclude From Reordering ReportsEXCLUDE_FROM_REORDERING_REPORTSNo
Extended Description lineEXTENDED_DESCNo
File NameImage:FILE_NAMEThe image's file location path which must be a publicly accessible secure URL eg// https://images.khaoscloud.com/Image1.jpgNo
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
Free Text DescriptionFREE_TEXTNo
HHEIGHTHeight of the stock item.No
Hide Item on Price ListsSTOP_PRICELISTNo
ICN CodeCNCODE_ID_EXTNo
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
IMAGE_FILEIMAGE_FILENo
ImageIMAGE_PREVIEWNo
Image TypeImage:IMAGE_TYPENo
In StockSTOCK_LEVELNo
Inners Per OuterINNERS_PER_OUTERNo
International Harmonisation Commodity Codes_HARMONISATION_CODESNo
International Tax Rates_INTERNATIONAL_TAX_RATESNo
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
Items Per InnerCARTON_QTYNo
Launch DateLAUNCH_DATENo
Launch TimeLAUNCH_TIMENo
Lead TimeSupplier:LEAD_TIMENo
Lead Time(d)LEAD_TIMEThe number of days this item usually takes to come from your supplier.No
LocationALT_PICKING_LOCATIONNo
LocationPICKING_LOCATIONThis is a free text field to describe the location of the item.No
Long DescriptionLONG_DESCThe long description for the product, used as a telesales information and/or web site long description.No
MANUF_IDMANUF_IDNo
MainIN_MAIN_LEVELNo
Manufacturer nameMANUFACTURERNote: this is not the supplier (although it could be). This value is used for reference only on the stock properties form.No
MarginMARGIN_TOTALNo
Max BO QtyMAX_BO_QTYNo
Max Display QtyMAX_DISPLAY_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
NameImage:IMAGE_NAMEUsed only as a reference. e.g. "Main Image" or "Thumbnail"No
Net WeightNET_WEIGHTNo
Non-Physical ItemNON_PHYSICALNo
On OrderORDER_LEVELNo
OrdImage:SORT_ORDERThis allows the user to control the order in which the images are used.No
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
Outers Per PalletBOXES_PER_PALLETNo
OvHdsOVERHEADNo
Packaging itemPACKAGINGNo
Part 1 of the SCS/child stock codeSCS_SK1SCS Only - SK Code portion of the 1st element.No
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 codeSCS_SK2SCS Only - SK Code portion of the 2nd 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 codeSCS_SK3SCS Only - SK Code portion of the 3rd 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 codeSCS_SK4SCS Only - SK Code portion of the 4th element.No
Part 4 of the SCS/child stock descriptionSCS_DESC4SCS Only - SK Desc portion of the 4th element.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
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
ProfitPROFIT_UNITNo
Profit(Lv)PROFIT_TOTALNo
Publish on WebWEBNo
Qty AvailSupplier:QTY_AVAILThis field is used to include supplier stock levels on your channels, if enabled. It does not auto update.No
QuarantinedQUARANTINE_LEVELNo
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
Reorder Period(d)REORDER_PERIODNo
Reorder Point(d)REORDER_TRIGGERNo
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
Reorder(q)REORDER_QTYRe-order Quantity - The base re-order quantity to be used.No
Reward PtsREWARD_POINTSThe number of reward points this stock item will earn the customer if they buy it, if reward points are setup and used in Khaos Control Cloud.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
Rwd Pts MultREWARD_POINTS_MULTIPLIERNo
SCS HeaderSCS_HEADERNo
SPECIAL_POSITIONSPECIAL_POSITIONNo
SReturn BayRETURNBIN_LEVELNo
Safe Level(q)REORDER_LEVELQuantity - Used to show when a stock item's stock level has fallen below the safe level.No
Sale LimitLOW_LIMITNo
Sales MultipleSALES_MULTIPLENo
Sales Order HeldSTOP_ORDERINGNo
Seasonal DemandSEASONALNo
Sell PriceSELL_PRICEThe default selling price to the customer (can be net or gross, but this decision will affect how your system functions)No
Sell Value(Lv)SELL_VALUE_TOTALNo
Separator or full template used to create child stock codesSCS_TEMPLATENo
Separator or full template used to create child stock descriptionsSCS_DESC_TEMPLATENo
Service PriSERVICE_PRIORITYNo
Special HandlingSPECIAL_HANDLINGNo
Stock CodeSTOCK_CODE_RONo
Stock DescriptionSHORT_DESCThe short description of the stock item. This appears on picking sheets, invoices etc.No
Stock TypeSTOCK_TYPENo
Stock TypeSTOCK_TYPE_RONo
Stock ValueSTOCK_VALUEThe value of this stock itemNo
Stock Value Calc MethodSTOCK_VALUE_UPDNo
Stock Value(Lv)STOCK_VALUE_TOTALNo
Stock controlled flagCONTROLLEDIs the item stock controlled? -1 = Yes (default) / 0 = No.No
StockIDSTOCK_IDNo
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 AvailabilitySUPPLIER_AVAILABILITYNo
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 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
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 PortionTAX1_PORTIONNo
Tax Rate (e.g. 5, 20, ...)TAX_RATEThe actual percentage tax rate of the product (e.g. 20 for 20%).No
Tax ReliefVAT_RELIEFNo
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
Virtual ItemVIRTUAL_ITEMNo
VolumeVOLUMENo
WWIDTHWidth of the stock item.No
Waiting QCQC_LEVELNo
Web Page OrderPAGE_ORDERNo
Web PriceWEBSELL_PRICENo
Web SlugWEB_SLUGNo
Web TeaserWEB_TEASERNo

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?