Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Idea: InventoryMutations
#1
I came up with this idea thinking about my inventorydetails master-detail implementation and the problems you would have keeping stock. What if we created a module called InventoryMutations of which each record represents a certain mutation to an InventoryDetails record? This module could register an event listener to the 'beforesave' event of the InventoryDetails record it is related to and would only need to created once (and NEVER edited). It would only need a couple of fields:
  • The product it is related to
  • The stock mutation number

Again: these records should only be created, never edited. Maybe this functionality need to be turned off all together for this module. You could use them (through workflows) to keep a good stock.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)