---
title: "Target restrictions in import scenarios"
description: "You can specify target restrictions that apply to records after they have been processed by the import scenario."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-import-scenarios/target-restrictions-in-import-scenarios/index.md
lastmod: 2026-02-19
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-import-scenarios/llms.txt


# Target restrictions in import scenarios

Last modified February 19, 2026

> You can specify target restrictions that apply to records after they have been processed by the import scenario.


You can specify target restrictions that apply to records after they have been processed by the
import scenario.
For example: Suppose that you have imported customer records to Visma Net
and then manually changed the status of some of these records to **Inactive** in the [Customers (AR303000)](https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/customers-ar303000/index.md) window, and now you want to update only
imported customer records that have the **Inactive** status.
Because you do not have the
status in the source file, you cannot use source restrictions to select needed records.
You can,
however, specify a target restriction that makes the system save the results of import for only
the records that have **Inactive** status in the window.

To configure restrictions that apply to records after they have been processed by the import
scenario, you specify conditions for the target fields on the **Target restrictions** tab of the [Manage import scenarios (SM206025)](https://docs.vismasoftware.no/visma-net-erp/help/integration/integration-windows/manage-import-scenarios-sm206025/index.md) window. If you
have specified target restrictions, after a record is imported, the system checks the conditions
for the imported record.
If a record meets the conditions, the system saves the result of
processing the record during import.
If a record violates the target restrictions, the resulting
record is not saved; by default, the system stops processing records and displays an error.
To
make the system skip errors for the records that do not meet the restrictions and proceed with
processing other records, you should set the system to not break on an incorrect target.
In this
case, the system will continue to process subsequent records after an error has occurred for a
record.

For example, suppose that you want to delete customer records that have an **Inactive**
status in the [Customers (AR303000)](https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/customers-ar303000/index.md) window.
To do this, you can add to the
target restrictions the condition that the imported customer records should have the
**Inactive** status.
During import, the system will check whether each imported record has
the **Inactive** status, and delete the record only if it has this status.

To determine target restrictions, you can use only the fields of the summary object.
For
example: In the [Customers (AR303000)](https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/customers-ar303000/index.md) window, you can filter records by the
**Customer number**, **Customer name**, and
**Status** fields.
You cannot use columns of **Select**
dialog boxes, fields of related objects, and fields of detail objects to filter records.
For
example: For this window, you can filter customer records neither by the value of the
**Country** field of the **Main contact** group on the
**General settings** tab, nor by the **Country** column of the
Selector dialog box of the **Customer no.** field.


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-import-scenarios/target-restrictions-in-import-scenarios/)
