I will assume that the charging line from the truck will feed directly to the battery. Since you have 12 volts when connected to the truck that means the positive power feed from the battery to the fuse panel is good. Not sure how the ground connection is made. It may have a cable feed the battery or it may just connect to ground as soon as it enters your rig.
You will need a simple voltmeter to be able to troubleshoot the loss of your 12 volts. Hard to believe the dealer can't find the problem as loss of power should be very easy to find.
Anyway, here are some things to check:
1. Is there a battery disconnect switch that accidentally got pushed?
2. Is the battery any good. Check across the battery when the truck is not connected.
3. Is the ground cable connection good at the battery? The ground cable will go from the battery negative terminal to chassis ground. The connection to the frame needs to be clean and tight.
Your solar will most likely be connected to the battery to charge it. If the battery is good it appears you have lost the connection between the battery and the fuse panel. Since the truck voltage makes it OK the most obvious way to lose the 12 volts would be the battery ground connection.
These are the thoughts off the top of my head. Good luck!