i agree also this would work. i also wonder why the inspector raised a red flag.? here in ontario i believe i was told that a furnace is supposed to be hard wired with a shut off switch near the door to the furnace room. (or the escape route in case of an emergendy)
if your furnace did not come with a flexible cord (like a lamp or toaster) you are by code supposed to use NM cable to hook it to your electrical panel. Also i believe you need a switch near a stairway or door exit from yoru furnace room that can shut the fuel supply to the furnace off in case of emergency. (have read this on another forum) What you propose to do is likley safe and connecting to both the panel and the generator is not likley to happen, it is still likley, by code, illegal
that being said, there is a lot of safe but not legal things go on in private homes...no electician i know will come on this or any other forum and say it is ok to do
i have done some things i know were not legal by code to do, but when i was done they all passed inspection. (unhooked a service in my old garage..built a new garage, and had to dig up the service and move the underground cable to reach the new garage panel..all this live)