Hi Santiago,
Sorry, my first answer was obviously out of scope…
However, I am afraid your question is not understandable as it is. At least not to me. Could you elaborate more on what you are expecting here ?
If this is analytical accounting, you need a different approach such as using projetcs to gather related costs.
If you want to evaluate costs of goods, this is not the purpose of financial accounting, but rather managerial accounting, which to my knowledge is out of the scope of this module. Maybe modules were written for that, but a quick search does not pope anything relevant. You should first write down the rules you need to account for to properly estimate the cost of goods, then confront to available features in Dolibarr to implement these rules. Maybe it is simple sql query (you have tools for that), maybe you need extra fields, custom functions, etc.
Regards,
Marc