Project

General

Profile

Edit Copy Actions

Feature #309

open

Assets Depreciation

Added by Junaid M about 1 year ago. Updated 4 days ago.

Status:
Reopen Bugs Coding Done
Priority:
Normal
Assignee:
Target version:
Start date:
02/14/2024
Due date:
% Done:

70%

Estimated time:
Owner(Agency):
Travvise
Time Taken(HH):
Module:
Assets Depreciation
Tested By:
Code Reviewed By:

Description

Coding Assets Depreciation


Files

clipboard-202412141530-kpkmq.png (134 KB) clipboard-202412141530-kpkmq.png Arathy PS, 12/14/2024 03:31 PM

Add

Subtasks


Add

Related issues

Actions #1

Updated by Junaid M about 1 year ago

  • Assignee changed from travvise Admin to Nithin Raj
Actions #2

Updated by Anonymous 9 months ago

  • Assignee changed from Nithin Raj to travvise Admin

Updated by Anil KV 7 months ago

GUI Change

-> add 'Current Assets Status' column List(Last)
->Month/Quarter/Half-Year dropdown remove
-'Depreciation Period' in admin setting base show/hide(label and Select box also) with dynamic label(Month/Quarter/Half-Year)
->Grouping Default Branch->Assets
->Remove Item Code fronm list(Code::Name thats all)
-> Rename 'Last Depreciation Date' to 'Last Depreciation Period'
-> Rename column - 'Depreciation From Date' to 'Depreciation Start Date'
-> Add 'Purchase Date' column before 'Depreciation Start Date'
-> Add 'No Of Depreciation' column after 'Accu. Depreciation'
-> Rename column - 'Balance' to 'Assets Value'
-> Rename column - 'Net Value' to 'Current Assets Value'

Done.

Workflow

->Sub Year(Month/Quarter/Half-Year) Select box item logic
* Its a common function(fnGetSubYearPeriods) in ts -> input FY_start, FY_end, int_sub_year_type=1(1=Month/6=Half-Year/3=Quarter)
-FY 01/01/2024-31/12/2024 or 01/04/2024-31/03/2025

//-lst_months = [{str_month = 'Jan', int_month=1}, {str_month = 'Feb', int_month=2}..., {str_month = 'Dec', int_month=12}]

-FY_start_month = 01 or 03
-FY_start_year = 2024 or 2024
-FY_end_year = 2024 or 2024

if int_sub_year_type=1
    -lst_loop_items = [1,2,3,4,5,6,7,8,9,10,11,12]
else int_sub_year_type=3
    -lst_loop_items = [1,4,7,10]
else int_sub_year_type=6
    -lst_loop_items = [1,7]

lst_out = []

-year = 0
-month = 0
-Loop index in lst_loop_items 
       // START
       - year = FY_start_year 
       - month = index + (FY_start_month-1)
       -if month > 12
            -year = FY_end_year 
            -month = month -12
       var dat_start = new Date(year , month, 1);

       // END
       - year = FY_start_year 
       - month = index + (FY_start_month-1)  + (int_sub_year_type-1)
       -if month > 12
            -year = FY_end_year 
            -month = month -12
       var dat_end = new Date(year , month + 1, 0);

       // Display string
       var str_display = dat_start - dat_end // Format date

       -lst_out.add([dat_start, dat_end, str_display])

-> Transaction Date is period end date - Bold the value
-> Edit Case hide 'Search' Block
-> Update not allowed but showing document
-> Active(Depreciation Not Started) and Active(Depreciation Started) status assets only search for new Depreciation 
-> in search showing default Current FY
-> Not allowed to Depreciation  previous period pending - (More than one Depreciation  done case)
-> Not allowed to Depreciation  before period (More than one Depreciation  done case)

Actions #4

Updated by Anil KV 7 months ago

  • Status changed from New to Ready for Coding
  • % Done changed from 0 to 20

Updated by Anil KV 7 months ago

Posting

-> Item Wise and Branch and Depart wise split

-if Depreciation Debit Account(Admin Setting) == Accm Dep Ac
Period Edd Date | Expense Ac  | Dr Current Dep -> Assests master or Mapping
Period Edd Date | Accum Dep Ac| Cr Current Dep -> Assests master or Mapping

-if Depreciation Debit Account(Admin Setting) == Assets Ac
Period Edd Date | Expense Ac  | Dr Current Dep -> Assests master or Mapping
Period Edd Date | Assets Ac   | Cr Current Dep -> Assests master

Updated by Anil KV 7 months ago

Calculation

->Yearly Dep = (Purchase Value/Current Value - Admin setting/Asserts Master base) * Dep % /100
-Half Year = Yearly Dep/2
-Quarterly =  Yearly Dep/4
-A Month = Yearly Dep/12
-A Day = A Month/No of days in the month

Actions #7

Updated by Junaid M 6 months ago

  • Assignee changed from travvise Admin to Baseem Shan
Actions #8

Updated by Baseem Shan 6 months ago

  • Status changed from Ready for Coding to Coding Started
  • % Done changed from 20 to 30
Actions #9

Updated by Baseem Shan 5 months ago

  • Status changed from Coding Started to Coding Done
  • % Done changed from 30 to 60
Actions #10

Updated by Arathy PS 4 months ago

  • Status changed from Coding Done to Testing Started

Updated by Arathy PS 4 months ago

  • Status changed from Testing Started to Reopen Bugs
  • % Done changed from 60 to 50

ISSUE FOUND
---------------------------------------
FIXED -- 1. Can't update saved depreciation.
FIXED -- 2. Add an expand/collapse icon.

Actions #12

Updated by Baseem Shan 4 months ago

  • Status changed from Reopen Bugs to Reopen Bugs Coding Done
  • % Done changed from 50 to 70

Updated by Arathy PS 3 months ago

ISSUE FOUND
------------------------------------------
FIXED - 1. Can't save depreciation. (Reason: Procedure was missing.)

Actions #14

Updated by Baseem Shan 3 months ago

  • Status changed from Reopen Bugs to Reopen Bugs Coding Done
  • % Done changed from 50 to 70

Updated by Arathy PS 4 days ago

Set Document Id in Posting

Eg:

mdlTransaction.binDocumentId = mdlReceiptDocument.binDocumentId; // 1st time, Set From Procedure
mdlTransaction.binSubDocId = mdlReceiptDocument.binDocumentId; // 1st time, Set From Procedure

Edit Copy Actions

Also available in: Atom PDF