How frappe/erpnext works
ERPNext is an open-source ERP for business operations. Users work in its application to record and manage accounting, orders and inventory, manufacturing, assets, and projects; accounting also supports financial reporting. The repository contains a banking interface alongside the Python ERP modules. The README establishes the product capabilities, while the sampled source supports selected accounting, stock, serial/batch, and subcontracting relationships; unsampled domain links are left unverified.
Main entry points: erpnext ERPNext · stock_controller.py Stock transactions · src Banking interface · accounts_controller.py Accounting documents
Components 19
ERP application
- ERPNext
erpnext - Banking interface
banking/src
Accounting
- Accounting documents
erpnext/controllers/accounts_controller.py - General ledger
erpnext/accounts/general_ledger.py - Financial reports
erpnext/accounts/doctype/financial_report_template/financial_report_engine.py - Bank reconciliation
erpnext/accounts/doctype/bank_reconciliation_tool - Statement import
erpnext/accounts/doctype/bank_statement_import
Orders and inventory
- Buying workflow
erpnext/controllers/buying_controller.py - Item and pricing
erpnext/stock/get_item_details.py - Stock transactions
erpnext/controllers/stock_controller.py - Stock ledger
erpnext/stock/stock_ledger.py - Serial and batch tracking
erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py - Serial/batch identity
erpnext/stock/serial_batch_identity.py
Manufacturing
- Subcontracting
erpnext/controllers/subcontracting_controller.py - Production routing
erpnext/manufacturing/doctype/routing/routing.py - Production scheduling
erpnext/manufacturing/scheduling/engine.py
Assets and projects
- Asset management
erpnext/assets - Project delivery
erpnext/projects
Other components
- Business user
Connections 19
- Business user → ERPNext: uses
- ERPNext → Accounting documents: supports accounting
erpnext/stock/get_item_details.py - ERPNext → Buying workflow: supports orders
erpnext/controllers/sales_and_purchase_return.py - ERPNext → Stock transactions: supports inventory
erpnext/controllers/subcontracting_controller.py - ERPNext → Production routing: supports manufacturing
erpnext/manufacturing/doctype/routing/routing.py - ERPNext → Asset management: supports assets
erpnext/accounts/doctype/journal_entry/services/asset_service.py - ERPNext → Project delivery: supports projects
erpnext/controllers/stock_controller.py - ERPNext → Banking interface: includes interface
- Accounting documents → General ledger: imports ledger functions
erpnext/controllers/accounts_controller.py - Accounting documents → Financial reports: supports reporting
- Banking interface → Bank reconciliation: supports reconciliation
- Banking interface → Statement import: supports import
- Buying workflow → Item and pricing: imports item details
erpnext/controllers/buying_controller.py - Stock transactions → Stock ledger: manages stock ledger
erpnext/controllers/stock_controller.py - Stock transactions → Serial and batch tracking: handles reservations
erpnext/controllers/stock_controller.py - Serial and batch tracking → Serial/batch identity: uses identity
erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py - Subcontracting → Serial and batch tracking: uses bundles
erpnext/controllers/subcontracting_controller.py - Subcontracting → Stock transactions: imports controller
erpnext/controllers/subcontracting_controller.py - Production routing → Production scheduling: coordinates production