[UPDTED] V5 POS Extension All in one Business Solution

:tada: Introduction

:memo: Description

The POSExtension is a powerful tool designed to streamline business management tasks within Kodular applications. It empowers developers to efficiently manage inventories, process sales transactions, generate detailed reports, and safeguard data through seamless backup and restore functionalities. Whether you’re building an e-commerce platform or a retail management solution, POSExtension simplifies complex operations into intuitive components.

:date: Release Information:

:globe_with_meridians: Release Date: 2024-06-08T19:00:00Z
:globe_with_meridians: Last Updated: 2024-09-14T19:00:00Z
:gear: Latest Version: 5

:dart: Events

ProductNotFound

component_event (1)

  • Triggered when a product is not found.

ProductAdded

component_event (2)

  • Triggered when a new product is added.

ProductUpdated

component_event (3)

  • Triggered when a product is updated.
    • Parameters: productName (String)

ProductDeleted

component_event (4)

  • Triggered when a product is deleted.
    • Parameters: productName (String)

SaleProcessed

component_event (4)

  • Triggered when a sale is processed.
    • Parameters:
      1. productName (String)
      2. quantity (int)
      3. totalAmount (double)

InsufficientStock

component_event (5)

  • Triggered when there is insufficient stock for a sale.
    • Parameters: productName (String)

SalesDataCleared

component_event (7)

  • Triggered when all sales data is cleared.

InventoryCleared

component_event (6)

  • Triggered when all product data is cleared.

PermissionError

component_event (9)

  • Triggered when there is a permission error.
  • Parameters: errorMessage (String)

BackupData

component_event

  • Triggers when Backup completed.
    • Parameters: filePath (String)

ImportData

component_event (10)

  • Restores product and sales data from a CSV file.
    • Parameters: filePath (String)

:large_orange_diamond: Blocks

  • SetShopName: Sets the name of the shop.

component_method

  • Parameters: name (String)
  • ShopName: Retrieves the current name of the shop.

component_set_get

  • AddProduct: Adds a new product with details.

component_method (1)

  • Parameters: name (String), price (double), quantity (int)
  • UpdateProduct: Updates the details of an existing product.

component_method (2)

  • Parameters: currentName (String), newName (String), price (double), quantity (int)
  • DeleteProduct: Deletes a product from the inventory.

component_method (3)

  • Parameters: name (String)
  • ProcessSale: Processes a sale of a product.

component_method (4)

  • Parameters: productName (String), quantity (int)
  • GenerateSalesReport: Generates a sales report in CSV format.

component_method (5)

  • Parameters: filePath (String)
  • GenerateReceipt: Generates a receipt for a sale in CSV format.

component_method

  • Parameters: productName (String), quantity (int), filePath (String)
  • GetAllProducts: Retrieves details of all products.

component_method (1)

  • GetAllSales: Retrieves details of all sales.
  • ClearSalesData: Clears all sales data.
  • ClearInventory: Clears all product data.
  • BackupData: Backs up product and sales data to a CSV file.
    • Parameters: filePath (String)
  • ImportData: Restores product and sales data from a CSV file.
    • Parameters: filePath (String)

:star2: Features

  • Manage Products: Add, update, delete, and retrieve product details including images.
  • Process Sales: Process sales transactions, check stock availability, and generate receipts.
  • Generate Reports: Create detailed sales reports and receipts in CSV format.
  • Backup and Restore Data: Safeguard your business data with backup and restore capabilities.
  • Event-Driven: Events triggered for product operations, sales processing, and data management.
  • Error Handling: Robust error handling ensures smooth operations and user notifications.
V2 Changelog

:arrows_counterclockwise: V2 Changelog

New Features:

  • Export and import product and sales data in CSV format.
  • Added events for permission errors and data import/export completion.

Bug Fixes:

  • Enhanced data integrity during product and sales operations.

Improvements:

  • Improved error handling and performance for data management.
V3 Changelog

:arrows_counterclockwise: V3 Changelog

New Features:

  • Introduced SetShopName method to set the name of the shop.
  • Enhanced error handling and reporting for product and sales operations.
  • SetDefaultPath method to set default paths for generating receipts and sales reports.

Bug Fixes:

  • Enhanced efficiency and stability of product and sales management functions.
V4 Changelog

:arrows_counterclockwise: V4 Changelog

  • New Features:
    • Enhanced UI compatibility for seamless integration with Kodular apps.
    • Improved data handling for faster processing and reduced memory usage.
    • Added support for custom CSV formats for reports and receipts.
    • Introduced methods for batch processing of product updates and deletions.
  • Bug Fixes:
    • Resolved issues related to event dispatching and listener registration.
    • Fixed compatibility issues with Android versions 10 and above.
    • Addressed UI rendering glitches on specific Kodular device configurations.
  • Improvements:
    • Optimized performance for large-scale inventory management.
    • Streamlined backup and restore functionalities for improved reliability.
    • Enhanced error logging and reporting for easier troubleshooting.
Update V5

Customer Blocks

  1. Add Customer
  2. Update Customer
  3. Delete Customer
  4. Get Customer Details
  5. Get All Customer IDs
  6. Get All Customer Names

Customer Events

  1. Customer Added
  2. Customer Already Exists
  3. Customer Updated
  4. Customer Deleted
  5. Customer Not Found

:inbox_tray: Download and Support

Download POS Extension today and transform your Kodular application into a fully functional POS system. Whether you’re managing a small retail shop or a bustling e-commerce platform, POSExtension provides the tools you need for efficient business operations.

7 Likes

a large and probably interesting extension. It is clear that a lot of work has been done. however, the task is very specific. a ready-made application came out faster than just an extension :slight_smile:

1 Like

Hey @11119 Thanks for your feedback.
I am working on it, and it will here soon.

Aia is now Available this is a simple look and basic structure.

It would be nice if the products in addition to the name had an id and the rest depended on that id instead of the name.
search for name or by id/code

1 Like

Thanks for your feedback it’ll be added in next update.

New Version V5

Added new Blocks and events.

Customer Blocks

  1. Add Customer
  2. Update Customer
  3. Delete Customer
  4. Get Customer Details
  5. Get All Customer IDs
  6. Get All Customer Names

Customer Events

  1. Customer Added
  2. Customer Already Exists
  3. Customer Updated
  4. Customer Deleted
  5. Customer Not Found

Note :

more important Id system is added for products as suugested @Gaston

Events Image:

blocks

Blocks:

4 Likes

Excellent work :clap:

1 Like

Any Demo video about this extension?

How it works ?

It’s not complex but i am Working on this soon it will be added

1 Like

any other suggestions.

Hello mate, I haven’t been able to try the new version yet, today I’ll take a look and comment. greetings

Ok dear Take a look at this if anything not working or need any update.

Can you provide a test apk or aia it will be really Very helpful :innocent:

I am Working on it.