Skip to content

Mega Contable 2000 was designed as a comprehensive management system for courier and messaging companies, developed during the transition period from the peseta to the euro.

License

Notifications You must be signed in to change notification settings

jordicor/mega-contable-2000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ MG2000 - Mega Contable 2000

πŸš€ Project History

This project represents one of my first professional developments, created between 1999-2001 when I was 19 years old while living in CΓ³rdoba, Spain. Mega Contable 2000 was designed as an integrated management system for package and courier companies, developed during the transition period from the peseta to the euro.

Although the project faced commercial challenges at the time, it represents months of intense work and self-taught learning. Now, more than two decades later, I have decided to release the code as a historical testament to software development in the pre-mass-internet era and as an example of business applications from the late 90s.

πŸ“‹ Description

Mega Contable 2000 is a complete shipment and package management system that allows:

  • πŸ“„ Manifest Management: Creation and tracking of shipments with detailed control of packages, weight, mileage, and cash on delivery
  • πŸ‘₯ Customer Database: Complete CRUD system with advanced searches by multiple fields
  • πŸ’° Rate Management: Price control with automatic Peseta/Euro conversion (1€ = 166.386 Ptas)
  • πŸ“Š Statistics and Reports: Generation of daily and monthly reports with statistical analysis
  • πŸ–¨οΈ Document Printing: Formatted listings ready for dot matrix printer

πŸ› οΈ Technologies Used

  • Primary Language: QuickBASIC / QBasic
  • Graphical Interface: NeoBook (Visual application builder)
  • Database: Custom system with random access binary files (.CWT)
  • Platform: DOS/Windows (compatible with late 90s systems)
  • Architecture: Modular with independent executables for each function

πŸ“ Project Structure

MG2000/
β”œβ”€β”€ MG.PUB              # Main interface (NeoBook)
β”œβ”€β”€ Manifests/
β”‚   β”œβ”€β”€ M.BAS          # Create shipping manifests
β”‚   └── M2.BAS         # Read/Edit manifests
β”œβ”€β”€ Customers/
β”‚   β”œβ”€β”€ C.BAS          # Add customers
β”‚   β”œβ”€β”€ C2.BAS         # Read/Edit customers
β”‚   β”œβ”€β”€ C3.BAS         # List all customers
β”‚   β”œβ”€β”€ C4.BAS         # Search by last name
β”‚   β”œβ”€β”€ C5.BAS         # Search by email
β”‚   └── C6.BAS         # Search by province
β”œβ”€β”€ Rates/
β”‚   β”œβ”€β”€ T.BAS          # Add rates
β”‚   β”œβ”€β”€ T2.BAS         # Read/Edit rates
β”‚   └── T3.BAS         # List rates
β”œβ”€β”€ Reports/
β”‚   β”œβ”€β”€ E.BAS          # Monthly statistics
β”‚   β”œβ”€β”€ I.BAS          # Print daily report
β”‚   └── I2.BAS         # Print monthly report
└── Utilities/
    └── B.BAS          # Delete/Clear manifests

πŸ’Ύ Database Format

The system uses custom binary files with .CWT extension (Custom Working Table):

Data Files

  • CLIENTES.CWT: Customer database (281-byte records)
  • TARIFAS.CWT: Rate database (44-byte records)
  • M[YY]G[MM]_[RR].CWT: Manifests (nomenclature: Year+Month+Record in hexadecimal)

Record Structure

Customer (281 bytes):

- Name: 20 characters
- Last Name: 30 characters
- Address: 65 characters
- City: 30 characters
- Province: 30 characters
- Phone: 12 characters
- Fax: 12 characters
- Email: 30 characters
- Notes: 65 characters

🎯 Main Features

Shipment Management

  • Origin and destination control
  • Delivery note registration
  • Sender and recipient tracking
  • Package and weight control
  • Mileage calculation
  • Cash on delivery management
  • Pending payments

Customer Management

  • Customer creation, deletion, and modification
  • Searches by name, phone, or email
  • Alphabetically ordered listings
  • Province filtering
  • Export to printer

Analysis and Statistics

  • Daily average calculation
  • Identification of peak shipping days
  • Monthly totals
  • Detailed reports by origin/destination

🚦 System Requirements

  • Operating System: DOS 6.0+ or Windows 95/98/ME with DOS compatibility
  • Memory: 640KB RAM minimum
  • Display: 80x25 text mode with 16-color support
  • Keyboard: Spanish layout recommended
  • Printer: Dot matrix or plain text compatible (optional)

πŸ“ Installation and Usage

  1. Clone the repository
git clone https://github.com/[your-username]/MG2000.git
  1. To run on modern systems, an emulator is recommended such as:

    • DOSBox: For complete DOS emulation
    • QB64: To recompile .BAS files on modern systems
  2. Run the main menu through the MG.PUB file (requires NeoBook runtime)

πŸŽ“ Historical and Educational Value

This project represents:

  • Pre-Web Development: Example of business applications before the internet boom
  • Structured Programming: Modular code in BASIC without object orientation
  • Manual Data Management: Custom database implementation without SQL
  • Classic User Interface: Text-based DOS UI
  • Monetary Transition Era: Code that handled Peseta/Euro conversion

πŸ“œ Historical Context

Developed during:

  • The Spanish monetary transition (Peseta β†’ Euro)
  • The rise of private courier companies in Spain
  • The pre-smartphone and pre-GPS era
  • When email was a novelty in the business world

βš–οΈ License

This project is released under the MIT license. After more than 20 years, the code becomes public domain for educational and historical purposes.

πŸ‘¨β€πŸ’» Author

Jordi Cor Originally developed by Gehni Technologies (1999-2001) Released as open source in 2025


πŸ“Œ Personal Note

This project represents my beginnings in professional software development. Although the commercial experience was not what I expected, the technical and personal learning was invaluable. Each line of code here represents hours of self-teaching, problem-solving, and the passion of a young programmer to create useful solutions.

If you find this code useful, educational, or simply curious from a historical perspective, it will have been worth sharing with the community.


"Code is poetry, even when written in BASIC" πŸ’»


⭐ If you find this project interesting from a historical or educational perspective, consider giving it a star.

About

Mega Contable 2000 was designed as a comprehensive management system for courier and messaging companies, developed during the transition period from the peseta to the euro.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published