The X7299 has the two black leads coming off the device which are to be connected to the hot and switch leg of the local load you wish to control with the switch (it cannot be wired to control the receptacle). You would also tap off the source hot and neutral, to the LINE brass and LINE silver terminals, respectively. From there, you would run a wire off your LOAD brass terminal (which would be carrying voltage at this point) to one of the leads of the single-pole switch. You also need to run a wire off the LOAD silver terminal, and connect it to the rest of the neutral wires that should be tied together in the next box. The remaining lead of the single pole switch would remain connected to the switchleg wire which is running down from the load.
Keep in mind, in this configuration, the overhead fixture that the X7299 controls, is not GFCI-protected. If you wish to protect the load as well, you'd have to wire the switch terminals off the LOAD terminals as well, as indicated in the photo below: