I am going to create a inventory database, in this way I created different tables such as: invoice, items, donor, provinces, category, vendor, staff and status. in this way I need to create new field to calculate the depreciation in item table. I consider the formula of depreciation in below way:
amount (purchased amount of item in item table) - depreciation time (category such as: furniture of laptop has unique depreciation time I consider it in category table) = depreciation
amount (purchased amount of item in item table) - depreciation = value of items depreciation (in first year)
I want to bring it to new field of item table as well as create a graph with it.