Been there, done that. I wrote a rather elegant depth-first tree-traversing report generating program that I was rather pleased with for a financial services customer. A week after the new system went live I received a bug report saying that the calculation had been done incorrectly, and...