---
title: "CreateTermMarkExamResult (Opus Funktion)"
---
[TOC]

#### Beschreibung

Creates a single term mark exam result record for the given person, result template, exam and term period.

#### Argumente

<table style="table-layout: fixed; width: 100%;"><colgroup><col style="width: 13.0%"><col style="width: 5.6%"><col style="width: 81.4%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>ResultTemplateID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>ID of the result template to use for the new result</p></td></tr><tr><td><p>AddressRoleID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>ID of the person (address role) for whom the result is created</p></td></tr><tr><td><p>ClassIDs</p></td><td><p>[<a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a>]</p></td><td><p>Liste der Klassen, für welche die Erfahrungsnoten zählen sollen.</p></td></tr><tr><td><p>ExamIDs</p></td><td><p>[<a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a>]</p></td><td><p>ID of the exam this term mark result belongs to</p></td></tr><tr><td><p>Quartal</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>quarter number (1–4) within the semester; defaults to 1</p></td></tr><tr><td><p>Semester</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>semester number within the school year; defaults to 1</p></td></tr></table>

#### Rückgabewert [integer](../../standard-datentypen/integer.md)

ID of the newly created result record, or 0 on failure

#### Beispiel

|  |
| --- |

#### Siehe auch

---
