Inventory Project extended on database functions