How orenji2/enchantedpos works
EnchantedPOS is a Windows Forms retail POS and inventory application backed, according to the README, by networked MySQL. The principal workflow is cashier sign-in, shift setup, checkout and payment, with receipts and shift reporting; suspended-cart recovery and pricing tiers are checkout capabilities. Back-office branches maintain products, suppliers, users and customers, receive invoices, adjust stock, and produce reports. The excerpts show startup, navigation, database access, invoice stock updates and inventory adjustment transactions. Other feature-to-screen mappings are inferred from names and documentation, so those links are omitted or marked unverified.
Main entry points: DatabaseConfig.cs Connection factory · Form1.cs Sign-in and launcher · formPOS.cs POS checkout · ucSuppplierInvoice.cs Supplier invoicing
Components 18
Access and shifts
- Application startup
EnchantedPOS/Program.cs - Sign-in and launcher
EnchantedPOS/Form1.cs - Shift setup
EnchantedPOS/formPosLogin.cs
Checkout
- POS checkout
EnchantedPOS/formPOS.cs - Payment dialog
EnchantedPOS/formSaveTransaction.cs - Product record
EnchantedPOS/ProductRecord.cs
Inventory operations
- Connection factory
EnchantedPOS/DatabaseConfig.cs - MySQL database
- Product master
EnchantedPOS/ucProductMaster.cs - Supplier invoicing
EnchantedPOS/ucSuppplierInvoice.cs - Stock adjustments
EnchantedPOS/ucInventoryAdjustment.cs - Inventory mode
EnchantedPOS/formInventoryMode.cs
Administration and reports
- File maintenance
EnchantedPOS/ucFileMaintenance.cs - Admin screens
EnchantedPOS/formAdminDashboard.cs - Reports menu
EnchantedPOS/formReports.cs - Cashier sales report
EnchantedPOS/formCashierSalesReport.cs - Profitability report
EnchantedPOS/formProfitabilityReport.cs
Other components
- Cashier
Connections 18
- Application startup → Sign-in and launcher: starts
EnchantedPOS/Program.cs - Cashier → Sign-in and launcher: signs in
- Sign-in and launcher → Shift setup: opens
EnchantedPOS/Form1.cs - Sign-in and launcher → POS checkout: opens
EnchantedPOS/Form1.cs - Sign-in and launcher → Inventory mode: opens
EnchantedPOS/Form1.cs - Shift setup → POS checkout: configures shift
- POS checkout → Payment dialog: opens payment
- POS checkout → Connection factory: opens connection
EnchantedPOS/formPOS.cs - Product master → Connection factory: opens connection
EnchantedPOS/ucProductMaster.cs - Supplier invoicing → Connection factory: opens connection
EnchantedPOS/ucSuppplierInvoice.cs - Supplier invoicing → MySQL database: updates stock
EnchantedPOS/ucSuppplierInvoice.cs - Stock adjustments → MySQL database: logs and updates
EnchantedPOS/ucInventoryAdjustment.cs - Inventory mode → MySQL database: updates stock
EnchantedPOS/formInventoryMode.cs - File maintenance → Connection factory: opens connection
EnchantedPOS/ucFileMaintenance.cs - Cashier sales report → Connection factory: opens connection
EnchantedPOS/formCashierSalesReport.cs - Profitability report → Connection factory: opens connection
EnchantedPOS/formProfitabilityReport.cs - Payment dialog → Connection factory: opens connection
EnchantedPOS/formSaveTransaction.cs - POS checkout → Product record: uses records
EnchantedPOS/formPOS.cs