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