Zum Inhalt

AddPersonArticleToLesson (Opus Funktion)

Beschreibung

Mit dieser Funktion, kann man einen Personenartikel einer Lektion hinzufügen. Adds a resource booking (person article) to an existing lesson record and returns its ID.

Argumente

Name

Typ

Beschreibung

LessonID

Integer

ID of the lesson to attach the resource booking to

StockItemID

Integer

ID of the stock item (resource) to book

StockItemQuantity

Float

quantity of the resource to book

AddressRoleID

Integer

ID of the address role associated with the booking

CompanyID

Integer

ID of the company associated with the booking

SeminarCenterID

Integer

ID of the seminar center associated with the booking

Unique

Integer

1 = only create if no identical booking already exists for this lesson

Rückgabewertinteger

Anzahl der hinzugefügten Personenartikel ID of the newly created or existing person article linked to the lesson

Beispiel

xxx

Siehe auch