Skip to main content
Question

Import scenario for Updating emails

  • May 23, 2025
  • 5 replies
  • 100 views

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+15

Hi

 

I have a few users in Acumatica for whom I’m trying to update the email addresses of existing logins.
I have a list of employees whose emails need to be updated. I want to update the email ID only if the user account exists. If the user account does not exist, the record should be skipped. However, the system is creating a new user record instead.

5 replies

saifalisabri
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • May 23, 2025

To address your Acumatica import scenario—updating email addresses for existing user accounts only and skipping non-existent users without creating new records—you need to carefully configure your Import Scenario so it matches existing users and doesn’t insert new ones.

Here's a step-by-step solution:

 

Objective:

Update email addresses for existing users only and skip any records where the user does not already exist in Acumatica.

 

🔧 Step-by-Step Solution

1. Prepare Your Source File (e.g., Excel or CSV)

Include:

  • Username (used to match existing user)
  • New Email Address

Example:

Username

NewEmail

john.doe

john.new@company.com

jane.smith

jane.new@company.com

 

2. Build the Import Scenario

Go to System Management > Integration > Import Scenarios, then:

  • Name: Update User Email
  • Screen Name: Users (SM201010)
  • Provider Object: Select the appropriate provider for your file (Excel, CSV, etc.)
 

3. Map Scenario Fields

Use the following mappings to only update existing users:

Line

Target Object

Field/Action Name

Source Field / Value

Commit

1

Users

Username

=Username

No

2

Users

<<Search>>

=Username

No

3

Users

Email

=NewEmail

No

4

Users

Save

 

Yes

 

4. Key Considerations

  • The <<Search>> action is critical: it tells Acumatica to look for the user by Username.
  • If no user is found, nothing is updated, and no new user is created.
  • Ensure the Username is the primary key or is indexed to be used in the search.
  • Do not include an Insert action or anything that triggers a new record creation.
 

5. Test the Import

  • Run a test with a few known usernames (existing and non-existing).
  • Confirm that only existing users are updated.
  • No new users should be created.
 

Outcome

This setup ensures:

  • Existing users' emails are updated.
  • Non-existent usernames are skipped silently.
  • No new user records are created.

lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • May 23, 2025

Hi ​@Manikanta Dhulipudi ,

That is the normal behavior for an import scenario.  If all of the mandatory fields are populated then the scenario will create a new record.  I would recommend exporting the current list of Acumatica users (using a GI and the Excel export icon), and using a vlookup in Excel to filter your list of users to only existing records before uploading the file to Acumatica.

Hope this helps!

Laura 


lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • May 23, 2025

To address your Acumatica import scenario—updating email addresses for existing user accounts only and skipping non-existent users without creating new records—you need to carefully configure your Import Scenario so it matches existing users and doesn’t insert new ones.

Here's a step-by-step solution:

 

Objective:

Update email addresses for existing users only and skip any records where the user does not already exist in Acumatica.

 

🔧 Step-by-Step Solution

1. Prepare Your Source File (e.g., Excel or CSV)

Include:

  • Username (used to match existing user)
  • New Email Address

Example:

Username

NewEmail

john.doe

john.new@company.com

jane.smith

jane.new@company.com

 

2. Build the Import Scenario

Go to System Management > Integration > Import Scenarios, then:

  • Name: Update User Email
  • Screen Name: Users (SM201010)
  • Provider Object: Select the appropriate provider for your file (Excel, CSV, etc.)
 

3. Map Scenario Fields

Use the following mappings to only update existing users:

Line

Target Object

Field/Action Name

Source Field / Value

Commit

1

Users

Username

=Username

No

2

Users

<<Search>>

=Username

No

3

Users

Email

=NewEmail

No

4

Users

Save

 

Yes

 

4. Key Considerations

  • The <<Search>> action is critical: it tells Acumatica to look for the user by Username.
  • If no user is found, nothing is updated, and no new user is created.
  • Ensure the Username is the primary key or is indexed to be used in the search.
  • Do not include an Insert action or anything that triggers a new record creation.
 

5. Test the Import

  • Run a test with a few known usernames (existing and non-existing).
  • Confirm that only existing users are updated.
  • No new users should be created.
 

Outcome

This setup ensures:

  • Existing users' emails are updated.
  • Non-existent usernames are skipped silently.
  • No new user records are created.

Hi ​@saifalisabri . I'm not aware of any <<search>> function as described in step 3.  Looks to me like an AI invention 😁.


saifalisabri
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • May 23, 2025

@lauraj46    You're absolutely right — Acumatica’s Import Scenarios will create new records if all mandatory fields are provided and no matching record is found during the lookup. Even with a <<Search>> step, if the search fails but required fields are filled, Acumatica may assume it's a new record to insert.

To prevent this unintended behavior and ensure only existing users are updated, here's a more bulletproof solution using your approach:

 

Refined Solution: Pre-filtering in Excel with VLOOKUP

🎯 Goal:

Ensure only existing Acumatica user accounts are updated — no new users should be created.

 

Step 1: Export Current Users from Acumatica

  • Go to the Users (SM201010) screen.
  • Use the Export to Excel button.
  • Export Username, Email, and other useful identifying fields.
 

Step 2: Prepare Your Update File

Your file with new emails should have:

Username

NewEmail

john.doe

john.new@company.com

jane.smith

jane.new@company.com

nonuser1

ghost@company.com

 

Step 3: Use VLOOKUP to Filter Only Existing Users

  1. In your update file, add a column: ExistsInAcumatica.
  2. Use Excel’s VLOOKUP to check if the username exists in the exported list.
excel
CopyEdit
=IF(ISNA(VLOOKUP(A2, ExportedUserList!$A$2:$A$1000, 1, FALSE)), "No", "Yes")
  1. Filter the list to keep only rows with ExistsInAcumatica = Yes.
 

Step 4: Import with Your Scenario

  • Use your clean, pre-filtered Excel file.
  • Configure the Import Scenario as described earlier with a <<Search>> step using Username.
  • Ensure no insert actions are defined.
 

✅ Why This Works Best

  • Avoids relying solely on Import Scenario logic to skip creation.
  • Leverages Excel to confidently filter data before import.
  • Ensures your data update is safe, minimal, and clean.

saifalisabri
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • May 23, 2025

@lauraj46   You're absolutely right to question that—thank you for pointing it out.

You're correct: Acumatica Import Scenarios don't literally have a <<Search>> action as shown in some AI-generated content. Instead, Acumatica relies on matching logic to determine whether a record already exists based on the key field(s) you map first in the scenario. If a record with the key exists, Acumatica will update it; if not, it will insert a new one—unless the insert path is blocked.

Let's fix that with a real-world, working solution: