Skip to content

New Request: Automatic synchronization of component/accessories quantities based on custom asset checkbox fields. #16641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eckonode opened this issue Apr 5, 2025 · 1 comment

Comments

@eckonode
Copy link

eckonode commented Apr 5, 2025

I would like to propose a new feature that would allow for automatic synchronization of component & accessories quantities based on custom asset checkbox fields. This would allow us to track not only complete assets but also the various components and accessories (e.g., Keyboard, Mouse, GPUs, RAM modules, SSDs) that may be bundled with an asset. Currently, managing these is both time‑consuming and error‑prone.

Feature Overview:

Custom Field Integration:
Allow administrators to define custom checkbox fields (e.g., Includes_GPU, Includes_Keyboard, _Includes_Mouse, Includes_RAM) on asset models that indicate whether a particular component or accessory is included with the asset.

Automatic Quantity Adjustment:
When an asset is checked out or checked in, the system should automatically adjust the quantity of the corresponding item in inventory.

On check-out, the system would decrement the item quantity (only if the quantity is above zero).

On check-in, the system would increment the quantity (ensuring it does not exceed a predefined maximum limit).

Admin UI Configuration:
Provide an interface in the administration panel for mapping custom checkbox fields to specific components in inventory. Also an option to set it as required item. This mapping would allow for flexible configuration and enable the feature to support multiple types of components & accessories.

Logging and Audit:
Record the synchronization actions (e.g., component or accessory check-out or check-in) in an audit log so that administrators can review changes and ensure the system is performing as expected.

Use Case Example:

We might have a laptop asset that includes optional components such as a web cam, keyboard, mouse etc. By marking checkboxes for these components or accessories in the asset record, We could automatically decrement the inventory of these components or accessories when the laptop is checked out to a user, and increment the inventory when it is returned. This automation would help maintain accurate items stock levels and reduce manual work.

Benefits:

Increased Efficiency:
Reduces the need for manual inventory adjustments during asset check-in/check-out processes.

Accuracy:
Helps maintain correct component inventory counts, this way it will minimizing discrepancies and potential shortages.

Scalability:
Easily configurable via the admin panel, allowing organizations to support a wide range of asset-component/accessories relationships without manually checking out components or accessories each time.

Thank you for considering this feature request. I look forward to hearing feedback from the community and the development team!

Copy link

welcome bot commented Apr 5, 2025

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@eckonode eckonode changed the title New Request: Automatic synchronization of component quantities based on custom asset checkbox fields. New Request: Automatic synchronization of component/accessories quantities based on custom asset checkbox fields. Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant