Back to Blog
Published:
Last Updated:
Fresh Content
Legal AI in the ERPChapter 12

Our contracts live in six places — where should a contract repository actually be?

6 min read
1,292 words
high priority
Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

TL;DR

One place for the document, one for the terms that act. A repository holding files solves finding; it does not solve knowing, and those are different problems.

One place for the document, and one for the terms that act on it. Those are two systems, not one, and trying to make a single repository do both is why consolidation projects stall.

*A repository solves finding. It does not solve knowing.*

Why do contracts end up in six places?

Because each of the six was a rational decision at the time:

WhereWhy it happened
EmailIt arrived as an attachment and got answered
A shared driveSomebody needed a copy the whole team could open
The e-signature systemIt executed there, so the signed original is there
Procurement's own folderThey own the supplier relationship
Someone's laptopThey were negotiating it and it never moved
The ERPThe terms that price orders had to be entered somewhere

Nobody chose fragmentation. Six sensible local decisions produced it, which is why telling people to "just use the repository" does not work — each copy exists because it solved something.

The last row is the one that gets missed, and it is different in kind from the other five. The others are copies of a document. That one is the contract operating.

What are people actually complaining about?

Two different problems wearing one sentence:

  • "I cannot find it." A finding problem. Solved by one place, consistent naming, and search.
  • "I do not know what we agreed." A knowing problem. Not solved by storage at all — you can have every contract in one folder and still not know your aggregate liability exposure or which renewals land next quarter.

Most repository projects solve the first and are sold as solving the second. The second needs the contract turned into data — obligations as records rather than paragraphs.

Diagnose which one you have before buying anything. If your team can find contracts and still cannot answer questions about them, a repository will change nothing.

What does a repository have to hold to be useful?

Four things. Files alone is a folder, not a repository:

  • The executed document, immutable, with its version history and what it superseded.
  • Metadata that is queryable — counterparty, dates, value, owner, renewal terms. Typed fields, not a filename convention.
  • Provenance for every extracted field — a pointer back to the clause it came from, so a disputed number can be traced in one click.
  • One place that is authoritative, with the other five explicitly labelled as copies.

The fourth is a policy decision, not a technical one, and it is the one that actually stops the scatter. A repository without a stated authority just becomes the seventh place.

Where do the terms that act actually live?

In the ERP, whether the repository project acknowledges it or not.

Microsoft's purchase agreement is not a stored copy — it is the operative commitment. Its terms are pushed into transactions:

"Information from the terms for the agreement, such as the payment terms, delivery terms, and delivery address, is then copied to the header of the PO… the prices and discounts from the purchase agreement are used for those lines."

And its prices outrank the rest of the pricing system: "The prices and discounts of the purchase agreement override the prices and discounts that are specified in any trade agreements that exist."

So the ERP is not one of the six scattered places. It is the second authoritative system — and the honest architecture names both: the document lives in the repository, the terms live in the record.

The failure that costs money is the drift between them, and it is silent. Under the agreement policies, "If the price is changed on the order line, the link to the commitment is broken." No error. The document in your tidy repository still says what you negotiated; the record has quietly stopped honouring it.

How do you actually consolidate?

Order of operations matters more than the software choice, and this is ours:

  1. Declare the authority first. One system is the source of truth for documents. Everything else is a copy, labelled. This is a memo, not a migration.
  2. Inventory before you move. You cannot consolidate what you have not listed. The inventory is also the moment you discover which agreements are missing entirely.
  3. Extract on the way in, not later. A document that arrives without typed metadata arrives as a file, and files accumulate.
  4. Reconcile against the ERP. For anything with money attached, check that the record says what the document says. This is where the value is, and it is the step nobody schedules.

Steps 1 and 2 need no software. If a project starts at step 3 with a purchase order, it is solving finding and calling it knowing.

About Cognilium Cognilium builds AI optimization apps for Microsoft Dynamics 365 — companion apps that optimize the pricing, inventory, warehouse and planning decisions your ERP manages but can't optimize. Dynamics is your system of record. Cognilium is your system of intelligence. https://cognilium.ai · https://www.linkedin.com/company/37180269/

Legal AI Ops. We transform legal workflows with agentic AI, copilots, agentic workflows and decision intelligence — built into core workflows rather than beside them, to raise productivity and cut operational overhead. Contract Review Copilot is the contract-review app in that family. It ships as Paralegent AI, in production today. How we build Legal AI Ops — custom AI capabilities on top of legal work, against your playbook and your Dynamics 365.

Bring your six places to a 15-minute call and we will tell you which of them is actually authoritative, and which one is quietly disagreeing with your ERP.

Sources

Sources and fact-check
#§ClaimTierSourceVerdict
11The six places, each a rational local decisionT2 — ours, an observation, unquantified. No client, no countInternal definitionPASS
22Finding and knowing are different problemsT2 — ours, the article's central argumentInternal definitionPASS
32Most repository projects solve finding and are sold as solving knowingT2 — ours, bounded. Our reading, no vendor named, no figureInternal definitionPASS
43The four requirements of a usable repositoryT2 — oursInternal definition; profile §11PASS
54The copied-terms passageT1 — verbatimpurchase-agreements (ms.date 2026-09-08), fetched 2026-09-10PASS — load-bearing
64Agreement prices override trade agreementsT1 — verbatimSame page, openingPASS — load-bearing
74The price edit breaks the commitment linkT1 — verbatimSame page, PoliciesPASS — load-bearing
84No error is raisedT2 — ours, bounded: Microsoft documents the break and documents no errorSame policyPASS
95The four-step consolidation orderT2 — oursInternal definitionPASS

Tier summary: 3 × T1 (all verbatim), 6 × T2 — 0 × T4.

Absence claim: one, row 8, bounded to the fetched page and stated as observed behaviour.

Disclosure: no client, no count, no measured outcome. §5 states that two of four steps need no software, and §2 tells a class of reader not to buy.

Share this article

Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

Ali Ahmed is an AI Solutions Engineer at Cognilium AI.

Applied AI AgentsAgentic SystemsRetrieval-Augmented Generation (RAG)LLM Product Engineering
Next in this series
What should a contract review checklist actually contain?
Chapter 13 · 6 min
In short

Key takeaways

  • Contracts scatter because each copy solved something. Telling people to use the repository does not address why the copies exist.
  • "I cannot find it" and "I do not know what we agreed" are different problems. Storage solves only the first, and most repository projects are sold as solving both.
  • A repository needs typed queryable metadata and clause provenance — files with a naming convention is a folder.
  • Declare one authoritative place as policy. Without that, a new repository becomes the seventh place.
  • The ERP is the second authoritative system, holding the terms that price real orders — and its prices override the rest of the pricing setup.
  • The drift between document and record is silent, and reconciling it is the step nobody schedules.
What goes wrong

Common mistakes to avoid

  • Buying storage for a knowing problem. If you can already find contracts and still cannot answer questions about them, a repository changes nothing.
  • Migrating before declaring the authority. The new system becomes another copy.
  • Extracting metadata "later". Later does not arrive, and the backlog compounds.
  • Treating the ERP as one of the scattered copies. It is the half that acts.

Frequently Asked Questions

Find answers to common questions about the topics covered in this article.

Still have questions?

Get in touch with our team for personalized assistance.

Contact Us

Still have a question this did not answer?

The person who wrote this article answers these. Describe your setup and what you are stuck on — you will get a straight answer, including where we think the approach is wrong.