Interface ITransactionalEntity
Indicates this entity is a transaction entity, and can be cancelled/corrected by our core transaction processing logic.
The BaseTransactionProcessor provides all the common transaction processing logic based on entities from IHeaderTransactionalEntity and this interface
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Core
Assembly: API.dll
Syntax
public interface ITransactionalEntity : ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CancelledID
Holds the original transactional entity record this record is cancelling.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityDescription("Holds the original transactional entity record this record is cancelling.")]
[EntitySelfRelationship("ID", SingleJoinType.ZeroToOne, "Cancelled Transaction", "Cancelled Transactions")]
Guid? CancelledID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CorrectedByID
Holds the new transactional entity record this record is corrected by, if any.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityDescription("Holds the new transactional entity record this record is corrected by, if any.")]
[EntitySelfRelationship("ID", SingleJoinType.ZeroToOne, "Correcting Transaction", "Cancelled Transactions", PreventAutoConstraint = true)]
Guid? CorrectedByID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Status
Indicates the current status of this transactional object.
By default GL entries aren't processed until an entity has a status >= Committed.
Finalazied transactions can only be modified through cancel/correct logicDeclaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("Indicates the current status of this transactional object.")]
TransactionStatus Status { get; set; }
Property Value
Type | Description |
---|---|
TransactionStatus |