Topic: couple of queries regarding 'Process Depreciation'
I am using FA 2.4.6 and trying to understand the 'Fixed Assets' module.
Followed instructions from wiki and set Categories, classes etc and then added Assets with 'Fixed Assets Purchases'.
When I clicked on 'Process Depreciation', I did not get the Fixed Assets items which I wanted to process. I enabled debugging to identify the issue. Now my queries are
1. In the 'Process Depreciation' page, I think, the 'Select an item' dropdown items comes from db_has_depreciable_fixed_assets function. In that function, items are filtered with till and from depreciation dates with 'depreciation_date < '".$y."-12-01' AND depreciation_date >= '".($y-1)."-12-01'") i.e. Month December. Only items with depreciation date between previous years December to this December (based on the active financial year from the setup) will be selected. For us in India, financial year starts from 1st April and ends on 31st March, so in that case shouldn't it be the month of March instead of December.
2. Assets are depreciated for number of years like 5 years, 10 years, etc. Now, if I have an item with a depreciation date in the year 2016, how can I process depreciation for that item for current financial year, because with our SQL query, only items with depreciation date falling in active financial year will be available to process. I am sure I am getting someting wrong here. Please help me out.