Click or drag to resize

IScriptingEvents Methods

The IScriptingEvents type exposes the following members.

Methods
  NameDescription
Public methodCode exampleOnAfterCentralUpdate
Called after central update processing is complete, but before the application starts
Public methodCode exampleOnAfterGeneratePrototype
Called after the prototype has been generated
Public methodCode exampleOnAfterReadReplicationFile
Called after a replication file has been read (for each file if multiple files are read in one operation); exactly the given file has been written
Public methodCode exampleOnAfterWriteReplicationFile
Called after a replication file has been written (not if there were no data waiting)
Public methodCode exampleOnAppointmentBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnAppointmentDeleted
Identity is the id of the current object. It's to late to get any information other than the old appointment_id at this time.
Public methodCode exampleOnAppointmentFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodOnArchiveRowSelected
Called when event occurs.
Public methodCode exampleOnBeforeGeneratePrototype
Called before a prototype is generated
Public methodCode exampleOnBeforeLocalUpdate
Called after the user has confirmed his/her intention to go on Travel, but before anything else is done
Public methodCode exampleOnBeforeLocalUpdateShutdown
Called after local update processing is complete, right before shutdown. Not called if the local update failed.
Public methodCode exampleOnBeforeReadReplicationFile
Called before an attempt is made to find/read replication files for the given traveller (called only once, even if multiple files are available); the given path will be scanned for .DWN or .UP files
Public methodCode exampleOnBeforeWriteReplicationFile
Called before a replication file is written, even if it later turns out there are no data to be written; the given path is the destination for the file(s)
Public methodOnChatSessionFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodCode exampleOnContactAfterCopy
Called when a copy operation is performed to create a duplicate. New in Seven.
Public methodCode exampleOnContactAfterMerge
Called when a merge operation is performed to combine two objects. New in Seven.
Public methodCode exampleOnContactBeforeCopy
Called when a copy operation is performed to create a duplicate. New in Seven.
Public methodCode exampleOnContactBeforeDelete
Identity is the id of the current object.
Public methodCode exampleOnContactBeforeMerge
Called when a merge operation is performed to combine two objects. New in Seven.
Public methodCode exampleOnContactDeleted
Identity is the id of the current object.
Public methodCode exampleOnContactFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodCode exampleOnCurrentAppointmentBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentAppointmentCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentAppointmentCompletedChanged
Called when the appointment is about to be saved, and the completed checkbox has changed value since the object was loaded.
Public methodCode exampleOnCurrentAppointmentCreated
Called when a new object is saved for the first time.
Public methodOnCurrentAppointmentDefaults
Called when event occurs.
Public methodCode exampleOnCurrentAppointmentFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentAppointmentIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentAppointmentParticipantListChanged
Called when participants are added or removed from the current appointment. The list of participants is available from the current appointment
Public methodCode exampleOnCurrentAppointmentSaved
Called when an existing object is saved after having been changed.
Public methodOnCurrentChatSessionFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodOnCurrentChatSessionIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentContactAssociateChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodCode exampleOnCurrentContactBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentContactBusinessChanged
Called when the contact is about to be saved, and the business field has changed value since the object was loaded.
Public methodCode exampleOnCurrentContactCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentContactCategoryChanged
Called when the contact is about to be saved, and the category field has changed value since the object was loaded.
Public methodCode exampleOnCurrentContactCreated
Called when a new object is saved for the first time.
Public methodOnCurrentContactDefaults
Called when event occurs.
Public methodCode exampleOnCurrentContactFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentContactIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentContactSaved
Called when an existing object is saved after having been changed.
Public methodOnCurrentDiaryOwnerFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodOnCurrentDiaryOwnerIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentDocumentBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentDocumentCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentDocumentCompletedChanged
Called when the document is about to be saved, and the completed checkbox has changed value since the object was loaded.
Public methodCode exampleOnCurrentDocumentCreated
Called when a new object is saved for the first time.
Public methodOnCurrentDocumentDefaults
Called when event occurs.
Public methodCode exampleOnCurrentDocumentFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentDocumentIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentDocumentSaved
Called when an existing object is saved after having been changed.
Public methodOnCurrentFormFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodOnCurrentFormIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentFormSubmissionFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodOnCurrentFormSubmissionIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentPersonBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentPersonCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentPersonCreated
Called when a new object is saved for the first time.
Public methodOnCurrentPersonDefaults
Called when event occurs.
Public methodCode exampleOnCurrentPersonFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentPersonIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentPersonSaved
Called when an existing object is saved after having been changed.
Public methodOnCurrentPricelistIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentProductIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentProjectBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentProjectCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentProjectCreated
Called when a new object is saved for the first time.
Public methodOnCurrentProjectDefaults
Called when event occurs.
Public methodCode exampleOnCurrentProjectFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentProjectIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentProjectMemberDefaults
Called when event occurs.
Public methodCode exampleOnCurrentProjectMemberIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentProjectSaved
Called when an existing object is saved after having been changed.
Public methodOnCurrentQuoteAlternativeIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentQuoteIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentQuoteLineIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentQuoteVersionIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentRelationBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentRelationCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentRelationCreated
Called when a new object is saved for the first time.
Public methodOnCurrentRelationDefaults
Called when event occurs.
Public methodCode exampleOnCurrentRelationFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentRelationIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentRelationSaved
Called when an existing object is saved after having been changed.
Public methodCode exampleOnCurrentSaleBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentSaleCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentSaleCompletedChanged
Called when the sale is about to be saved, and the completed checkbox has changed value since the object was loaded.
Public methodCode exampleOnCurrentSaleCreated
Called when a new object is saved for the first time.
Public methodOnCurrentSaleDefaults
Called when event occurs.
Public methodCode exampleOnCurrentSaleFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentSaleIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentSaleSaved
Called when an existing object is saved after having been changed.
Public methodCode exampleOnCurrentSaleStageChanged
Called when the sale is about to be saved, and the sale stage field has changed values since the object was loaded New in Seven.
Public methodOnCurrentSaleStakeholderDefaults
Called when event occurs.
Public methodCode exampleOnCurrentSaleStakeholderIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly. New in 7.1
Public methodCode exampleOnCurrentSaleStatusChanged
Called when the sale is about to be saved, and the open/sold/lost status has changed value since the object was loaded.
Public methodCode exampleOnCurrentSaleTypeChanged
Called when the sale is about to be saved, and the saletype field has changed values since the object was loaded New in Seven.
Public methodCode exampleOnCurrentSelectionBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnCurrentSelectionCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnCurrentSelectionCreated
Called when a new object is saved for the first time.
Public methodOnCurrentSelectionDefaults
Called when event occurs.
Public methodCode exampleOnCurrentSelectionFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentSelectionIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodCode exampleOnCurrentSelectionSaved
Called when an existing object is saved after having been changed.
Public methodOnCurrentShipmentFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodOnCurrentShipmentIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnCurrentTicketFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnCurrentTicketIdentityChanged
Called when a new object is selected by the user. Changes may happen indirectly.
Public methodOnDiaryOwnerFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodCode exampleOnDocumentBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnDocumentDeleted
Identity is the id of the current object.
Public methodCode exampleOnDocumentEdit
Document is being opened for editing. Word or Excel or something is about to be launched.
Public methodCode exampleOnDocumentFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodCode exampleOnDocumentOpen
Document is being opened for viewing. Word or Excel or something is about to be launched.
Public methodCode exampleOnDocumentPrint
Document is being printed. Word or Excel or something is about to be launched to print the document.
Public methodOnEditAppointmentClicked
Called when button is clicked.
Public methodOnEditAppointmentComplete
Called when edit mode is completed or cancelled.
Public methodCode exampleOnEditContactClicked
Called when button is clicked.
Public methodCode exampleOnEditContactComplete
Called when the contact panel reverts to view mode, whether by OK or CANCEL
Public methodOnEditDocumentClicked
Called when button is clicked.
Public methodOnEditDocumentComplete
Called when edit mode is completed or cancelled.
Public methodOnEditPersonClicked
Called when button is clicked.
Public methodOnEditPersonComplete
Called when the contact panel reverts to view mode, whether by OK or CANCEL
Public methodCode exampleOnEditProjectClicked
Called when button is clicked.
Public methodCode exampleOnEditProjectComplete
Called when the project panel reverts to view mode, whether by OK or CANCEL
Public methodOnEditSaleClicked
Called when button is clicked.
Public methodOnEditSaleComplete
Called when the project panel reverts to view mode, whether by OK or CANCEL
Public methodCode exampleOnEditSelectionClicked
Called when button is clicked.
Public methodCode exampleOnEditSelectionComplete
Called when the selection panel reverts to view mode, whether by OK or CANCEL
Public methodCode exampleOnExternalUserCreated
Called after the object has been saved.
Public methodCode exampleOnExternalUserSaved
Called after the object has been saved.
Public methodOnFontSizeChanged
Public methodOnFormFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnFormSubmissionBeforeDelete
Identity is the id of the current object.
Public methodOnFormSubmissionDeleted
Identity is the id of the current object.
Public methodOnFormSubmissionFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnLoggedOn
Called when event occurs.
Public methodOnLoggingOff
Logout is about to start.
Public methodCode exampleOnPersonAfterMerge
Called when a merge operation is performed to combine two objects. New in Seven.
Public methodCode exampleOnPersonAfterMove
Called when a move operation is performed to relocate an object. New in Seven.
Public methodCode exampleOnPersonBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnPersonBeforeMerge
Called when a merge operation is performed to combine two objects. New in Seven.
Public methodCode exampleOnPersonBeforeMove
Called when a move operation is performed to relocate an object. New in Seven.
Public methodCode exampleOnPersonDeleted
Identity is the id of the current object.
Public methodCode exampleOnPersonFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodOnPhoneDialed
Called when a phone number *has been* dialed.
Public methodOnPhysicalDocumentOpened
Document is being opened for viewing. Word or Excel or something is about to be launched.
Public methodOnPricelistBeforeDelete
Identity is the id of the current object.
Public methodOnPricelistBeforeSave
Identity is the id of the current object.
Public methodOnPricelistCanceled
Identity is the id of the current object.
Public methodOnPricelistCreated
Called after the object has been saved.
Public methodOnPricelistDeleted
Identity is the id of the current object.
Public methodOnPricelistFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnPricelistSaved
Called after the object has been saved.
Public methodOnProductBeforeDelete
Identity is the id of the current object.
Public methodOnProductBeforeSave
Identity is the id of the current object.
Public methodOnProductCanceled
Identity is the id of the current object.
Public methodOnProductCreated
Called after the object has been saved.
Public methodOnProductDeleted
Identity is the id of the current object.
Public methodOnProductFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnProductSaved
Called after the object has been saved.
Public methodCode exampleOnProjectAfterMerge
Called when a merge operation is performed to combine two objects. New in Seven.
Public methodCode exampleOnProjectBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnProjectBeforeMerge
Called when a merge operation is performed to combine two objects. New in Seven.
Public methodCode exampleOnProjectDeleted
Identity is the id of the current object.
Public methodCode exampleOnProjectFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodCode exampleOnProjectMailmergeTaskClicked
Called when button is clicked.
Public methodCode exampleOnProjectMemberBeforeDelete
Identity is the id of the current object.
Public methodCode exampleOnProjectMemberBeforeSave
Identity is the id of the current object.
Public methodCode exampleOnProjectMemberCanceled
Identity is the id of the current object.
Public methodCode exampleOnProjectMemberCreated
Called after the object has been saved.
Public methodCode exampleOnProjectMemberFieldChanged
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Public methodCode exampleOnProjectMemberFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed. New in Seven.
Public methodCode exampleOnProjectMemberRemoved
Identity is the id of the current object.
Public methodCode exampleOnProjectMemberSaved
Called after the object has been saved.
Public methodOnQuoteAlternativeBeforeDelete
Identity is the id of the current object.
Public methodOnQuoteAlternativeBeforeSave
Identity is the id of the current object.
Public methodOnQuoteAlternativeCanceled
Identity is the id of the current object.
Public methodOnQuoteAlternativeCreated
Called after the object has been saved.
Public methodOnQuoteAlternativeDeleted
Identity is the id of the current object.
Public methodOnQuoteAlternativeFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnQuoteAlternativeSaved
Called after the object has been saved.
Public methodOnQuoteBeforeDelete
Identity is the id of the current object.
Public methodOnQuoteBeforeSave
Identity is the id of the current object.
Public methodOnQuoteCanceled
Identity is the id of the current object.
Public methodOnQuoteCreated
Called after the object has been saved.
Public methodOnQuoteDeleted
Identity is the id of the current object.
Public methodOnQuoteFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnQuoteLineBeforeDelete
Identity is the id of the current object.
Public methodOnQuoteLineBeforeSave
Identity is the id of the current object.
Public methodOnQuoteLineCanceled
Identity is the id of the current object.
Public methodOnQuoteLineCreated
Called after the object has been saved.
Public methodOnQuoteLineDeleted
Identity is the id of the current object.
Public methodOnQuoteLineFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnQuoteLineSaved
Called after the object has been saved.
Public methodOnQuoteSaved
Called after the object has been saved.
Public methodOnQuoteVersionBeforeDelete
Identity is the id of the current object.
Public methodOnQuoteVersionBeforeSave
Identity is the id of the current object.
Public methodOnQuoteVersionCanceled
Identity is the id of the current object.
Public methodOnQuoteVersionCreated
Called after the object has been saved.
Public methodOnQuoteVersionDeleted
Identity is the id of the current object.
Public methodOnQuoteVersionFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnQuoteVersionSaved
Called after the object has been saved.
Public methodCode exampleOnRelationBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnRelationDeleted
Identity is the id of the current object.
Public methodCode exampleOnRelationFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodCode exampleOnSaleBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnSaleDeleted
Identity is the id of the current object.
Public methodCode exampleOnSaleFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed. New in Seven.
Public methodCode exampleOnSaleStakeholderBeforeDelete
Called when event occurs.
Public methodCode exampleOnSaleStakeholderBeforeSave
Called when Save has been triggered, but before anything is saved to the database.
Public methodCode exampleOnSaleStakeholderCanceled
Called when changes to an object are discarded. Values are reset to what is stored in the database.
Public methodCode exampleOnSaleStakeholderCreated
Called after the object has been saved. <!--EndFragment-->
Public methodCode exampleOnSaleStakeholderDeleted
Called when event occurs.
Public methodCode exampleOnSaleStakeholderFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodCode exampleOnSaleStakeholderSaved
Called after the object has been saved.
Public methodCode exampleOnSelectionAddClicked
Called when button is clicked.
Public methodCode exampleOnSelectionAddOneMember
Called when event occurs.
Public methodCode exampleOnSelectionBeforeDelete
Identity is the id of the current object. If you need to update information in external applications based on this entity, this is the time to collect the information you (like identity, name, numbers, any user defined field and so on).
Public methodCode exampleOnSelectionDeleted
Identity is the id of the current object.
Public methodCode exampleOnSelectionEmailTaskClicked
Called when button is clicked.
Public methodCode exampleOnSelectionFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.

New in Seven.

There are new methods to support notification when an entities fields have changed. Today there exists the OnCurrentXxxFieldChanged event, which is raised when on field on an entity has been altered. This has been seen as a chatty method. The new OnXxxFieldsChanged (plural) methods support a single atomic notification when an entity has changed, and gives more context to the actual change. The old methods still exist and can, but are not required to, be disabled through preferences in the SoAdmin client.

In addition to decreasing chatter, the new methods enable greater access to notification in areas there were previously inaccessible, i.e. when an appointment was accepted or rejected.

Public methodCode exampleOnSelectionInterestTaskClicked
Called when button is clicked.
Public methodCode exampleOnSelectionMailMergeDocument
Called for each document created during a mail-merge.
Public methodCode exampleOnSelectionMailMergeEnd
Called when a merge operation is performed to combine two objects.
Public methodCode exampleOnSelectionMailMergeStart
Identity is the id of the current object.
Public methodCode exampleOnSelectionMailmergeTaskClicked
Called when button is clicked.
Public methodCode exampleOnSelectionRemoveClicked
Called when button is clicked.
Public methodCode exampleOnSelectionRemoveOneMember
Called when event occurs.
Public methodCode exampleOnSelectionTodoTaskClicked
Called when button is clicked.
Public methodCode exampleOnSelectionUserTaskClicked
Called when button is clicked.
Public methodOnShipmentFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodCode exampleOnShutdown
Logout is about to start. Called when SuperOffice is closing but before log-off. Specifies what should happen immediately prior to SuperOffice shuts down.
Public methodOnSkinChanged
Public methodCode exampleOnStartup
Fired once login is complete and the SuperOffice GUI is visible.
Public methodCode exampleOnSuggestedAppointmentCompleted
Identity is the id of the current object. New in Seven. Suggested document in a guided sale.
Public methodCode exampleOnSuggestedAppointmentCreateClicked
Called when button is clicked. New in Seven. Suggested appointment in a guided sale.
Public methodCode exampleOnSuggestedDocumentCompleted
Identity is the id of the current object. New in Seven. Suggested document in a guided sale.
Public methodCode exampleOnSuggestedDocumentCreateClicked
Called when button is clicked. New in Seven. Suggested document in a guided sale.
Public methodOnTicketFieldsChanged
Is passed the old and new values for the field. Is called before the save is performed.
Public methodOnUsageStatAdded
Called when event occurs.
Public methodOnViewHidden
Public methodOnViewPreHide
Public methodOnViewPreShow
Public methodOnViewShown
Top
See Also