Search Results for

    Show / Hide Table of Contents

    Interface ITransactionalEntity

    Indicates this entity is a transaction entity, and can be cancelled/corrected by our core transaction processing logic.

    The API.Processors.Transactional.BaseTransactionProcessor provides all the common transaction processing logic based on entities from IHeaderTransactionalEntity and this interface

    Inherited Members
    ICanBeLocked.Locked
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(object)
    ICloneableAsync.CopyFromSource(object)
    ICanTrackProperties.HasTrackedPropertyChanged(string)
    ICanTrackProperties.OriginalTrackedPropertyValue(string)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(string)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.dll
    Syntax
    [DBTrackChanges]
    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", PreventAutoConstraint = true)]
    Guid? CancelledID { get; set; }
    Property Value
    Type Description
    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
    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 logic
    Declaration
    [EntityProperty(SQLType.SmallInt, false)]
    [EntityDescription("Indicates the current status of this transactional object.")]
    [DBTrackChanges]
    TransactionStatus Status { get; set; }
    Property Value
    Type Description
    TransactionStatus

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.