Can i take a section 179 deduction on a vehicle purchased if self employed

I'd like to deduct the entire amount this year to offset the sale of another vehicle, they are not replacement for each other.

Deductions & credits

If you use the vehicle in your business and purchased it in 2016 you can use section 179. It can only be used in the year of purchase.