Skip to content
Astera Technology

Exact record ID lookup or name matching?

Keep operational identity separate from helpful name search so a similar label cannot silently select the wrong account.

Choose against the task constraints

The example system stores identifiers SUP-007 and SUP-07 as two distinct accounts. Its business rule treats the characters exactly as stored. Trading names can change and may be shared. A friendly name search can return candidates, but it is not an identity merge.

Decision worksheet
ConditionExact ID lookupName matching
User has an account referenceMatch the declared identifier ruleName result cannot replace the reference
User remembers only part of a nameMay produce no result without the IDReturn labelled candidates for inspection
Similar identifiersPreserve meaningful leading zerosDo not normalize IDs through name-search heuristics
Download editable CSV ↓

Offer exact lookup when a reference is available and candidate name search when it is not. Display IDs and other discriminators in results. Never infer that near-matching names authorize a merge or that two textual IDs are the same number.

Preserve identifier characters

Synthetic task cases
IDNameRequested action
SUP-007Sample TradingReference supplied: SUP-007
SUP-07Sample TradingDifferent account; not the match
SUP-077Sample TradeSimilar name only
Download editable CSV ↓

What should the exact SUP-007 lookup return under the stated rule?

Show the worked answer

Only SUP-007. SUP-07 and SUP-077 are separate identifiers; name similarity supplies no permission to include or merge them.

Check the chosen interaction

  • Leading zeros survive input, result rendering and saved selection.
  • An ambiguous name search requires an explicit record choice.
  • Exact no-match remains distinct from a failed lookup request.

Related resources