Skip to content

Sourabsb/HandsMenThreadsProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HandsMen Threads - Inventory Management Automation

HandsMen Threads is an automated inventory management solution built on Salesforce. It uses Apex triggers and workflows to maintain real-time stock levels and calculate total inventory values, streamlining manual operations.


πŸ“ Project Structure

HandsMen-Threads/
β”‚
β”œβ”€β”€ screemshots/ # Project screenshots
β”œβ”€β”€ source code/ # Apex triggers and related code
β”‚ β”œβ”€β”€ stock_deduction_trigger.trigger
β”‚ └── update_total_trigger.trigger
β”œβ”€β”€ HandsMen Threads project documentation.docx
└── readme.md # Project README


βš™οΈ Features

  • Real-Time Stock Management: Automatically updates stock on purchase or sale events.
  • Dynamic Total Calculation: Keeps track of total product value based on current stock and unit prices.
  • Trigger-Based Automation: Uses custom Apex triggers for seamless inventory operations.

πŸ”§ Apex Triggers

1. stock_deduction_trigger

Purpose:
Handles automatic deduction of stock from the inventory whenever a transaction or order is created.

Functionality:

  • Triggered after insert operations on the transaction object.
  • Deducts the ordered quantity from available stock.
  • Ensures stock does not go negative.

2. update_total_trigger

Purpose:
Calculates and updates the total inventory value for each product after stock changes.

Functionality:

  • Triggered after insert or update on the stock object.
  • Multiplies stock quantity by unit price to compute Total_Value__c.
  • Keeps the total value field updated in real time.

πŸ“Έ Screenshots

Find all relevant UI and setup screenshots in the screemshots/ folder.


πŸ“„ Documentation

For complete functional explanation and implementation details, refer to the file:
HandsMen Threads project documentation.docx


πŸ“Œ Requirements

  • Salesforce Developer Edition
  • Basic knowledge of Apex Triggers and Salesforce Objects
  • Admin permissions to modify object schema

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

Sourab Singh Bora
πŸ“§ borasourabsingh@gmail.com


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published