POS Extension Enhance your business management

Introduction

218895003bee621253cb846aa9afc23ebad66b03

Extension Name: POS Extension

:earth_asia: Released on: 2024-06-09T07:59:00Z
:earth_asia: Last Updated on: 2024-06-12T11:05:00Z

:gear: Latest Version: 2.0

Description:

POS Extension is an advanced extension for managing a Point of Sale (POS) system within your AI2 applications. It is designed to handle inventory management, sales processing, and reporting seamlessly, providing a complete solution for your retail or service-based application needs.

Events:

POS Extension includes various events to notify your application when specific actions occur:

  • InsufficientStock: Triggered when there is not enough stock for a requested product.
  • InventoryCleared: Triggered when the inventory is successfully cleared.
  • ProductDeleted: Triggered when a product is deleted from the inventory.
  • ProductNotFound: Triggered when a specified product is not found in the inventory.
  • ProductUpdated: Triggered when a product is updated.
  • SaleProcessed: Triggered when a sale is successfully processed.
  • SalesDataCleared: Triggered when the sales data is successfully cleared.

Blocks

POS Extension provides a comprehensive set of blocks to manage your POS system effectively:

31642b330bc20b2c4b6c4894660d9d6ef44b310f_2_222x500

  • AddProduct: Adds a new product to the inventory with specified name, price, and quantity.
  • ClearInventory: Clears all products from the inventory.
  • ClearSalesData: Clears all sales data.
  • DeleteProduct: Deletes a specified product from the inventory.
  • GenerateReceipt: Generates a receipt for a product based on name and quantity.
  • GenerateSalesReport: Generates a sales report.
  • GetAllProducts: Retrieves all products in the inventory.
  • GetAllSales: Retrieves all sales data.
  • GetProductDetails: Retrieves details of a specified product.
  • ProcessOrder: Processes an order based on the provided order details.
  • SearchProductsByPriceRange: Searches for products within a specified price range.
  • UpdateProduct: Updates the details of an existing product.

Features

  • Complete Inventory Management: Add, update, delete, and clear products with ease.
  • Sales Processing: Generate receipts and process orders seamlessly.
  • Reporting: Generate detailed sales reports.
  • Event Handling: Handle various events to keep your application responsive and user-friendly.
  • Search Functionality: Search products by price range to find what you need quickly.
  • Data Management: Clear inventory and sales data when necessary.

Block Usage

Example 1: Adding a Product

  1. AddProduct Block: Use the “AddProduct” block to add a new product by specifying the name, price, and quantity.

74f8f3e2ba5eb504a3d4cf7dba2bdb0b940ef941

  1. Update Product

d2aebdb9c82081e0c8129b50a3a6a4664c0a89b2_2_284x500

  1. Example Basic Usage

c3930406df55be89afeff1547802c32a2d599315_2_609x500

Changelog V2:

Blocks Updated:

61badbaa9face96a167df1d6394cae0287a69b26

15b977746b38cdb8f3e47f8aba1ca9ebca0b71b0

Blocks Usage:

23b4c98debb4165a943dd1dd878fbed32aa71be0

productName String The name of the product for which to generate a receipt.
quantity int The quantity of the product sold.
format String The format of the receipt (e.g., csv, excel).
filePath String The directory path where the receipt file will be saved.

f6428c8e4f06494a9a25180bbe45311736ccdbb2


Libraries:

Maven Repository: org.apache.poi » poi » 5.2.5 (mvnrepository.com)

Maven Repository: org.apache.poi » poi-ooxml » 5.2.5 (mvnrepository.com)

Download

Download POS Extension today and transform your AI2 application into a fully functional POS system.

Aix:

POSExtension V1.aix (11.4 KB)

V2

POSExtension V2.aix (14.7 KB)

Aia

POS.aia (127.3 KB)

3 Likes

I think you got the Platform name wrong… :sweat_smile:

2 Likes

I don’t get the point what you want to say

@DevXlabs You can mention Niotron instead of AI2 as this is niotron community platform

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 @Zodiac_Logic

Events Image:

image

Blocks:

image

Dwonload Version 4 & 5

Version 4 & 5 available here

3 Likes