Click or drag to resize

clsTrainingCourseHandshakeResult Properties

The clsTrainingCourseHandshakeResult type exposes the following members.

Properties
  NameDescription
Public propertyCompanyID
Based on the training course, the course is linked to a company (SBO database). This number can be used to individualize the landing page look and feel.
Public propertyDemoNewsletterToken

This is used only for demo and test databases. On live databases (by license key), this property is always empty.

It will have the newsletter token used for the email regonizing process. This token is normally used in the email send out to the entered email. There the user will click on the hyperlink with the token.

To simulate the hyperlink this property will show this token. The demo token is already URL encoded.

Public propertyErrorCode
0=no error
Public propertyErrorText
Error text from the internal routine
Public propertyLanguageCode
Language code de-DE, en-US to modify the landing page. Only set, when the input via TOKEN gives an indication about a user and the default language.
Public propertyListOfParticipants
list of Participants registered by the applicant. clsTrainingcoursHandshakeRequestParticipant
Public propertyNewsletterTopics
List of selected or selectable newsletter topics. Ordered by the local order in the settings. See clsNewsletterTopic for details.
Public propertyParticipantAddress
Output: Postal Address of the participant (main billing address of the company)
Public propertyParticipantBusinessPartnerEmail
Output: Linked Business Partner OCRD.Emaill
Public propertyParticipantBusinessPartnerName
Output: Linked Business Partner. OCRD.CardName
Public propertyParticipantCellular
Output: Mobile Number. Recipient/Participant. Cellular MPTrainingParticipant.Cellular / OCPR.Cellolar / MPPersonenstamm.Mobiltelefon
Public propertyParticipantCode
Output: Internal Code of the participant. ParticipantNumber MPTrainingParticipant.ParticipantNumber
Public propertyParticipantEMail
Output: participants email
Public propertyParticipantFax
Output: Recipient/Participant. Telefax MPTrainingParticipant.Notes2 / OCPR.Fax / MPPersonenstamm.Telefax
Public propertyParticipantFirstName
Output: Recipient/Participant first name. FirstName MPTrainingParticipant.FirstName / OCPR.FirstName / MPPersonenstamm.Vorname
Public propertyParticipantLastName
Output: Last Name. LastName MPTrainingParticipant.LastName / OCPR.LastName / MPPersonenstamm.Nachname
Public propertyParticipantMiddleName
Output: Recipient/Participant middle name. MiddleName MPTrainingParticipant.MiddleName / OCPR.MiddleName / MPPersonenstamm.Vorname2
Public propertyParticipantName
Output: Name of the participant. Matchcode. MPTrainingParticipant.Matchcode / OCPR.Name / MPPersonenstamm.Matchcode
Public propertyParticipantPhone
Output: Recipient/Participant. Phone MPTrainingParticipant.Phone / OCPR.Tel1 / MPPersonenstamm.Telefon
Public propertyParticipantPhone2
Output: Recipient/Participant. Notes1 MPTrainingParticipant.Notes1 / OCPR.Tel2 / MPPersonenstamm.TelefonPrivat
Public propertyParticipantPosition
Output: Recipient/Participant. Position MPTrainingParticipant.Position / OCPR.Position / MPPersonenstamm.Position
Public propertyParticipantProfession
Output: Recipient/Participant. Profession MPTrainingParticipant.Profession / OCPR.Profession / MPPersonenstamm.Beruf
Public propertyParticipantSalutation
Output: specific salutation or generic one.Salutation2 MPTrainingParticipant.Salutation2 / OCPR.[Field defined in company settings] / MPPersonenstamm.Ansprache
Public propertyParticipantTitle
Output: Recipient/Participant Title. A0Salutation MPTrainingParticipant.A0Anrede / OCPR.Title / MPPersonenstamm.Anrede
Public propertyParticipantType
Output: 1=ContactPerson, 33=Employee, 438=FreeParticipant. ParticipantType MPTrainingParticipant.ParticipantType
Public propertyRegistrationArrivalComment
Input/Output: free text as additional information (100 Chars). Notes MPTrainingRegistration.Notes
Public propertyRegistrationArrivalInformation
Input/Output: free text as additional information (100 Chars). ArrivalInformation. MPTrainingRegistration.ArrivalInformation
Public propertyRegistrationArrivalTime
Input/Output: When will the participant arrive. Can be only time or date and time. ArrivalDate MPTrainingRegistration.ArrivalDate
Public propertyRegistrationDate
Output: Date of the last registration update. RegistrationDate
Public propertyRegistrationID
Output: internal registration ID. RegistrationID MPTrainingRegistration.RegistrationID
Public propertyRegistrationSelectedBillingPositions
List of selected billing positions (Quantity is the indicator) (only for TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfBillingPosition or TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfOptionsAndBillingPositions

Contains a list of billing options. See clsTrainingCourseHandshakeBillingOptions for details.

Public propertyRegistrationSelectedOptions
List of selected options in the regsitration (only for TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfOptions or TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfOptionsAndBillingPositions)

Contains the clsKeyPair.sKeyInternal = Internal Option ID and the clsKeyPair.sMatchcode=Option Name

Public propertyRegistrationStatus
Output: Status of the current registration, if already any. RegistrationStatus
Public propertyRequestBusinessPartnerCode
Output: Linked Business Partner. OCRD.CardCode
Public propertyTrainingCourseDocNum
WorkItemDocNum INT (4) Visible ID based on Number Series. Will be created automatically by defined number series (not unique over all WorkItemTypes)
Public propertyTrainingCourseEndDateTime
Datetime (8) End of Task with hh:mm
Public propertyTrainingCourseID
Internal TaskID INT (4) Unique ID (via MPTAN). Not visible to the users.
Public propertyTrainingCourseMaxParticipants
Definition of the maximum participant (may be shown in the registration screen)
Public propertyTrainingCourseMinParticipants
Definition of the minimum participant (may be shown in the registration screen)
Public propertyTrainingCourseName
NVARCHAR (50) Name of the trainings course
Public propertyTrainingCourseNumberOfParticipantsPerStatus
Each registration status with the number of participants who have this status.
Public propertyTrainingCourseNumberRegistrations
Number of already registered participants. may be used to show "Full" Deprecated use TrainingCourseNumberOfParticipantsPerStatus instead.
Public propertyTrainingCourseOptionsBillingPosSelectionMode
Setting in the training course to enable a selection of options and or selection of billing positions. (Use from version 5.6)
Public propertyTrainingCourseRegistrationProcess
BackofficeRegistration = 1 ByInvitation = 2 ByUserSelfRegistration = 3 ByPublicViaUserCreation = 4 FreeRegistration = 5
Public propertyTrainingCourseSelectableBillingPositions
List of selectable billing positions (booking options) (only for TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfBillingPosition or TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfOptionsAndBillingPositions

Contains a list of billing options. See clsTrainingCourseHandshakeBillingOptions for details.

Public propertyTrainingCourseSelectableOptions
List of selectable options (only for TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfOptions or TrainingCourseOptionsBillingPosSelectionMode=eOptionsBillingPosSelectionMode.SelectionOfOptionsAndBillingPositions)

Contains the clsKeyPair.sKeyInternal = Internal Phase ID and the clsKeyPair.sMatchcode=Phase Name

Public propertyTrainingCourseStartDateTime
Datetime (8) Start of task with hh:mm
Public propertyTrainingCourseStatus
Status ID. Running Events does have = Request = 1 Active = 2 FinishedReadyToInvoice = 3 Finalized = 4
Public propertyTrainingCourseVisibilityMode
Will this event be visible for public users InternalUse = 1 UserByAuthorization = 2 UserByProperties = 3 PublicEvent = 4
Top
See Also