Collar
Open the demo

Collar › Rules › Collar › R1

Rules · Collar

R1 · Duplicate hole id

Blocker Collar

Every table joins to the collar by hole id, so two collar rows with the same id (compared without case, as Collar compares all ids) make every downhole row ambiguous: which EOH, which coordinates, which survey? Desurvey, compositing and exports would silently pick one. Keep one row, or rename one hole and move its data with it.

01

What it checks

Looks for two or more collar rows with the same hole_id, compared without case, so MRN045 and mrn045 count as one hole. Every row after the first is reported.

02

Why it matters

Each downhole row joins to the collar by hole id. With two collar rows Collar cannot tell which EOH, coordinates or survey a row belongs to, so desurvey, compositing and exports would pick one silently. It is a blocker: export stays blocked until it is resolved.

03

What to do

If the rows are the same hole entered twice, delete the extra row. If they are different holes, rename one hole and its downhole rows. Collar offers: Delete this collar row.

04

The fixes Collar offers

  • Soft-delete a row.

From Collar 1.1.0's rule catalogue. The same text is in the app under Help.