Purchase and sales agreements as master data: parties, items, prices, validity and limits, linked to the orders released against them.
Today contracts live in a contract tool, outline agreements in the ERP and the signed PDF in a shared folder; the ERP releases orders against an expired agreement.
With Lima the contracts are read where they live, matched on agreement number per system and party + type + validity (fuzzy), assembled field by field and published as one golden record per real contracts, with every source key underneath. The orders and invoices released against an agreement, by item and month are one click away, because the transactions sit in the same bed.
Survivorship is per field; the winning source below is the usual one, and a steward's verified edit outranks it.
Release orders are transactions in the bed, so remaining value is a live measure on the agreement record.
Pairs above the merge line merge; pairs between the lines go to the steward with the two records side by side and the transactions of each; the rest stay apart. Every merge can be undone. The golden records page explains the steps.
Several structures for the same record, each kept as versions with dates.
| Hierarchy | Levels and use |
|---|---|
| Party | party → agreements → items |
| Category | category → agreements |
A pivot can roll the record's measures up any of them; a draft version is validated against the facts before it goes live. See hierarchies.
Written in one language, tested on live rows before they are saved.
| Level | Rules |
|---|---|
| Column | valid-to is after valid-from target value is positive |
| Row | an active agreement names an active party an agreement with items has a price per item |
| Business | released value stays under the target value or carries an approval orders after valid-to are refused an agreement expiring within 60 days with no renewal opens a task |
| Transactions in the bed | Read from |
|---|---|
| Release orders | SAP EKKO with agreement reference; Oracle releases |
| Invoices | AP and AR |
Measures above are available in the pivot on any hierarchy level, by month or week, with calculated measures beside them. Drill-down opens the orders and invoices released against an agreement, by item and month.
Commercial terms visible to purchasing, sales and finance; documents by owner; everyone reads validity. The twelve layers apply on every door; see security.
POST /api/v1/golden/agreement/lookup
{
"party": "L-00731",
"type": "purchase",
"as_of": "2026-10-01"
}200 OK
{
"agreements": [
{
"id": "AG-4409",
"valid_to": "2027-06-30",
"target": 2400000,
"released": 1710000
}
]
}The same call creates the record when nothing matches; related facts are expanded through the cross-reference; page sizes and limits are published per endpoint. See the headless API.
The objects with their real names, the keys in that system's fields, the write interface and what to set up first.
Outline agreements read from EKKO · EKPO (BSTYP = K / L).
Open the SAP S/4HANA page →Purchase agreements read from PO_HEADERS_ALL (DOCUMENT_TYPE = BLANKET / CONTRACT) (REST: purchaseAgreements).
Open the Oracle Fusion Cloud page →Contracts read from Contract. 2 objects, the keys in Salesforce fields, the write path and the prerequisites.
Open the Salesforce page →Agreement read from CONFORMED.AGREEMENT. 2 objects, the keys in Snowflake fields, the write path and the prerequisites.
Open the Snowflake page →Names, places and figures are illustrative or anonymised; the pattern is the catalogue's.
A telecom operator linked 3,100 supplier agreements to the purchase orders released against them. Orders against expired agreements stopped the week the rule went live, and renewals started 60 days earlier.
The golden record is a governed view over rows read in place; a governed replica in your lake is used only where a source is too slow or too limited to query live, and the column says so.
One working day for the first two sources; 3 working days to a production-grade version with rules, hierarchies, security and write-back tested.
Industrial manufacturing, High-tech and semiconductor, Consumer goods, Telecom. The industry pages show the domains each starts with.
Bring two systems that hold the same customers, suppliers or materials. In one working day we connect them, run the match on live rows, review the queue with your steward and publish the first golden view with its API.