Need help to location the source code of a data source in an existing Magento project
Our company has an eCommerce website developed by the contractor. The website is based on Magento 2, with customizations, e.g., reporting.
The staff, we, are developing a data warehouse with automatic reporting as a cross check side-by-side with the customized reports in Magento.
For straightforward use cases, the Magento database contains the information directly as a table column, therefore, we built an ETL (extract-transform-load) to fetch the data into the data warehouse and report the information directly.
In the more complicated use cases, the Magento report contains a column computed from other data, therefore we need to figure out the logic to build a cross check in the data warehouse. Because we do not have direct access to the contractor, so the best start is to read the source code ourselves.
For example, in one of the concerned Magento reports, we found the below indicator: