if (($OptionTypeB = trim($Document->getValue($Document->getCell($Location['Schulart 2'],
                                        $RunY)))) !== ''
                                ) {
                                    if ($OptionTypeB == 'Oberschule') {
                                        $tblOptionTypeB = Type::useService()->getTypeById(8);