From TwoWax Hack: "The electrical code will allow SJ cord in raceways under some conditions."
Here is the situation that NEC specifically allows it:
NFPA 70 allows it in Article 400.14 (if I remember the section number correctly) only for above ground raceways in industrial establishments where only qualified personnel service the installation (or words to that effect).
Flexible cords & cables from 400.4 are considered temporary wiring unless they meet an exception in 400.7(A). The only time a flexible cord or cable is allowed as permanent wiring is when it meets an item on the list at 400.7(A) 1-10. Article 368.56 gets involved, too.
400 (A) 8 is where sewage pumps meet an exception.
The flexible cord or cable can't enter the building. It has to stop at a junction box outside. The proper building wire must enter the structure (tthn, thwn. rhhw, NM, MC, etc.). Also, flexible cords & cables can not pass through a wall under any conditions by 400.8.
The sewage ejectors pumps that I've wired, usually 480 v 3-phase, usually come with 4 to 24 conductor Type SOOW or Type W cords preinstalled at the factory. Technically, field wiring the cord is not allowed by the listing agency.
SJEW, SJOW can be seen on 120 volt sump & fountain pumps. And, they are attached via cord & plug.
There are many more types of Table 400.4 cords that will be allowed, but are not typically used in this application.
Commonly sold SJ, SJEO, SJE, SO, SOO are not allowed for submersible pumps, as are not many other 400.4 cords.
Well pumps usually have individual Twisted Pump Cable (TypeTHW) conductors. It's allowed in conduit, using 75-C for de-rating purposes. (I saw a submersible well pump recently with flat cable. It wasn't Type FCC, but I don't remember the designation.)
However...
If the manufacturer provides a product that is listed by an approved testing agency (UL, ETL, etc.), whatever cord is on the assembly, is allowed- outside of the building.
"A sewage pump must be one of those conditions because all of our systems are inspected and I’ve installed them in Ms,Al, Ga and Fl. They all pass inspection."
Technically, it is against NEC to install the cord in a conduit at NFPA 70 Article 400.8(6) except for 400.14 situations and 368.56(B) if I remember the article numbers correctly. (I don't refer to the code often these days & don't inspect any more, so I tend to forget the article number stuff that I learned during 45+ years in the field.)
I have successfully argued with AJHs and project engineers many, many times that the wiring from the control box (on the outside of the building) down the wall to a trench, then to the ejector pump far from the building is far more protected in conduit than if it were to be directly buried on its way to the pit. The same holds true for monitor wiring for underground high voltage splice vaults. Simply size the conduit correctly per conductor fill requirements to avoid de-rating. I also install a warning ribbon along the conduit's length in the trench about 10" above it.
I have never installed cord from a control box on the building down the wall of the building without protection, either conduit or at least half-sleeve channel, citing 400.8. One must simply size the conduit to meet the conductor fill requirements for that particular raceway.