It depends. At the tracing centre they try to go back as far as they can with regard to a firearm—right back, if they can, to the manufacturer, to the distributor. If it's an American firearm...distribution in the U.S. If it went from a retailer in the U.S. they go all the way up into possibly how it entered Canada, if it entered legally, if it was distributed from the retailer in Canada possibly to owners.
I would say, and I think I said it previously, that the process can be complex depending on how far you are able to go back and trace.