In this guide 8 sections
A blank field in an ERP import does not say on its own whether to keep, overwrite or clear the existing value. Depending on the importer, an empty cell can leave the ERP value untouched, write an empty value over it or be rejected, so decide the operation for each field first and test how your importer represents it.
A blank cell, a column left out of the file and a deliberate “clear” instruction look alike in a spreadsheet but produce different results in the destination. This guide covers fields on an item that already exists in the ERP; whether an item missing from a new catalogue should be withdrawn is a separate decision. Once the blank-field rules are settled, the ERP supplier catalogue import acceptance checklist covers the rest of the batch.
What does a blank cell mean in an ERP import?
A CSV file has no built-in “null”: an empty field is just a string with no characters, and its meaning is set by the program that reads it. Importers that update existing records usually follow one of three behaviours.
| Importer behaviour | Effect of a blank mapped cell | Risk |
|---|---|---|
| Blank means “keep” | The ERP value stays as it is | A value that should disappear survives the import |
| Blank means “overwrite” | The ERP value is replaced by an empty value | Notes, documents or attributes are wiped by accident |
| Blank is refused | The row or field goes into error | Required fields block the batch |
The same system can behave differently depending on the import mode, the object or a setting: a single-record update may skip a blank while a bulk update of the same field clears it. Treat each import job, object and field type as a separate case until a test proves otherwise.
The source of the blank matters too. In a supplier file, a blank can mean “no change”, “no longer applicable” or simply “not filled in”. A blank, zero or invalid supplier price needs its own state for the same reason: an empty price is not a zero price.
Blank cell, omitted column or clear instruction: which is which?
Three situations need three separate tests.
- Blank mapped cell: the column is in the file and mapped to an ERP field, but this row has no value.
- Omitted column: the field is not in the file at all, or not mapped. Many importers leave such fields unchanged, but this is behaviour to verify, not a rule.
- Explicit clear instruction: a documented mechanism of the destination that removes the value. Its form depends on the importer; never invent a marker and assume it will be understood.
Two more cases often hide inside “blank”: a cell containing only spaces, and a cell holding a formula whose result is an empty string. An importer may trim the spaces and treat the cell as blank, or keep them as text. A formula result can also differ from what the file stores: see Excel cached formula values. Quoted empty fields ("") and the delimiter rules covered in importing CSV with UTF-8, delimiters and quotes can change how a reader sees the same row.
Write an explicit keep, set or clear table
Do not leave the decision to the file. Before the import, record one approved operation per field that differs. In the fictitious table below, KEEP, SET and CLEAR are internal preparation labels, not import syntax: translate each one into the mechanism your destination documents.
| Field | ERP value before | Value in new file | Evidence | Operation | Expected ERP value |
|---|---|---|---|---|---|
| Label | M8 screw | M8 stainless screw | New edition | SET | M8 stainless screw |
| Internal note | Check thread | Blank | Field not supplied by the manufacturer | KEEP | Check thread |
| Safety data sheet link | /sds-old.pdf | Blank | Manufacturer withdrew the document | CLEAR | No value |
| Order note | Collect only | Column omitted | Field outside the file | KEEP | Collect only |
| Optional surcharge | €2.00 | 0 | New edition states zero | SET | €0.00 |
| Pack size | 100 | Blank | No explanation | Hold | 100, flagged for review |
Two blank cells lead to two different operations because the evidence differs. A withdrawn document supports CLEAR; a field the manufacturer never supplies supports KEEP. When nothing explains the blank, as with the pack size, hold the field and ask: never fill it with a guessed value, and never clear a required or price-related field on the strength of a blank alone.
Zero is a value, not a blank. If zero is allowed for a field, write it as SET 0 and check that the importer does not read 0 as empty.
How do null values work in JSON and CSV standards?
Neutral standards show why the meaning of “empty” must be stated, not assumed.
RFC 7396, JSON Merge Patch updates a JSON object by sending only the members to change. Members left out of the patch stay untouched, and a member set to null is removed from the target.
Starting object:
{"label":"M8 screw","note":"Check thread","sdsLink":"/sds-old.pdf"}
Patch:
{"label":"M8 stainless screw","sdsLink":null}
Result:
{"label":"M8 stainless screw","note":"Check thread"}
Here an omitted member means KEEP and null means CLEAR. The text "null" in quotes is a string, not a removal. The RFC also notes that this format suits documents that do not use explicit null values, because a null can only mean “remove”.
For tabular files, the W3C Model for Tabular Data and Metadata on the Web treats an empty cell as null by default, lets metadata declare other strings that mean null, and records an error when a required column is empty. That is a description of one model, not a guarantee about your ERP: it shows that blank, null and required are properties the reader has to be told.
How to test blank-field behaviour before the real import
Run the test in a test environment, or on test items agreed with the ERP owner, never on live data without approval.
- Record the import context: system, version, import job or template, object (item, price, supplier item), mapping and enabled options.
- Choose a known item and write down every field value before the test.
- Build one small file per case: blank mapped cell, omitted column, explicit clear instruction, spaces only, empty formula result, zero where allowed.
- Run each case separately, so one result cannot hide another.
- Read back each destination field from the ERP itself, not from the import log.
- Compare expected and observed values in your operation table and note any difference.
- Repeat for each field type: text, number, date, list value, link and required field can each behave differently.
Keep the evidence: previous value, operation, expected value and value read back. Count operations by type. In a fictitious batch of 1,200 items, a job can report 1,200 rows imported while 35 document links that should have been cleared are still in place: a success count does not prove the field operations.
Which fields should never be cleared from a blank?
Some fields need stronger evidence than an empty cell before any CLEAR:
- required fields, which the ERP may refuse to empty or which other processes depend on;
- prices, units, pack sizes and minimum order quantities, where an empty value can stop ordering or pricing;
- identifiers such as GTINs and supplier product codes, which link the item to orders and stock;
- links to safety or regulatory documents, which should change only when the manufacturer withdraws or replaces them.
A product that leaves the range is a different case from a blank field. In FAB-DIS 3.0, the conditional blocks guide places references withdrawn from sale in the ARRET block, and a substituted reference in ARRET while its replacement appears in COMMERCE. An item simply missing from a file is a scope question, covered in partial or full supplier catalogue comparison.
Checks after the import and limits of the method
After the import, check:
- the count of
SET,KEEPandCLEARoperations against the values read back; - every field marked
CLEARis empty, and every field markedKEEPstill holds its previous value; - held fields are still flagged and not silently changed;
- dependent records, such as price lists or document links, reflect the change.
This method proves the behaviour of one importer, in one configuration, on the fields tested. A new version, mapping or option can change it, so repeat the test when any of them changes. Upstream, a difference report between two FAB-DIS editions shows which fields changed; the decision to clear a value in the ERP still needs documented evidence and an approved operation.
Frequently asked questions
Does a blank cell in a CSV import overwrite the existing value?
It depends on the importer and the import mode. Some keep the existing value, some replace it with an empty value and some reject the row, so test it on a known item before the real import.
How do I clear a field value with an import?
Use the clearing mechanism your destination documents, then read the field back to confirm it is empty. Do not rely on a blank cell or an invented marker unless a test shows it clears the value.
What is the difference between a blank cell and an omitted column?
A blank cell is a mapped column with no value on that row, while an omitted column is not in the file at all. Many importers leave omitted fields unchanged, but a blank mapped cell may be treated as an instruction to clear.
Is zero the same as a blank field?
No. Zero is a value that can be valid, for example a surcharge of €0.00, while a blank says nothing on its own. Keep them as separate states in your operation table.
Should a product missing from the new catalogue be deleted from the ERP?
Not from its absence alone. A missing item can come from a partial file, and in FAB-DIS 3.0 withdrawn references are listed in the ARRET block, so confirm the withdrawal before changing the item.
Official sources & scope
- RFC 7396 — JSON Merge Patch (new tab)Accessed on
- FAB-DIS guide — conditional blocks (new tab)Accessed on
This guide describes a working method. The examples are fictional; the official documentation remains the reference for the format rules. CatalogInspect is an independent service.