How ade-nugraha306/inventory-barang works
This is a Tkinter desktop inventory application backed by MySQL. Users open product, stock, pricing, purchasing, sales, and reporting screens from the menu; the app delegates screen actions to feature modules, which query or update the database. Reports can export CSV files. The excerpts show the app’s startup and menu wiring, and several feature implementations; links from other feature modules to the database are supported by the source index, but their internal transaction details were not sampled.
Main entry points: appFunc.py App coordinator · configDB.py Inventory database · laporanFunc.py Reports · exportToCsv.py CSV export
Components 14
Desktop interface
- Application entry
ProUAS5D2008.py - App coordinator
appFunc.py - Navigation menu
menuFunc.py
Inventory operations
- Product catalog
barangFunc.py - Stock management
stockFunc.py - Sales pricing
hargaFunc.py - Purchase transactions
pembelianFunc.py - Sales transactions
penjualanFunc.py
Reports and export
- Reports
laporanFunc.py - CSV export
exportToCsv.py
Data persistence
- Inventory database
configDB.py
Other components
- User
- MySQL server
- CSV file
Connections 21
- User → Application entry: starts
ProUAS5D2008.py - Application entry → App coordinator: creates
ProUAS5D2008.py - App coordinator → Inventory database: initializes
appFunc.py - App coordinator → Navigation menu: sets up
appFunc.py - Navigation menu → App coordinator: dispatches actions
menuFunc.py - App coordinator → Product catalog: delegates to
appFunc.py - App coordinator → Stock management: delegates to
appFunc.py - App coordinator → Sales pricing: delegates to
appFunc.py - App coordinator → Purchase transactions: delegates to
appFunc.py - App coordinator → Sales transactions: delegates to
appFunc.py - App coordinator → Reports: delegates to
appFunc.py - App coordinator → CSV export: delegates to
appFunc.py - Product catalog → Inventory database: saves product
barangFunc.py - Stock management → Inventory database: queries stock
stockFunc.py - Sales pricing → Inventory database: reads and writes
hargaFunc.py - Purchase transactions → Inventory database: records purchases
pembelianFunc.py - Sales transactions → Inventory database: records sales
penjualanFunc.py - Reports → Inventory database: queries reports
laporanFunc.py - Reports → CSV export: uses exporter
laporanFunc.py - CSV export → CSV file: writes export
exportToCsv.py - Inventory database → MySQL server: connects to
configDB.py