How arivazhagan7b/erpnext works
ERPNext is an open-source ERP for operating business workflows. A representative transaction path starts with order and item handling, applies accounting and stock rules, and records financial and inventory effects; users also work directly with accounting, reporting, manufacturing, and projects. The banking frontend and ERPNext banking modules are visible in the tree, but their runtime connections were not sampled, so they are represented only as documented capability. Arrows use source-index references or README statements; unsampled internals are not inferred.
Main entry points: accounts_controller.py Account transactions · buying_controller.py Buying transactions · stock_controller.py Stock transactions · serial_and_batch_bundle.py Serial batch bundles
Components 22
Order management
- Buying transactions
erpnext/controllers/buying_controller.py - Returns and credits
erpnext/controllers/sales_and_purchase_return.py - Item details and pricing
erpnext/stock/get_item_details.py
Accounting
- Account transactions
erpnext/controllers/accounts_controller.py - Party accounts
erpnext/accounts/party.py - Accounting dimensions
erpnext/accounts/doctype/accounting_dimension/accounting_dimension.py - General ledger
erpnext/accounts/general_ledger.py - Financial statements
erpnext/accounts/report/financial_statements.py - Custom report engine
erpnext/accounts/doctype/financial_report_template/financial_report_engine.py
Inventory and stock
- Stock transactions
erpnext/controllers/stock_controller.py - Stock ledger
erpnext/stock/stock_ledger.py - Stock valuation
erpnext/stock/valuation.py - Batch tracking
erpnext/stock/doctype/batch/batch.py - Serial tracking
erpnext/stock/doctype/serial_no/serial_no.py - Serial batch bundles
erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py - Bundle operations
erpnext/stock/serial_batch_bundle.py
Production and projects
- Manufacturing
erpnext/manufacturing/scheduling/engine.py - Project delivery
erpnext/projects/report/delayed_tasks_summary/delayed_tasks_summary.py
Banking workflows
- Bank reconciliation
erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py - Statement import
erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py - Banking interface
banking/src/pages/BankReconciliation.tsx
Other components
- Business user
Connections 22
- Business user → Buying transactions: manages orders
README.md - Business user → Account transactions: records transactions
README.md - Business user → Stock transactions: tracks inventory
README.md - Business user → Manufacturing: plans production
README.md - Business user → Project delivery: tracks projects
README.md - Business user → Bank reconciliation: reconciles accounts
README.md - Buying transactions → Account transactions: extends
erpnext/controllers/buying_controller.py - Buying transactions → Item details and pricing: uses item details
erpnext/controllers/buying_controller.py - Buying transactions → Stock transactions: uses stock rules
erpnext/controllers/buying_controller.py - Account transactions → Party accounts: validates due dates
erpnext/controllers/accounts_controller.py - Account transactions → Accounting dimensions: uses dimensions
erpnext/controllers/accounts_controller.py - Account transactions → General ledger: posts ledger
erpnext/controllers/accounts_controller.py - Account transactions → Returns and credits: handles returns
erpnext/controllers/accounts_controller.py - Account transactions → Item details and pricing: uses item details
erpnext/controllers/accounts_controller.py - Custom report engine → Accounting dimensions: filters dimensions
erpnext/accounts/doctype/financial_report_template/financial_report_engine.py - Custom report engine → Financial statements: uses statements
erpnext/accounts/doctype/financial_report_template/financial_report_engine.py - Stock transactions → Serial tracking: validates serials
erpnext/stock/doctype/serial_no/serial_no.py - Stock transactions → Serial batch bundles: uses bundles
erpnext/stock/services/serial_batch_bundle_service.py - Bundle operations → Serial batch bundles: creates bundles
erpnext/stock/serial_batch_bundle.py - Batch tracking → Serial batch bundles: uses bundles
erpnext/stock/doctype/batch/batch.py - Banking interface → Bank reconciliation: supports reconciliation
- Banking interface → Statement import: supports imports