# Contract Management

This section will guide you through the core principles on how business relationships, we call them Contracts, are structured, how they can be established and how they're used.

# Object Graph

             ┌────────────────────┐
        ┌───▶│      Contract      │◀───┐
        │    └────────────────────┘    │
        │               ▲              │
        │               │              │
        │    ┌────────────────────┐    │
        │    │  Contract Request  │◀───┼──────────┐
        │    └────────────────────┘    │          │
        │               ▲              │          │
        │  ┌────────────┴───────────┐  │          │
        │  │                        │  │          │
┌───────┴─────────────┐  ┌─────────────┴───────┐  │
│ Zaikio/Organization │  │ Zaikio/Organization │  │
│     (Supplier)      │  │     (Consumer)      │  │
└─────────────────────┘  └─────────────────────┘  │
                                    ▲             │
                                    │             │
                         ┌─────────────────────┐  │
                         │    Zaikio/People    │  │
                         │ (Requesting Person) │──┘
                         └─────────────────────┘

# General Concept

Within Procurement Buyers and Sellers need to establish a business relationship in order to being able to do business with each other. In order to do so they need to establish a Contract. Without a confirmed Contract consumers will not be able to see and browse a supplier's catalog or to place an order.

In order to establish one, the Consumer needs to request a Contract via a ContractRequest which then needs to be accepted by the Supplier.

# Consumers - How to handle contract requests

Consumers can requested a contract the Procurement web interface. Once the supplier accepted the request a procurement_consumer.new_contract will be fired and the consumer will be able to browse the catalog and place orders.