Our collective forum sympathies go out to you....the dreaded black tank accident.
I do not know your coach since I own an older ACE but is this the style of waste valve system you have? If yes, it is likely a Lasalle Bristol manufacture and are still available. I beleive that the end pieces should be ABS glued to their respective feed points (grey and black) while the pieces around the blade valve bodies I "believe" are moveable to allow easy replacement (bolting in) of new blade valve bodies when replacing damaged or worn ones. For sure the outside ports shown in the picture should have at least a glued ABS nipple. On my 2013 ACE I believe the grey tank feed is hard glued to the Lasalle Bristol unit but on the black tank side there is a nipple glued to the Lasalle Bristol 3" port but then Thor used a flexible (rubber) coupling between the black tank outlet and the 3" ABS nipple. Probably allowed them to more easily insert it all into the space and align it to the floor outlet hole in the waste cubby.
__________________
|