I can see why that would be something worth doing in a food chain. To trace, for example, a particular load of soy beans to a customer eating a steak, there are a couple of completely autonomous companies/sole proprietors involved. From the original soy farmer, through feed production (maybe multiple factories because the soy is processed and later mixed with other ingredients), feed distributors and transporters, to the cattle farm. Again the individual animal can change hands multiple times, for example a bull calf can be fed soy based milk exchangers at a dairy farm where it was born, then be sold to a farm that raises it to market (with pigs there can be three different farmers from piglet to market maturity), then to the slaughterhouse, the meat goes to food processors and then into a distribution channel.
Easily a dozen or two separate legal entities. I can see why it could be hard to connect each of them to a central database reliably may be tricky.