I'm framing up an office inside a warehouse using 2x4 lumber. There is a framed wall against an existing side wall of the warehouse. Along the existing wall is conduit and two boxes with receptacles. I was going to remove the entire thing, but one of these boxes is also a junction box that leads to the lighting. I need to remove at least one of the boxes (because it's in the way of a stud), and so I'd like to run new wire through the new framed wall (NM).
However, I'm not sure how to transition (any of) the wiring from the panel at the back wall (which will not have a new framed wall around it) to the new framed walls.
The run to the lighting connects here:
Here you can see where the conduit continues to the panel, and the box that needs to be removed. I need to build a last framed wall section in that corner, but the conduit is in the way (I don't want to notch the studs, particularly the last stud).
How can I run NM through the studs and properly transition to connect to the panel?
Note: as I understand it, I can't have receptacles in the wall like that, so I'll be removing it and replacing the junction box with a cover. But it's still not accessible once drywalled, so I'm not sure if that's to code or not.