Articles on: Data, import & API
This article is also available in:

UPDATE_BY | general explanation

With the import template, you can also update existing files, for example the prices of your items or the payment condition of your customers. You use the UPDATE_BY column for this. Read the general explanation of the import first.


Quick navigation:


You find worked examples with screenshots for customers, suppliers, items and item suppliers.


When to use an update


There are three ways to change existing files:

  1. Manually, file by file. Handy for a few files.
  2. With a bulk edit in the overview. Handy to give one field the same value for many files, e.g. the item group of 50 items.
  3. With an update through the import template. Handy when each file gets a different value, e.g. a new price list from your supplier.


How UPDATE_BY works


UPDATE_BY is the first column of a tab. In it, you enter the name of the column Robaws uses to look up the existing file, for example ID, NR or NAME. The value itself, e.g. the number or the name, is in that column.


Example: you enter NR in UPDATE_BY and A-1002 in the NR column. Robaws then looks up the item with item number A-1002 and updates the other columns of that row.


The articles tab with UPDATE_BY = NR, the NR column with the item number and the new cost price


  • File found: Robaws only updates the columns that are in your file and filled in. An empty cell or a column you left out leaves the existing value untouched.
  • No file found: Robaws creates a new file with the data of that row.
  • UPDATE_BY empty: Robaws always creates a new file.


Step-by-step plan


  1. Export the files you want to update. Go to the overview of the module, filter on the files you want to change and click the Excel action button.

The Excel action button at the top of the customer overview

  1. Change the values in the export, e.g. the new prices.
  2. Copy the data to the import template. The export uses different column titles than the template. So copy column by column to the right column of the template: the 'Id' column of the export to ID (or ARTICLEID for items), 'Cost price' to COSTPRICE, and so on. Only copy the columns you want to change, plus the column Robaws uses to look up the file.
  3. Fill in UPDATE_BY on each row, e.g. ID.
  4. Import the template through Settings > Import and check the result.


If you look up a file with ID (or ARTICLEID), you are sure Robaws updates the right file. An ID is unique and never changes. You find it in the 'Id' column of the Excel export.


Possible values per tab


Not every tab can be updated, and per tab only certain values are allowed in UPDATE_BY. If you enter a different value, you get the error 'update_by not supported'.


Tab

Values for UPDATE_BY

clients (customers)

ID, NAME, NR

suppliers

ID, NAME, NR

articles (items)

ARTICLEID, NR, NAME

articlesuppliers (item suppliers)

SUPPLIERNAME, SUPPLIERNR, REFERENCE, EXTRA_FIELD_1

articlestierprices (price groups)

PRICEGROUP

accountancycodes (GL accounts)

CODE

employees

ID

projects

NR, NAME

materials and materialsinstallation (equipment and installations)

ID, NAME, BARCODE

posts

ARTICLEID, NR, NAME, CHAPTER

offers (quotations), orders

ID, NR

invoices, credits (sales invoices, credit notes)

NR


The other tabs, such as contacts, remarks, document lines, supply orders, incoming invoices, work orders, progress claims and subscriptions, cannot be updated. A row on those tabs is always added.


What do ID, NAME and NR mean?


  • ID: the technical number of the file in Robaws. You find it in the 'Id' column of the Excel export.
  • NAME: the name of the file. It must match exactly, with the same capitals and spaces. If several files have the same name, Robaws only updates one of them. In that case, use ID.
  • NR: the number of the file. For items, that is the item number, for projects the project number. For customers and suppliers, it is the number you entered in the NR column in an earlier import. That number is not visible on the file. If you created your customers or suppliers manually or imported them without NR, use ID or NAME.


Points of attention


  • You cannot empty a field. An empty cell is skipped, so the existing value stays. If you want to empty a field, do so manually or with a bulk edit.
  • Never leave the lookup column empty. If UPDATE_BY contains ID but the cell in the ID column is empty, the import fails for that row and the rows after it.
  • Contacts are replaced, not added. If you import contacts for a customer or supplier that already exists, they replace all existing contacts of that file. So add an extra contact to an existing file manually.
  • Item suppliers without UPDATE_BY replace the existing ones. So always fill in UPDATE_BY on the 'articlesuppliers' tab if the item already has suppliers. You find more information in Importing and updating item suppliers.
  • Document lines are added. If you update a quotation, order or invoice through the import, the lines on the lines tab are added again, even if they are already on the document. Leave out the lines tab if you only want to update the data at the top of the document.
  • You cannot roll back an update. So test a large update on the test environment staging.robaws.com first.

Updated on: 27/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!