The system needs to adapt to handle instances where a customer purchases multiple units of the same type of inventory item. Currently, if a product is purchased multiple times, only one inventory item is created, which does not accurately reflect the transaction. There are two potential approaches to address this:
Option 1: Create an individual inventory item for each unit purchased.
Option 2: Create a single inventory item with an extended period corresponding to the number of units purchased.
The optimal solution remains unclear, and there may be benefits to supporting both methods. Ideally, the choice between these options should be offered to the end customer during the purchase process, allowing for greater flexibility and customer satisfaction.
Subtasks
[ ] Investigate and implement a solution that allows for both inventory item creation options.
[ ] Develop a user interface mechanism that enables customers to choose their preferred option during the purchasing process.
[ ] Upon implementation, retrospectively adjust the production database to accurately reflect past transactions where multiple units were purchased.
[ ] Conduct thorough testing to ensure the new system works as intended across all possible purchase scenarios.
Goal
The system needs to adapt to handle instances where a customer purchases multiple units of the same type of inventory item. Currently, if a product is purchased multiple times, only one inventory item is created, which does not accurately reflect the transaction. There are two potential approaches to address this:
The optimal solution remains unclear, and there may be benefits to supporting both methods. Ideally, the choice between these options should be offered to the end customer during the purchase process, allowing for greater flexibility and customer satisfaction.
Subtasks