Importante
Esta funcionalidad ya no se tiene en el sistema.
This report presents the Income Statement updated by the National Consumer Price Index (INPC).
Data are presented in columns, one for each month of the fiscal year. Both update factor and month factor can be viewed in this report.
Report details:
Example of userfunction to update amounts of the Income Statement.
Local aArea:={}
Local nx:=1
Local aAreaAt:=GetArea()
aArea:= cArqTmp->(GetArea())
DbSelectArea(cArqTmp)
DbSeek(Conta) // Enter here account to be updated.
For nX:= 1 to Len(aFatorAtu)
cCampo:= "COLUNA"+Alltrim(str(nX))
cCampo := cCampo * aFatorAtu[nx][2]
Next
cArqTmp->(RestArea(aArea))
RestArea(aAreaAt)
Return()
Enter the name of userfunction created in the field Formula.
This function accesses the temporary file generated by the report routine. Indexes available in array aFatorAtu (update factors) are applied to such values; the first element is INPC rate of the month, and second element is INPC rate of the month divided by the previous month rate, resulting in the average of rates.
a) Create a function like the correction function.
b) Use function SALDO= and enter value of previous period.
The row Net Assets of the Month is automatically created when the report is finished. Thus, you do not have to include it in the management view.
Note: Considering that a fiscal year goes from the 1st to the 12th month of the year: The system base date is compared with fiscal year base date so that the report is issued with values updated in the income statement. Therefore, considering that base date is the 2nd month of the year, when you print this report, all income columns are presented up to the 12th month (final date of the fiscal year). However, if the system base date if before the fiscal year final date, the report presents only columns up to the base date month. |
Example of management view:
Order | Row | Management Entity | Higher Entity | Description | Normal | Class | Initial account | Final account | Identification | Formula | RdMake |
0000000010 | 001 | ACMON | POSM | MONETARY ASSETS | Debit | A | 21201 | 21201 | Addition | ||
0000000020 | 001 | PASMON | POSM | MONETARY ASSETS | Debit | A | 21101 | 21101 | Subtraction | ||
0000000030 | 001 | POSM | Monetary position | Debit | S | Grand total | |||||
0000000040 | 001 | PMM | Month monetary position | Debit | A | 21001 | 21001 | Sum | Texto=F273ATU("M","POSM") | Function to update value (month, origin account) | |
0000000050 | 001 | PMC | Monetary position of the closing | Debit | A | 21001 | 21001 | Sum | Texto=F273ATU("C","POSM") | Function to update value (closing, origin account) |
Procedures
See Also