As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: CLIMBING THROUGH 12000 FT, FLAP IN TRANSIT LIGHT AND ALL ORANGE LIGHTS ON OVERHEAD PANEL ILLUMINATED; DURING LANDING, NO LIGHTS ON FLAPS FOR EITHER IN TRANSIT OR GREEN LIGHT; FLIGHT DECLARED EMERGENCY AND RETURNED TO FIELD. REPLACED FLAPS/SLATS ELECTRONICS UNIT WITH SERVICEABLE UNIT IAW AMM 27-51-01, OPS CHECK GOOD.