Click or drag to resize

DocumentEventValidationState Class

Validation event occurring when internal document event is caught.
Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.General.Documents
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class DocumentEventValidationState : ValidationEvent

The DocumentEventValidationState type exposes the following members.

Constructors
  NameDescription
Public methodDocumentEventValidationState
Initializes a new instance of the DocumentEventValidationState class.
Top
Properties
  NameDescription
Public propertyEventName
Gets the name of the event.
Public propertyExtendedAttributes
Gets the extended attributes. They store temporary custom event handlers data in name/value format.
(Inherited from BusinessEvent.)
Public propertyValidationViolations
Gets the validation violations list.
(Inherited from BusinessEvent.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodGetEventAttributes
Gets the event specific attributes. For example for attribute change event this should be $OldValue, $NewValue etc. Event attributes always start with $.
(Inherited from BusinessEvent.)
Public methodGetEventAttributeValue
Gets the event attribute value.
(Inherited from BusinessEvent.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetViolationsMessage
Gets the concatenated messages of all violations.
(Inherited from BusinessEvent.)
Public methodThrowExceptionIfViolations
Checks for violations. If there are violations, throws an aggregate exception for all violations.
(Inherited from BusinessEvent.)
Public methodToString
Returns a String that represents this instance.
(Inherited from BusinessEvent.)
Top
Remarks
Documents throw and catch internal document events for various reasons. For example, Store Orders throw the "ActualDataChanged" event, which means that a store transaction was processed. Multiple documents might be subscribed and affected by each occurrence of an internal document event. During the occurrence of such event, the documents are validated using this validation state.
See Also