You are all over the place. How long does it take before a dead body emits cadaver odour scent detectable by a dog on surfaces it has come into contact with?
All over the place in your dreams. Why don't you read up on it? A dog can detect the chemicals in body change quickly after death. The decomposition process begins immediately after death.

Surprisingly, some of the gases that make up the whole bouquet of death were actually quite pleasant – including hexanal and butanol. Hexane is associated with the smell of freshly-mown grass and butanol smells of leaf litter and forest floors. These are present in the earliest stages of decomposition and then reappear in the very final stage, known as skeletonisation. In addition, in the first few days after death, these are accompanied by the smell of hexadecanoic acid, which is often said to smell like “old people’s homes”.
Some of the worst smells come somewhere in the middle of the decomposition process. Chemicals released during the bloat stage, which occurs about a week after death (depending on the surrounding conditions), when intestinal bacteria are reproducing uncontrollably and producing vast amounts of farty gases, are more likely to have you reaching for the sick bucket.
http://theconversation.com/the-smell-of-death-its-chemical-pattern-could-become-a-powerful-forensic-tool-47966