architect/research/INDEX.md

Research Index

Available Research Documents

ERP Systems Architecture

File: ERP_SYSTEMS_RESEARCH.md

Comprehensive research on three leading ERP systems (Basic Level):

  1. Odoo ERP (Open Source, Python + PostgreSQL)
    - Data Models (Product, Sales, Purchase, Inventory, Accounting, Manufacturing)
    - ORM Architecture & Relationships (Many2one, One2many, Many2many)
    - Module Architecture & Integration Patterns
    - PDF Document Generation (QWeb templates)
    - UI Patterns (List, Form, Kanban, Pivot, Dashboard, Calendar)
    - Workflow & Status Machine
    - RBAC & Access Control

  2. ERPNext (Open Source, Frappe Framework, MariaDB)
    - DocType-based Metadata-Driven Architecture
    - Frappe Framework (Python/JavaScript/Vue.js)
    - DocType System (dynamic field management)
    - Master Data (Customer, Supplier, Item, Warehouse)
    - Transactional Flows (Selling: Quotation → SO → DN → Invoice)
    - Buying Flows (PO → Receipt → Invoice)
    - Stock Management (Stock Entry, Bin, Warehouse)
    - Accounting (Journal Entry, Payment Entry, GL Entry)
    - UI Views (List, Form, Report, Board/Kanban, Calendar)
    - DocStatus Workflow (Draft → Submitted → Paid/Cancelled)
    - User Permissions & Role-Based Access Control

  3. SAP Business One (Enterprise, T-SQL, HANA/MSSQL)
    - Master Data (Business Partner, Item Master, G/L Account, Warehouse)
    - Fixed Schema Architecture (Table-based)
    - Document Management (OPCH PO, OIGN GR/PO, APCH Invoice, etc)
    - Purchasing Flow (PO → GR/PO → A/P Invoice → Payment)
    - Sales Flow (SO → Delivery → A/R Invoice → Payment)
    - Status Transitions & Document Workflows
    - Access Control (Roles, Approval Workflows, Amount-based Authorization)
    - Audit Trail & Security Features
    - Enterprise Scalability

Comparison Matrices

Recommendations for Pirotehnika


Document Structure

Each system section includes:

├── Overview (Platform, Language, Architecture)
├── Data Models
│   ├── Core Entities
│   ├── Relationships
│   └── Key Fields
├── Modules & Components
│   ├── Module List
│   ├── Integration Patterns
│   └── Reusable Components
├── Document Handling
│   ├── Document Types
│   ├── PDF Generation Method
│   ├── Storage Options
│   └── Templates System
└── UI Patterns
    ├── View Types
    ├── Navigation
    └── Analytics & Reports

Total Content


How to Use

  1. Quick Overview: Read the summary section of each ERP system
  2. Data Model Deep Dive: Jump to section 1.2, 2.2, 3.2, 4.2
  3. Comparison: See section 5 for comparative analysis
  4. Recommendations: See section 6 for Pirotehnika architecture


Last Updated: 2026-01-02
Next Review: 2026-06-02 (or when new major ERP versions released)