Planning of the industrial enterprise