Can't explain your local codes. In northern VA, for residential construction the underslab groundworks and domestic waste and vent (interior) can all be PVC - this is routine.
In commerical construction, the domestic waste and vent (DMV) may or may not be PVC. If the heating system uses a ducted return, then PVC can be used. If a plenum ceiling is used, then all materials in the plenum must be rated for this, and PVC is not - so plenum ceiling applications will use iron or copper DMV. PVC can be used in partitions that a drywalled both sides but must transition to plenum rated materials in the plenum. This has to do with smoke being generated during a fire and being distributed by the HVAC.