Bom baq based on view as assembly in method

This thread has a exploding bom query. I don’t know how to factor in the view as assembly in the CTE.