How staad RCDC provide BOQ quantities of beams slabs?

How does staad RCDC gives Boq quantities of beams and slabs. Does it deduct slab concrete when it calculates beams Concrete or does it deduct beams concrete when it calculates slab concrte.

Because beams and slabs are cast monolithically and there is a common portion of concrete between beams and slabs.