Skip to main content
Question

How to perform bulk data registration on a per-site basis using the migration job (procedure name: EXCEL_MIGRATION).

  • Sep 22, 2026 2:48 AM UTC
  • 1 reply
  • 27 views

Forum|alt.badge.img

I want to use a migration job (Procedure Name: EXCEL_MIGRATION) for a specific view to create multiple data records where all fields—except for "Contract"—have the same values, while the "Contract" field has a different value for each record.

Previously, I had to write a separate row for each "Contract" and click the "Execute" button to register them.

Now, I would like to be able to enter just a single row of data and have multiple records (one for each "Contract") registered upon clicking the "Execute" button.

1 reply

richardwoods
Do Gooder (Partner)
Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • Nov 24, 2026 10:06 PM UTC

Short answer: an EXCEL_MIGRATION job works row by row, so one row will not fan out to several sites on its own. The usual way round it is to keep the Excel job for the single row (loaded against one "master" site) and add a second migration job that uses the REPLICATION procedure on the same view, which copies that record to a list of other sites in one go.

Why a single row does not do it

The Excel job takes each row from the add-in and writes one record for the Contract on that row, which is why you end up typing one row per Contract. Replication is the piece built for "same data, many Contracts".

A setup along these lines

Job 1, the one you already have

  • Procedure Name = EXCEL_MIGRATION, View Name = your view, Job ID in capitals with underscores, for example YOUR_VIEW_EXCEL.
  • Users enter one row in the add-in, with Contract set to the master site, for example 10.

Job 2, the replication job

  • Procedure Name = REPLICATION, View Name = the same view (Table Name and Source Name fill in for you), Job ID for example YOUR_VIEW_REPL.
  • Mode = Manual to start with. Automatic fires as records are saved, Manual is run by hand.
  • Criteria = CONTRACT.
  • Master (From Value) = 10 (the site the Excel row is loaded against).
  • To Value List = 20;30;40, separated by semicolons, one entry per site that should receive a copy.
  • Leave the trigger disabled until the header, Source Mapping and Method List look right. The mapping and method list fill in the same way as for a standard source migration job, so check each column and remove any you do not want copied.

What happens at each step

  1. Load and execute the Excel row for site 10, as you do today.
  2. Run the replication job. In Manual mode you give it a WHERE clause that picks out the master records you have just loaded, for example on the key columns of your view.
  3. The methods in the job's Method List run once for each site in the To Value List, so one master record becomes one record per site.

The awkward case

Everything except Contract is copied from the master record, so any column that must differ by site, or any key that includes the site, needs a look in the Source Mapping before you run it. The master record also has to exist first, so run the Excel job before the replication job. If you would rather not run step 2 by hand, Automatic mode replicates as the master record is saved, and Batch mode collects the changes and lets you schedule the run.

Things to know

  • Try it on a test environment with two target sites before putting the full list in.
  • New sites added later only need adding to the To Value List and a Manual run with a WHERE clause for the existing records.

Worth a look: the IFS Cloud documentation for Data Migration, Excel Migration and Internal Replication (replication between Sites and Companies), including the Manual and Batch modes.

Which view is this for, and do the records need to differ by site in any column other than Contract?

Created with the help of Ask Olive.