Click or drag to resize

SerialNumberConstraintM, D Class

Contains constraints, which are enforced for serial number attributes.
Inheritance Hierarchy
SystemObject
  Aloe.EnterpriseOne.Model.Logistics.CoreSerialNumberConstraintM, D

Namespace:  Aloe.EnterpriseOne.Model.Logistics.Core
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class SerialNumberConstraint<M, D> : IBusinessRule
where M : DomainObject
where D : DomainObject

Type Parameters

M
The type of the master object.
D
The type of the detail object. The serial number attribute belongs to detail object.

The SerialNumberConstraintM, D type exposes the following members.

Constructors
  NameDescription
Public methodSerialNumberConstraintM, D
Initializes a new instance of the SerialNumberConstraintM, D class.
Top
Properties
  NameDescription
Public propertyCode
Gets the unique constraint code.
Public propertyDefaultExecutionPriority
Gets the default execution priority of the rule. It is used when priority is not specified when registering the rule for events.
Public propertyEnforceSerialization
Gets a value indicating whether to enforce the serialization.
Public propertyExecuteForDeletedObject
Gets a value indicating whether to execute the rule for deleted object.
Public propertyLocalizedName
Gets the localized name of the constraint.
Public propertyName
Gets the constraint name.
Top
Methods
  NameDescription
Public methodActivate
Activates the constraint.
Public methodExecute
Executes the business rule on the specified object.
Public methodOnRegistration
Called upon registration of the business rule in a repository.
Top
Remarks
Used in a situation where a master object contains several detail objects which provide product, quantity and serial number.
See Also