In addition to sidhu16's recommendations, can you gain access to the exciter terminals?
I have an older Briggs genny and if I let it set too long without running, the exciter capacitor fully discharges.
On my unit, you have to remove a small rectangular plate from the generator head that reveals two terminal connections and apply two leads from a 6 volt lantern battery for about five minutes to these terminals (with generator NOT running). The terminals are marked + and -.
After 5 minutes I disconnect the battery and start the genny and it puts out voltage.
This procedure is shown in the owners manual so it must have been a common tick with this particular brand and type.
I don't know if your set is similar, just thought I would throw this out there.
Good luck!
__________________
The first 5 days after a weekend are always the hardest................................
to me i hope his alternator is defective because if the problem is stator battery, the diesel generator will not start. but his case is different it start but no output. so my advise to him is ,he must test first his alternator. good day