File: ERP_SYSTEMS_RESEARCH.md
Comprehensive research on three leading ERP systems (Basic Level):
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
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
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
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
architect/standards/CODE_LIBRARY.md — Library structure standardsarchitect/theory/ECOSYSTEM.md — Platform ecosystem theoryprojects/org/pirotehnika/CLAUDE.md — Pirotehnika project contextLast Updated: 2026-01-02
Next Review: 2026-06-02 (or when new major ERP versions released)