When do you need a pluming inspection

When do you need a pluming inspection?