Ok...lets go back to what happened at the pump.
1: Did all the dash lights, DIC, Door Chime etc come on as normal..? ( you did mention only "battery" light - pls explain more deeply)
2: Did Engine turn over..?
3: Do you know when was the last time the Fuel filter was changed..?
4: Suggest you put up a Signature file: Yr, make,model, miles, mods etc on your vehicle..it will help all here to help you. ( look in the USERS CP for that)
If one and two are a go...then for sure it is lack of fuel to the rail or
air entrained into the fuel stream. That can be caused by a number of things. Its too bad you dont have the truck with you to check. First thing I would likely have done is to check the bleed screw on the top of the fuel filter to see if it is loose..if it was, you might have gotten air into the system and no amount of cranking will start it...if it was tight, then I'd check to see if the filter itself was loose...ya never know.
Who knows if the previous owner started to use BioD..it
has a tendancy to clean up the whole fuel system but in doing so will completely plug up the fuel filter.! its happened..lots.
Was your tank bone dry..in other words did you run it out of fuel..?? (ergo the previous question on Priming the pump)..the fuel filter head assy (where the filter screws onto - Passenger side of engine bay - near back wall), has a large "button" on it...push it down and you will manually feed fuel into the cp3. This is something that needs to be done when you change out your fuel filter...hopefully, something you do on a regular basis. When you change said filter, put new one on..then open bleed screw a bit to allow any air entrapped to escape -prime a bunch of times...when you hear/see fuel coming out of the bleed screw opening..tighten it down. Start motor. Drive away happy cause you bought a D'Max.!!
you were driving it and all was good...for it to die right there would lead me to think it was something else in the fuel delivery system...could be your cp3. Hmm now I'm curious to know if these trucks have a stock lift pump (brings the fuel from the tank to the cp3), or if those are strictly add-ons and it's the CP3 that pulls the fuel right from the tank to the injectors..? Anyone.?
Anyways, as you note, it's at the dealer. We 're waiting to hear what the issue was.
Be real curious to know.!!