osxirdata

Keep your source history. Change the business rules.

Bring CRM and ERP records together with Data Vault. When sales changes its definition of an active customer, recalculate from the same source history.

osxirdataCustomer operations
Data Vault modelingModel v0.4
2Sources3Tables10Columnscustomer_vault / main
Schema · keys · requirement lineage01 / 04
PK: primary · FK: foreign · BK: business key
CRM · DEkunden
ColumnTypeKey
kunden_idbigintPK
kundennrvarchar(32)BK
statusvarchar(16)—
ERP · TRcari_hesaplar
ColumnTypeKey
cari_idbigintPK
hesap_koduvarchar(32)BK
aktifsmallint—
CRM · DEbestellungen
ColumnTypeKey
bestellung_idbigintPK
bestellnrvarchar(32)BK
kunden_idbigintFK
bestelldatumdate—
Illustrative architecture · example dataWS / 014

Select a layer or inspect a source field in the workspace. It runs on sample data.

Why Data Vault?

Sales and finance track the same customer in different systems. When a source changes or sales revises its definition of an active customer, teams still need to trace earlier records to their origins.

The Raw Vault preserves business keys, relationships and source history. The Business Vault derives shared identities and applies business rules from that history. If a rule changes, its result can be recalculated.

This matters most when several sources, changing schemas and historical traceability are involved. A stable report from one source may only need a simpler model.

Why split the Business Vault logic?

Identity mapping, the activity rule and the fields exposed to reports change for different reasons. The OSXIR example gives each its own responsibility.

Evaluation date

Raw Vault · source history

CRM.kunden.status
C-1042 · enabled
ERP.cari_hesaplar.aktif
1042 · 1
CRM.bestellungen.bestelldatum
O-208 · 5 Nov 2026
  1. Source standardization

    An explicit crosswalk ties the two keys to one customer. Source status codes are also given a common meaning.

    CRM:C-1042 + ERP:1042
    → CUSTOMER-1042
  2. Business rules

    Both sources must mark the customer as enabled and the latest order must fall within the selected window.

  3. OSXIR core model

    Exposes the customer ID, latest order and the activity status calculated under the selected rule.

    ActiveCUSTOMER-1042Latest order O-208 · 45 days

The comparison uses a fixed evaluation date.

From source schema to shared model

The requirement is to list active customers and their latest orders. Follow the fields that answer that question, how they are loaded and the rule that produces the result.

Source documentation

Which customer owns the order?

Establish which source fields support the requirement before loading data. Record the original names, types, nullability and the role of each key.

  • Give original fields names in a shared modeling language.
  • Map the fields a requirement needs to the original source columns.

The kunden_id foreign key on the CRM order links to the primary key in the customer table.

Source documentationOpen in model
CRM.bestellungen
Original nameShared name · ENTypeKey
bestellung_idorder_idbigintPK
bestellnrorder_novarchar(32)BK
kunden_idcustomer_idbigintFK
bestelldatumordered_atdate—

Customer–order relationship CRM.kunden.kunden_id

Stage

Prepare keys for loading.

Prepare formats consistently before loading. Record source and load timestamp tell you where and when each record entered the pipeline.

  • Trim leading and trailing spaces from business keys.
  • Keep source-specific status codes intact.

The CRM customer number is trimmed. The ERP account code 1042 stays as it is.

StageOpen in model
TRIM(business_key)
ColumnSource valueReady to load
CRM.kunden.kundennr" C-1042 "C-1042
ERP.cari_hesaplar.hesap_kodu"1042"1042
CRM.bestellungen.bestellnr" O-208 "O-208

Raw Vault

Keep the order link and source history.

Model business keys in hubs, relationships in links and changing attributes in satellites. A source status change adds to the history under the same key.

  • Keep the source keys distinct.
  • Retain status and order details with their sources.

Order O-208 links to CRM customer C-1042. ERP key 1042 and the source statuses remain traceable.

Raw VaultOpen in model
HUBhub_customerC-1042 · 1042
LINKcustomer_orderC-1042 ↔ O-208
HUBhub_orderO-208

SATELLITE · sat_customer_statusenabled / 1

Business Vault

Resolve two IDs to one customer.

Interpret source codes, resolve identities and define the rules that feed the report. Other reports can reuse those results.

  • Use an explicit mapping for CRM and ERP identities.
  • Derive activity from source status and the latest order date.

C-1042 and 1042 map to CUSTOMER-1042. In the example, both source statuses and an order in the last 90 days make the customer active.

Business VaultOpen in model
Source standardization
CRM:C-1042 + ERP:1042
Business rule
Enabled status + order in the last 90 days
Core modelCUSTOMER-1042active_customer = true

The workspace uses sample records. We agree the connections, load process and business rules for your own sources together.

3 months free

Start with your own sources.

Start with modules that fit your needs. Approve paid use separately, then cancel your monthly subscription when you no longer need it.

  1. Pick one business question.

    When the product becomes available, agree which sources and mappings to include in the trial.

  2. Review the model with your team.

    Try the sources, rules and model. Send change requests through the client workspace.

  3. Decide whether to continue.

    The paid plan starts with your approval. You can cancel the monthly subscription in any month.

Frequently asked questions

Can I upload my own data here?

This workspace uses fictional CRM and ERP records. We agree how to access your data and what to include in a trial.

Does translating a field name change its values?

The model shows a shared name and retains the original name and values in the source. Identity matching and business rules are separate steps.

How can I tell where a field comes from?

Requirement mapping shows the target and original source columns. The inspector shows the original data type and any foreign-key relationship.

What does the core model do?

It brings together the definitions teams use for customers and orders. In this example the Business Vault applies the rules and the OSXIR core model exposes the results.