/** * Counts all associated InventoryLocationsAsModifiedBy * @return int */ public function CountInventoryLocationsAsModifiedBy() { if (is_null($this->intUserAccountId)) { return 0; } return InventoryLocation::CountByModifiedBy($this->intUserAccountId); }