Data & evidence
Govern branch and channel master data across a restaurant group
A restaurant group has seven location labels in its exports but only four physical outlets. Two outlets share the same current display name. One outlet has closed, yet its historical transactions still belong in the period report. A new source code is present with a valid amount but no supported outlet mapping. If the analyst groups by names, filters out closed sites or guesses the new code, the total may look tidy while the business explanation becomes wrong.
This laboratory builds a branch-stewardship register for the fictional group Birch Arch. It separates stable outlet identity from source aliases, current display names, legal-entity references and management rollups. Seven accepted order-value records support a 4,100 MU group control total; six are initially assigned to four outlets, while one 300 MU record remains unallocated. The records, names, amounts and ownership choices are original fictional teaching material, not real restaurant listings or company registry information.
Download the source-alias history, seven transaction records and expected-answer pack. The interactive tool resolves the new code only through the fixture's explicitly verified mapping scenario. It shows why counting names, counting aliases and counting physical outlets produce different answers. It never edits a live directory, source platform or business registration.
TRY THE CASE
Seven labels do not mean seven physical outlets
Fictional inputs and stated model boundaries. The worked calculations and downloadable records below remain available without JavaScript.
- Define physical outlet, legal entity, brand, source account and reporting group
- Preserve canonical identity separately from descriptive labels
- Validate effective source-namespace/code aliases and evidence
- Map accepted transactions by business date without dropping closed history
- Retain unresolved attribution beside any independently supported group control total
- Review a specific evidence-backed new or corrected mapping
- Bridge outlet and regional changes without labeling them new trading
- Version the catalogue and verify downstream reports, search and access scopes
1. Decide which entity the identifier represents
An outlet identifier in this guide represents a maintained physical operating location in Birch Arch's reporting model. It is not automatically a legal entity, brand, online storefront, kitchen station or payment account. Those objects may have relationships to the outlet, but they can change independently. One legal entity can operate several outlets; one outlet can appear in several ordering channels. A shared brand name does not establish common legal ownership or identical reporting scope.
The company records these relationships explicitly rather than embedding every meaning in a single branch code. A code such as NORTH-A-2026 can become misleading if the outlet moves to another management region or changes its display name. Stable identity should survive ordinary attribute changes under the approved company policy. The policy must also say when a genuinely new operating location needs a new identity instead of reusing an old one.
The GS1 GLN allocation standard distinguishes identification of parties and locations and discusses changes to their attributes. It is a useful primary example of why identity and descriptive information are separate concepts. Birch Arch's OA-through-OD codes are internal fictional identifiers, not allocated GLNs. This guide does not require restaurants to adopt GS1 identifiers or reproduce every GLN allocation rule as an internal policy.
Start by writing a small entity dictionary: physical outlet, legal entity, brand, source account, source outlet code and management reporting group. Give each a plain definition and owner. If people cannot agree which object a row represents, a more elaborate matching algorithm will not solve the disagreement. The master-data register should make the business model understandable before it makes the export technically convenient.
2. Separate the canonical outlet from source aliases
The canonical record is Birch Arch's maintained outlet identity. A source alias links a particular source namespace and source code to that outlet for a defined period. The display name supplied by the source is retained as evidence but is not the mapping key. Different sources can use different codes for the same location, and one source can rename its display label without creating a new location.
Source namespace matters because code A001 in one system need not represent the same location as A001 in another. The mapping key is a structured pair, not the raw code alone. If the company combines source and code into a text string, it should use a collision-safe representation rather than an unescaped separator that can also occur inside either field. The teaching model uses structured identity internally and keeps the original fields visible.
An alias record has its own stable identity, source, source code, canonical outlet, effective start, effective end, source display label and evidence reference. Effective intervals include the start and exclude the end. Two aliases for the same source code must not overlap in a way that gives one transaction two outlet candidates. A name change can therefore create a new descriptive version linked to the same canonical outlet without multiplying the outlet population.
Do not treat every imported label as a new outlet. A provider may expose a storefront name, legacy spelling, fulfilment-point name or regional team label. The source owner needs to explain its meaning. The register should preserve the label while documenting the mapping decision. A retained alias is evidence of a source relationship, not independent proof that another physical restaurant exists.
3. Inspect the four-outlet canonical register
Birch Arch maintains four fictional outlets: OA, OB, OC and OD. OA and OD currently both display as Harbour Central. They are separate physical locations with different stable identities. OB displays as Garden. OC displays as Quay and closes from 15 November onward. Its earlier transactions remain part of historical reporting. These status choices are exercise inputs, not a prescription for any actual company's legal or operational closure process.
| Canonical outlet | Current display name | Entity reference | Management region | Closure boundary |
|---|---|---|---|---|
| OA | Harbour Central | LE1 | North | No closure recorded |
| OB | Garden | LE1 | North | No closure recorded |
| OC | Quay | LE1 | South | Closed from 15 November |
| OD | Harbour Central | LE2 | South | No closure recorded |
The entity references are fictional relationship fields. They do not establish legal consolidation, tax treatment or contract ownership. The group control total in this laboratory uses one neutral MU basis across already accepted, nonoverlapping teaching records. A real multi-entity report needs its actual entity scope, currency basis and relevant reporting policy. A canonical outlet map cannot supply those decisions automatically.
Counting distinct current display names gives three, not four. Counting canonical identities gives four. Neither a name collision nor a rename should be resolved by deleting one record. The interface should display a useful disambiguator, such as the stable code and approved non-sensitive location label, so staff can choose the intended outlet without relying on a name that is not unique.
Closed status is an attribute used for current operating workflows. It is not a command to remove historical events from every report. A directory of currently trading outlets can appropriately omit OC, while a November historical report may need its earlier accepted orders. The resource should state which population it shows. Reusing one active-only dropdown as the master population for all historical queries creates a subtle but serious reporting defect.
4. Read the seven alias-history rows
The alias history has seven rows but only six distinct source-and-code pairs. The POS-A source changes A001's displayed label on 10 November while retaining canonical OA. Two ordering-channel sources also identify OA or OB under different codes. The source names are invented, and the example asserts no capability or field convention for any real restaurant platform.
| Alias | Source | Source code | Source label | Canonical outlet | Effective interval |
|---|---|---|---|---|---|
| M1 | POS-A | A001 | Harbour A | OA | 1 November through before 10 November |
| M2 | POS-A | A001 | Harbour Central | OA | 10 November onward |
| M3 | CHANNEL-D | DL17 | Harbour Kitchen | OA | 1 November onward |
| M4 | POS-A | B001 | Garden | OB | 1 November onward |
| M5 | CHANNEL-R | BKG | Garden Desk | OB | 1 November onward |
| M6 | POS-A | C001 | Quay | OC | 1 November onward |
| M7 | POS-A | D001 | Harbour Central | OD | 1 November onward |
M1 and M2 are adjacent versions of the same source code, not two simultaneously operating branches. A transaction on 5 November matches M1, while one on 10 November matches M2 under the stated interval convention. Both resolve to OA. A report that groups by raw source label can split OA's history across Harbour A and Harbour Central even though the maintained physical location did not change.
M3 and M1 show the opposite relationship: different source codes and labels resolve to the same canonical outlet. M7 shows why a shared label is not enough to merge locations: Harbour Central can also mean OD. The steward needs verified source relationships and location evidence. A text similarity score can suggest candidates but cannot establish this distinction by itself.
The history also needs information about when the mapping decision was accepted if the company must reproduce earlier knowledge. This bounded fixture provides an already approved alias snapshot and focuses on business-effective mapping. It does not claim to implement a complete two-dimensional knowledge history. A production design can add that capability using the principles in the point-in-time reference guide, while preserving the same canonical identity model.
5. Map the seven accepted value records
All seven teaching records have already passed a common order-value contract. They are mutually exclusive accepted business events, use the same MU basis and belong to Birch Arch's group source scope. They are not a mixture of order totals, tender rows and repeated settlement representations. That assumption is explicit because source alias mapping alone cannot detect every economic duplicate across systems.
| Record | Business date | Source and code | Accepted value MU | Initial outlet result |
|---|---|---|---|---|
| T1 | 5 November | POS-A / A001 | 1,000 | OA |
| T2 | 5 November | CHANNEL-D / DL17 | 600 | OA |
| T3 | 5 November | POS-A / B001 | 800 | OB |
| T4 | 5 November | CHANNEL-R / BKG | 200 | OB |
| T5 | 5 November | POS-A / C001 | 500 | OC |
| T6 | 5 November | POS-A / D001 | 700 | OD |
| T7 | 5 November | POS-A / NEW | 300 | Unallocated |
The group control total is 4,100 MU. Initially mapped value is 3,800: OA 1,600, OB 1,000, OC 500 and OD 700. Unallocated T7 contributes 300 to the known group population but not to an invented outlet assignment. Six of seven records are mapped, approximately 85.71%. Mapped value is approximately 92.68% of group value. These are different coverage measures with different denominators.
The group total can be shown because the fixture independently establishes that every record belongs to the defined group and shares the same metric basis. In a real system, an unknown source or uncertain group membership could block even that total. Do not generalize the laboratory's known-group assumption to every unrecognized export. The company should state which boundary is established and which remains unresolved.
An outlet report should preserve an unallocated line or an explicit incomplete-population note. Dropping T7 would make the displayed outlet sum appear to be the complete group result at 3,800 rather than 4,100. Assigning it to the most similar name would make the group tie while corrupting outlet attribution. A clear 300 MU unresolved line is more useful than either kind of false completeness.
6. Resolve NEW through a supported mapping decision
The owner of source POS-A investigates NEW. In the fictional resolved scenario, controlled source and location evidence establishes that NEW represents OD for the relevant period. The steward proposes an alias effective from 1 November, identifies the evidence and obtains the required independent review under Birch Arch's teaching policy. The raw transaction remains POS-A / NEW; the reporting assignment references the approved alias.
Once that mapping is accepted, T7 adds 300 MU to OD. The outlet totals become OA 1,600, OB 1,000, OC 500 and OD 1,000. All seven records are assigned, unallocated value becomes zero and the outlet sum equals the 4,100 group control total. The group's recorded trading value has not increased. Only the attribution evidence has improved.
Do not infer OD merely because D001 and NEW appear near one another in a file or because 300 is a familiar transaction amount. A source account can include several locations, virtual storefronts or administrative records. The evidence request should ask what object NEW identifies and which period the relationship covers. The mapping should not be approved solely because it makes an outlet manager's target report look better.
If the evidence is insufficient, keep T7 unallocated and assign a next action. An incomplete but explicit attribution is a valid interim state. If evidence later shows a fifth genuine outlet, create that canonical identity through the appropriate process instead of forcing the record into one of the four existing choices. A maintained register must allow the business model to change when facts support it, without turning every unknown code into either a guessed existing outlet or an automatic new site.
7. Keep a rename from splitting historical performance
OA's current name is Harbour Central, while its earlier POS label is Harbour A. A current-name report can intentionally present OA's full history under the current label, provided stable identity remains available. An as-was presentation can show the label effective during each period. Both should aggregate the same canonical OA events when the reporting question requires the same outlet population.
A rename is not proof that the underlying operating location is unchanged in every case. A brand relaunch, relocation, ownership change or split can coincide with a new name. The steward must understand the event and apply the company's identity policy. The fixture establishes an ordinary display rename for OA, so its canonical identity remains the same. That fact is part of the teaching evidence, not something inferred from the matching source code alone.
Reports should make the name policy understandable. A manager comparing a historical screenshot with today's dashboard may see different labels for OA. The workpaper can explain that the canonical identity is unchanged and identify the effective rename. Without that explanation, staff may create a new spreadsheet column and manually add the old and new names, introducing another uncontrolled mapping outside the maintained register.
Search should support aliases without treating them as new canonical results. Typing Harbour A can lead a permitted user to OA's current record with its history. Typing Harbour Central should distinguish OA and OD rather than choose whichever appears first. A useful catalogue helps people find the intended object while keeping identity and historical labels precise behind a simple interface.
8. Preserve closed outlets in the relevant history
OC closes from 15 November. T5 occurred on 5 November, so it remains validly attributed to OC in this fixture's historical value report. If a query filters the canonical register to currently active outlets on 20 November before joining the transactions, it removes OC and its 500 MU. The mapped historical total falls from 3,800 to 3,300 without any change to source activity.
The current operating directory can correctly list three active outlets while the historical report lists four with activity in the period. Those counts answer different questions. A company should not force them to agree by deleting closed identities or moving their old transactions to a surviving branch. Retain closure date, relevant evidence and the historical identity so reporting can express both current operation and prior activity.
A transaction after the closure boundary needs investigation. It might be a delayed event with an earlier business date, a correction, an approved post-closure activity or a wrong mapping. The model flags a business-dated post-closure record rather than automatically discarding it or pretending the outlet reopened. The group-control assumption may still permit a known group subtotal, while outlet release remains qualified pending the event's explanation.
Closure can also affect contracts, customer obligations, licences, staff and assets, but the branch register does not decide those matters. It can reference their responsible workflows. Avoid converting an operational closed flag into a legal assertion that an entity no longer exists or every obligation has ended. The identity framework should preserve relationships needed for those separate decisions rather than use one status field as a universal answer.
9. Keep management rollups separate from physical identity
Birch Arch's current management regions are North for OA and OB, and South for OC and OD. The initially mapped regional values are North 2,600 and South 1,200, plus 300 unallocated to outlet and region. After NEW is resolved to OD, South becomes 1,500 and North remains 2,600. The group total stays 4,100. A regional presentation should carry the same attribution completeness as the outlet view.
A reorganisation can change the current rollup without creating or destroying physical outlets. Moving OB from North to South is a reporting relationship change, not a new restaurant. The company should decide whether a comparison uses the historical organisation or a current-structure restatement. Preserve the effective relationship and label the view. Otherwise a regional manager's apparent growth can simply reflect an outlet moving between columns.
Do not encode the region permanently inside the canonical identity if the relationship can change. A stable OA can be linked to different reporting groups over time without changing every historical source mapping. This reduces the temptation to reuse an old code or create a new duplicate outlet whenever the organisation chart changes. The register becomes a set of maintained relationships rather than a single overloaded branch string.
Physical outlets, brands and legal entities can each support different rollups. A brand report may combine locations across legal entities, while a statutory or tax report follows another boundary. The mapping workpaper should name the hierarchy used and the purpose. The fictional North/South rollup is a management view only, not evidence that the appropriate legal consolidation or inter-entity treatment has been established.
10. Test names as search hints, not automatic keys
At the 20 November presentation, OA and OD both display Harbour Central. Grouping by current name produces one combined 2,300 MU line in the unresolved baseline, concealing two physical outlets and different entity references. The name-based outlet count is three, while the canonical count is four. The combined amount may still tie to the mapped group total, which is why an aggregate check alone cannot reveal the identity collapse.
Text matching can help a steward find candidates, especially when source labels contain spelling variants. It should expose the evidence used and the ambiguity. A high similarity score is not independent location proof. Two branches of the same brand can have almost identical names, while one branch can appear under very different labels across channels. The fixture deliberately includes both patterns so a name-only cleaning rule cannot solve it correctly.
Use additional appropriate evidence such as verified source account relationships, maintained location identifiers, approved address records or operational confirmation through the company's controlled process. The public fixture contains no real addresses or contact details. A production system should collect only the information needed for the task and apply suitable access and retention controls. More personal data are not automatically better master data.
When a suggested match is rejected, retain the reason where appropriate. That prevents another preparer from repeatedly proposing the same false merge. The candidate and final decision should remain separate. A useful stewardship interface can be interactive and simple while still asking the person to confirm the supported relationship rather than offering a misleading one-click merge based only on a familiar display name.
11. Define merge, split and correction decisions precisely
A duplicate canonical record can sometimes be a genuine data error: two internal identities were created for one unchanged location. Merging those records requires a retained survivor relationship and a review of affected mappings and reports. It is different from two physical outlets becoming one management unit, or one outlet moving to another site. The word merge should not hide which business event occurred.
A split also needs a clear object definition. One kitchen may add two virtual storefronts while remaining one physical operating location. Another business may divide one site into independently managed locations. The source codes alone do not determine which model fits. The steward should document the actual objects and relationships, then obtain the responsible business decision before changing canonical identity counts.
A correction to a mistaken alias should identify affected transactions and output versions. If NEW was wrongly mapped to OA and later verified as OD, the group total could remain 4,100 while outlet values shift by 300. The correction bridge should show OA decreasing and OD increasing. It should not be described as new sales, cash recovery or a change in customer demand. The event is a reporting-attribution repair.
The company should preserve old identities and mapping history needed for audit and source traceability rather than recycling identifiers immediately for unrelated objects. The exact retention and external-identifier rules depend on the systems and obligations involved. This guide's internal policy keeps the historical links intact; it does not issue a universal legal retention period or a substitute rule for an external identification scheme.
12. Assign stewardship decisions to accountable roles
The source owner explains what the incoming code represents. The location owner confirms the operating object. The data steward proposes the mapping and checks the register. A reviewer confirms evidence and downstream impact under the company's authority process. In a small company one person may perform several tasks, but the questions should remain distinguishable. Technical ability to edit a lookup table is not itself authority to redefine an outlet.
The decision packet can be compact: source and code, proposed canonical identity, effective period, evidence reference, reason, affected records and review outcome. A missing field should have a specific next action. “Please clean branch data” does not tell the source owner whether the issue is an unknown code, conflicting alias, duplicated canonical site or current-name collision. Precise classification reduces both delay and unsafe improvisation.
A temporary mapping needs its own policy. If management permits a provisional attribution for a bounded decision, label it, set a review condition and keep it distinguishable from verified mappings. The fixture's ordinary tool does not release NEW on a provisional guess. A company with another chosen policy should show how uncertainty affects downstream reports, rather than silently converting a temporary workaround into a permanent canonical fact.
Measure stewardship through resolved evidence and maintained relationships, not just queue size. Deleting unmapped records or assigning every unknown to a generic outlet can make the queue disappear while weakening the report. An honest 300 MU unallocated line with an owner is more useful than a zero-exception dashboard whose outlet attribution cannot be explained.
13. Build the interactive branch workbench
The model accepts canonical outlets, effective alias history and the seven accepted transactions. It validates stable identities, required source fields, date intervals, supported units and alias relationships. It matches each transaction using source namespace, raw code and business date. Exactly one effective alias should resolve to a maintained outlet. Missing or ambiguous mapping becomes an explicit attribution exception rather than a guessed default.
The output shows group value, mapped value, unallocated value, record coverage, outlet totals, regional totals and exception reasons. It also displays deliberately incorrect diagnostics: distinct current-name count and the historical mapped value remaining after a current-active-only filter. Those counterexamples explain why a report can lose a closed outlet's history or combine two outlets with the same name while still looking orderly.
The evidence control adds the fixture's reviewed NEW-to-OD alias. It recomputes every transaction rather than replacing the displayed total with a prewritten final answer. T7 moves from the unallocated queue to OD, and regional South increases by 300. The group total stays fixed. A reset restores the unresolved baseline and its original alias snapshot so the two evidence states remain reproducible.
Failure tests include duplicate transaction identity, overlapping effective mappings for one source code, an alias pointing to an unknown canonical outlet, an impossible date and a post-closure business event. The model rejects configuration ambiguity or flags the specific transaction state as appropriate. A real implementation still needs source-data validation and enforcement beyond this small workbench; passing its fixture does not certify every row in a production estate.
14. Protect reports when master data change
A mapping update can affect many outputs: outlet dashboards, regional comparisons, access scopes, supplier allocations and historical exports. The steward should identify the affected relationships before release. A change that looks cosmetic in a directory can alter a query join or permission boundary. The impact review should follow actual dependencies rather than assume a text field is harmless because its name includes label.
Run old and proposed mappings against a frozen transaction snapshot. Compare assignment identities row by row, then summarize outlet and group changes. A group tie can conceal a material redistribution between OA and OD. A name change can preserve identity while changing search behaviour. A closure flag can change current directories without changing eligible historical transactions. Classify each effect rather than describing the whole deployment as a cleanup.
The release record references the mapping version, effective dates and reviewed output. If a later source file introduces another unknown code, it should enter the same controlled queue rather than inherit the last mapping used for a similar name. Versioned expected-answer fixtures help maintain meaning across software changes. The seven-record case can remain a regression test even as the real registry grows.
Retain a return route for a bad mapping release. The company may restore the prior mapping version while investigating, but it should preserve the new evidence and identify outputs that used the erroneous assignment. A rollback of the lookup table does not automatically revise an exported report or undo a decision made from it. The maintained process needs a clear communication and correction route appropriate to the actual business context.
15. Review coverage without inventing a quality score
Record coverage is six of seven initially. Value coverage is 3,800 divided by 4,100. Alias coverage might be measured against a different expected source population. None of these is a universal master-data quality percentage. A missing low-value outlet can still affect a critical operating decision, and a large mapped value can hide an identity collision. Show the unresolved objects and affected outputs beside the summary measures.
The denominator needs a controlled source. Counting only source codes already in the registry makes unknown codes disappear from coverage. Counting current active outlets omits closed historical populations. Counting every alias row overstates physical locations. The workpaper should state the expected population and explain whether it is a transaction set, source-code catalogue, canonical outlet inventory or current operating directory.
Trend changes require a bridge. Adding a new source channel can increase alias rows without increasing physical outlets. Opening a new site can increase canonical count. Resolving NEW improves attribution without changing accepted group value. A closure changes current operating count while preserving prior activity. These are different business and data events; a single line called branches cleaned cannot explain them.
Use the measures to direct action. The initial exception is a specific 300 MU attribution with source POS-A and code NEW. The name collision is a user-selection and identity-governance issue affecting OA and OD. The closure-filter defect is a query-population problem. A company gains more from fixing those mechanisms than from setting an arbitrary target that encourages people to make every metric green.
16. Complete the stewardship workshop
First explain why seven alias rows represent six source-code pairs and four canonical outlets. Identify the rename relationship, the cross-source aliases and the shared current-name collision. Then map the six resolvable transactions and reproduce OA 1,600, OB 1,000, OC 500 and OD 700. Keep T7's 300 separate and show the independent 4,100 group control total.
Next resolve NEW through the fictional verified evidence and reproduce OD 1,000, North 2,600 and South 1,500. Explain why the group value did not grow. Apply the deliberately wrong active-only filter on 20 November and show the missing 500 of historical OC activity. Group current names and explain why Harbour Central combines two locations. These exercises test entity meaning as well as arithmetic.
Finally prepare a handover for a new steward. Include the entity dictionary, canonical snapshot, alias intervals, evidence decisions, unresolved states and report versions. The colleague should be able to reconstruct both the unresolved and resolved views without guessing from names. That is the institutional value of master data: stable, explainable relationships that let people navigate a changing business without rewriting its history accidentally.
Methods, sources and boundaries
Boundary drill: a source reuses a code for another maintained location
Consider a separate future scenario in which the fictional POS-A source stops using A001 for OA after November and uses that raw code for OD from 1 December. The company must verify that this is the source's actual relationship rather than assume reuse from a changed label. If verified, the alias history closes M2 at 1 December and opens a new alias to OD at that boundary. OA and OD retain their distinct canonical identities.
A 5 November POS-A / A001 transaction still maps to OA. A new 5 December transaction under the same source and code maps to OD. A current-only lookup would assign both to OD, rewriting the earlier outlet history. The expected-answer tests include both dates. This source-code reuse scenario does not authorize reuse of an external identifier governed by another standard; it demonstrates how an internal receiver preserves a source relationship that genuinely changes over time.
The change packet should identify the old and new object, boundary evidence, affected integrations and any overlapping messages. If the source sends a late November event in December, its verified business date still matters. If the business date itself is uncertain, the receiver needs an exception rather than choosing the newest mapping. A stable canonical register is valuable precisely because source systems can change their labels, accounts and codes independently of the company's historical reporting needs.
Boundary drill: identical codes in different source namespaces
Add another separate teaching alias: CHANNEL-D / A001 maps to OB. Then add a 100 MU accepted event under that source and code on 5 November. The original POS-A / A001 event remains OA, while the new event maps to OB. Group value becomes 4,200, initially mapped value becomes 3,900, OB becomes 1,100 and the unresolved NEW record remains 300. The text A001 is not sufficient to identify the outlet.
A lookup keyed only by raw code can choose OA for both records or reject a perfectly valid source catalogue as a duplicate. A structured source-and-code key resolves the distinction. The evidence still needs to establish each relationship independently; namespacing prevents a technical collision but does not prove the business mapping is correct. The test checks both properties: identity separation and the stated verified destination.
This scenario is also useful for migration testing. When two source exports are combined, retain their namespace before normalization. Renaming every incoming code column to branch_id and discarding the source can destroy the information needed to resolve collisions. Preserve raw source fields and the canonical assignment as separate columns. A clean canonical export can hide the original complexity from routine readers while retaining the lineage required for review.
Boundary drill: no activity is not proof of closure
An outlet can be open and have no eligible transactions in the selected extract. The cause might be a quiet period, a missing channel, a different reporting scope or a source failure. It should not be marked closed merely because a query returns no rows. Closure is a maintained business attribute supported by the appropriate company evidence, while activity coverage is a separate observation.
Conversely, a closed outlet can have legitimate historical activity and later corrective records. The current directory and transaction report therefore need their own scopes, as OC demonstrates. This separation prevents a dashboard filter from becoming an accidental master-data authority. A company can investigate unexpected activity without deleting the identity or manufacturing a new opening date to make the data fit.
Boundary drill: complete attribution does not prove complete outlet reporting
Add a fifth canonical outlet OE called Lake, with an approved opening date before the reporting period, but supply no transaction or source-delivery evidence for it. The registry now contains five maintained physical outlets. The seven-record transaction control total remains 4,100 MU. Resolving NEW can make every supplied transaction attributable while still leaving unanswered whether OE genuinely had zero activity or whether its source data never arrived.
The workbench should show OE as a zero-valued canonical row because the inventory exists, but the interpretation of that zero requires a separate expected-source manifest. No row in this attribution exercise proves that OE sent a confirmed empty report. A company should not announce complete estate coverage merely because all received events map successfully. Attribution completeness and arrival completeness are distinct properties that need different evidence.
This case is useful at onboarding. A new outlet can be created correctly in the master register while its reporting connection remains untested. The onboarding owner should establish expected source codes, delivery schedule, amount contract and known-answer checks, then confirm the first complete reporting cycle. Creating an outlet identity is implementation progress, not proof that every required source integration is operating. Keeping the stages separate prevents a quiet new location from disappearing behind an apparently perfect mapping percentage.
All outlet identities, sources, labels, entities, amounts, mappings and closure dates are original fictional teaching material. MU is a neutral reporting unit. The accepted transaction population is assumed to have a common verified amount basis and no economic duplicates across the invented sources. The model focuses on branch attribution; it does not prove legal ownership, consolidation, source-event uniqueness outside that contract or a real outlet's operating status.
Primary background references are the GS1 GLN allocation standard for the distinction between parties, locations and changing attributes, and PostgreSQL constraints for general required-value, uniqueness and relationship mechanisms. Birch Arch's internal identifiers and policy are not allocated GLNs or an implementation claim for that standard. The fictional registry and stewardship workflow are original material.
Use the alias CSV, transaction CSV and answer file to reproduce the workbench. Before applying it, define the actual objects your company needs to distinguish and verify the source relationships. A trustworthy branch catalogue can help people find an outlet by an old name without confusing that name with the outlet's identity.
Research sources and scope
- www.postgresql.org — primary reference ↗Composite unique keys, not-null and foreign-key constraints can enforce explicitly defined row relationships; row CHECK constraints do not establish arbitrary cross-row guarantees.
- www.w3.org — primary reference ↗The PROV family supplies a framework for representing provenance and interchange; the restaurant implementation here is an original teaching design.
Build on the foundations
These introductory resources are already available in the existing website library.
