Conditions for the existence of solutions of the three-dimensional planar transportation problem