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 BaseTransactionProcessor provides all the common transaction processing logic based on entities from IHeaderTransactionalEntity and this interface

    Inherited Members
    ICanBeLocked.Locked
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.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.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 logic
    Declaration
    [EntityProperty(SQLType.SmallInt, false)]
    [EntityDescription("Indicates the current status of this transactional object.")]
    TransactionStatus Status { get; set; }
    Property Value
    Type Description
    TransactionStatus

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.