Idea: InventoryMutations - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18) +--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4) +--- Thread: Idea: InventoryMutations (/showthread.php?tid=1041) |
Idea: InventoryMutations - Guido1982 - 04-11-2018 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:
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. |