I have an electrical panel that has three flexible cables entering in from the top of the panel. I told the department that I thought it was a violation of NEC code. I have found the listed references.

Are there any other codes that would apply?, or is this a ligitmate way of tying into the panel.

400-3 Suitability
Flexible cords and cables and their associated fittings shall be suitable for the conditions of use and location

400-8(1) Uses Not Permitted
Unless specifically permitted in Section 400-7, flexible cords and cables shall not be used for the following:
(1) As a substitute for the fixed wiring of a structure

400-7(b) Uses Permitted
(b) Attachment Plugs. Where used as permitted is subsections (a)(3), (a)(6) and (a)(8), each flexible cord shall be equipped with an attachment plug and shall be energized from a receptacle outlet.