01. DATOS GENERALES
Producto | TOTVS Backoffice | ||||||
---|---|---|---|---|---|---|---|
Línea de producto: | Línea Protheus | ||||||
Segmento: | Backoffice | ||||||
Módulo: | SIGAATF | ||||||
Función: |
| ||||||
País: | EUA | ||||||
Ticket: | 14755615 | ||||||
Requisito/Story/Issue (informe el requisito vinculado): | DUSAL-17 |
02. SITUACIÓN/REQUISITO
Incorrect annual depreciation calculation, using parameters MV_CALCDEP = 1 and MV_TIPDEPR = 4. The System calculates the proportional value for only one moth.
03. SOLUCIÓN
Asset depreciation routine (ATFA050):
A change was made in the GetxDepr function to calculate the annual depreciation, considering for the first year of depreciation the period from the month of acquisition to the last month of the year.
- Create a backup of the environment repository (RPO File).
- Apply the corresponding patch to the issue DUSAL-17.
- Validate that the routines included in the patch coincide with that mentioned in the "Function" section of the heading of this Technical Document, as well the dates of the files.
- Check the parameters below:
- MV_CALCDEP = 1
- MV_TIPDEPR = 4
- MV_ULTDEPR (Fixed assets depreciation last calculation date) = '20211231'
- MV_ATFMOED = 1
- Set the database to "07/03/2022".
- In the Fixed Assets module (SIGAATF), go to the Updates | Files | Currencies (MATA090).
- Must set up a rate for currency 1, for all the days of the month on which the depreciation will be made. In this case, it is configured for the whole month of July until December 2022.
- Go to the Updates | Files | Assets Group (ATFA271).
- Configure an asset group.
- Go to the Files | Assets (ATFA012)
- Click "+Add" to register an Asset. Fill in the Assets information and use the asset group above.
- Set the database to "12/31/2022".
- In the Fixed Assets module (SIGAATF), go to the Miscellaneous | Processings | Monthly Calculation (ATFA050).
- The date that is recorded in the parameter (MV_ULDEPR) will be displayed in the main Window. Choose "Questions" and set all questions, after that choose "Execute".
- In the Fixed Assets module (SIGAATF), go to the Reports | Transactions | Valed Position (ATFR070).
- Set the parameters and choose "Print".
- It will be observed in the report that 6 months were considered for the asset with an acquisition date of 03/07/2022 for the calculation of the annual depreciation.
04. INFORMACIÓN ADICIONAL
This solution applies to version 12.1.33 or higher.
IMPORTANT!
05. ASUNTOS RELACIONADOS
- N/A
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas