This outdoor installation presents us with two misapplications of electrical equipment. The box is not rated for use in an outdoor wet location and the flexible cord can’t be used in place of fixed wiring methods. Both applications are in violation of the 2017 National Electrical Code (NEC).