Faith Forge LabsDenmark

Reconcile jobs and visits before importing the rows

A spreadsheet row is a storage choice, not a universal definition of a job. An export may contain one row per visit, repeating the job reference for return visits. Importing each row as a new job can create a plausible total that misrepresents the work.

Before moving the data, inspect the source's meaning and the relationships that the destination needs to preserve.

Read a small representative set

In a fictional maintenance export, the source columns include job reference, visit reference, visit type and visit status. Three rows contain these records:

Row Job Visit Source meaning
1 J-14 V-1 Initial visit, completed
2 J-14 V-2 Return visit, planned
3 J-15 V-3 Initial visit, cancelled

The old import preview says “Three jobs ready to create.” The source evidence supports two jobs with three associated visit records. The cancelled visit still has a meaning; it should not be silently counted as completed work or discarded without an approved rule.

The reviewer confirms the interpretation with the source owner. Similar-looking references are not enough to guess whether rows represent visits, tasks or amendments.

Define the destination result

The approved import creates J-14 with V-1 and V-2 attached, preserving their different statuses. It creates J-15 with the cancelled V-3 record according to the organisation's agreed history requirements. The import preview shows both the number of jobs and the number of visits, together with the references involved.

A fourth test row has an unknown visit type. The preview holds that row for clarification rather than creating an ordinary visit under a default value. The operator can inspect the source row and see what decision is missing.

The mapping is therefore more than a list of column names. It describes which source fields identify the parent job, which identify a visit and how the destination represents each supported status.

Compare membership as well as totals

In the fictional controlled import, the reviewer finds exactly J-14 and J-15. J-14 contains V-1 completed and V-2 planned; J-15 contains V-3 cancelled. The unknown-type row remains outside the accepted import with a recorded reason.

The check inspects those identifiers and relationships, not just a total of two. A total can match while one job is duplicated and another omitted. The source evidence and import decision remain available for investigation through the organisation's approved handling process.

Reporting is then reviewed against the new model. A job count reports two for this fixture; a visit count reports three, with status-specific breakdowns where needed. Neither count is described as completed jobs without an additional agreed definition.

Plan correction and repeat behaviour

The project must decide how later imports identify already-known records and how authorised corrections are applied. That behaviour depends on the source and destination capabilities. Repeating the same file should not be assumed safe merely because the first preview looked correct.

Keep personal information and operational history within appropriate access arrangements. A convenient export is not permission to distribute the entire spreadsheet to every reviewer. Use representative fictional data for early design and controlled testing where possible.

The internal-tool service can help establish the record model before migration. The reporting article addresses another source of misleading totals: comparing observations that cover different populations or stages.