Hi Mohd,
I assume you are setting a derivation event for Usage decision in DVC8.
and as per your post, Derviation doesnt work if Stock posting is not done before UD, and so you want to prevent Usage Decision before Stock posting.
There are several threads about this requirement, it can be achieved using status profiles, please Search on the forum.
Also refer
Amol.