Web-based ERP System for Young's Food (Pvt) Ltd

Computer Science

Description

A web-based ERP for a biscuit and wafer manufacturer that connects purchasing, recipe-based production, inventory, sales and a POS counter, HR and payroll, and double-entry accounting in one database. Every transaction posts its own balanced journal entry, so stock and accounts always agree, and a demand forecast suggests what to produce and buy.

Objectives

To replace the separate registers and spreadsheets of Young's Food (Pvt) Ltd with one centralized web-based system that manages raw materials, recipes and production orders, finished-goods stock, invoices, POS sales, payments and returns, employees, attendance, leave and payroll, and automatically posts double-entry journals to produce the general ledger, trial balance, profit and loss and balance sheet. The system also provides role-based dashboards, analytics and a demand forecast, protected by nine user roles, sign-up approval and two-step verification.

Socio-economic benefit

The system gives a small manufacturer the benefits of an ERP without licence costs, because it is built entirely on open-source technology and runs on an ordinary office PC or low-cost hosting. Entering each transaction once removes duplicate work and stock mismatches, the real cost of every pack supports fair pricing, and automatic expiry write-off reduces food waste. Accurate payroll with income tax and EOBI deductions supports employees' rights and statutory compliance, and correct sales tax records support tax documentation. Live dashboards and forecasts help management avoid stock-outs and overproduction, which protects jobs and supports the growth of a local food industry.

Methodologies

The project followed an incremental development model. Requirements were gathered from the company and specified following the IEEE 830 recommended practice. The design was modelled in UML (use case, class, sequence, state and deployment diagrams and an ERD) following IEEE 1016. The system uses a layered Model-View-Controller architecture on Flask with SQLAlchemy and SQLite, and deny-by-default role-based access control. Modules were built and connected to the ledger one at a time: HR, procurement, production, sales, accounting, dashboard and forecast, then POS, security and fleet. Demand forecasting uses run-rate analysis and Holt exponential smoothing. Quality was assured with business-logic unit tests, forecasting tests, a page-render test for every role and an end-to-end smoke test, followed by deployment on PythonAnywhere.

Outcome

A working ERP system deployed online at https://ahmerishaq12.pythonanywhere.com and installable on phones as a web app. It covers nine user roles and over 70 pages: purchasing, recipe-based production with batch numbers, expiry dates and cost per pack, inventory with automatic expiry write-off, invoices and a POS counter, HR, leave and payroll, automatic double-entry accounting with trial balance, profit and loss, balance sheet and month-end close, demand forecasting, department logs, fleet, and official letters. All 70 business-logic unit tests and 7 forecasting tests pass, a render test opened every page under all nine roles (702 pages opened and 425 correctly refused), and on demo data the ledger balanced with all six sub-ledgers in agreement.

Gallery

More from Computer Science

BoatMart Module A

Computer Science

BoatMart is a unified e-commerce platform designed to connect wholesalers, retailers, and customers in one dig…

Supervisor: DR. Saeed ur Rehman

Ai Resume Screening System

Computer Science

The AI-Based Resume Screening System is an explainable and auditable decision-support platform designed t…

Supervisor: Dr Mamoona Fatima

Fixify: Home Services Marketplace with Agentic Admin Automation

Computer Science

Fixify is an AI-powered home services marketplace that connects customers with verified local professionals, i…

Supervisor: Hassan Sardar

BoartMart Module C

Computer Science

BoatMart is a unified e-commerce platform designed to connect wholesalers, retailers, and customers in one dig…

Supervisor: Dr. Tassawar Iqbal