If you go to setup-> accounting-> accounting...
# general
k
If you go to setup-> accounting-> accounting preferences on the "order management" subtab there's a preference for expenses on purchases