Closed glourencoffee closed 2 years ago
Analyzing the CSV file of BPA and DRE statements for the DFP of 2010, I noticed those messages are shown for statements that only have accounts for the last financial year. That is, while some statements have accounts for both the last and the previous financial years, some others only have for the last financial year, which is when the bug occurs.
It is possible that this bug was introduced with the refactoring implemented in commit 5a8c0178ee7d86638a6ea314c06e6bfa2ec172fd.
Although BPA, BPP, DRE, and DFC statements are required by CVM, it seems there are side cases where companies will not report it. Among reasons for not reporting them are (1) having no financial movements in a period and (2) being a new company, and thus having no balances for the last period. This is the case with the following companies for the year of 2011:
the following companies for the year of 2014:
the following companies for the year of 2015:
the following company for the year of 2017:
the following companies for the year of 2018:
In some cases, CSV files have some statements while missing others, whereas the RAD webpage for a company's DFP shows no individual statements at all. It also happens for a company to have a statement filled with zero balances, while missing other statements. For example, in the year of 2018, "GP INVESTMENTS, LTD." reported an individual BPP filled with zeros, but reported no individual BPA.
Although this bug has been fixed, messages "missing BPA" or "missing BPP" may still occur in cases when a company does not have a balance sheet of the previous year (such as for being a new company), as explained in the previous comment.
Another hidden bug fixed on this issue is that consolidated statements were being ignored if individual statements failed to be read. This is not the case anymore: if individual statements fail to be read, consolidated statements can still be read, and vice-versa.
Description
Reading DFP/ITR documents shows many failure messages of missing BPA and DRE statements.
Steps to reproduce
cvm.dfpitr_reader()
Expected behavior
There should be no missing BPA or DRE, since these statements are required by CVM.
Actual behavior
Reading the DFP/2010 in a simple program that prints company names and versions results in the following messages being shown: