Search Results for

    Show / Hide Table of Contents

    Class SplitTransactionLine

    Inheritance
    object
    BaseEntity
    SplitTransactionLine
    Implements
    ISplitTransactionLine
    ITransactionalEntity
    ICanBeLocked
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<ISplitTransactionLine>
    Inherited Members
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
    Syntax
    [DataContract]
    public class SplitTransactionLine : BaseEntity, ISplitTransactionLine, ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ISplitTransactionLine>

    Constructors

    SplitTransactionLine()

    Declaration
    public SplitTransactionLine()

    Properties

    AutoInstrument

    Indicates how the system should automatically use or create an instrument if InstrumentID is not separately specified

    Declaration
    [EnumDataType(typeof(SplitTransactionLineNewInstrument))]
    public SplitTransactionLineNewInstrument AutoInstrument { get; set; }
    Property Value
    Type Description
    SplitTransactionLineNewInstrument

    AutoInstrument_Tooltip

    Declaration
    [NotMapped]
    public string AutoInstrument_Tooltip { get; set; }
    Property Value
    Type Description
    string

    CancelledID

    Holds the original transactional entity record this record is cancelling.

    Declaration
    public Guid? CancelledID { get; set; }
    Property Value
    Type Description
    Guid?

    CorrectedByID

    Holds the new transactional entity record this record is corrected by, if any.

    Declaration
    public Guid? CorrectedByID { get; set; }
    Property Value
    Type Description
    Guid?

    EntityID

    Links to IObjectEntity. An optional legal entity this split transaction is being booked against, if null the source transaction entity is used for each split transaction

    Declaration
    public Guid? EntityID { get; set; }
    Property Value
    Type Description
    Guid?

    EntityID_Label

    Declaration
    public string EntityID_Label { get; set; }
    Property Value
    Type Description
    string

    EntityID_Label_Silent

    Declaration
    [NotMapped]
    public string EntityID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    HasRounding

    Indicates when allocating values across split transactions according to their split ratio, that this line should take the remainder from any rounding issues

    Declaration
    public bool HasRounding { get; set; }
    Property Value
    Type Description
    bool

    InstrumentID

    Links to IInstrument. An optional financial instrument this split transaction operates against, if null the source transaction financial instrument is used for each split transaction

    Declaration
    public Guid? InstrumentID { get; set; }
    Property Value
    Type Description
    Guid?

    InstrumentID_Label

    Declaration
    public string InstrumentID_Label { get; set; }
    Property Value
    Type Description
    string

    InstrumentID_Label_Silent

    Declaration
    [NotMapped]
    public string InstrumentID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    Locked

    Indicates the current record is locked and can not be modified until it is unlocked.

    Declaration
    [Required]
    public bool Locked { get; set; }
    Property Value
    Type Description
    bool

    PathID

    Links to IAllocationPath. An optional path this split transaction operates against, if null no path is used and it is dynamically determined from instrument mappings

    Declaration
    public Guid? PathID { get; set; }
    Property Value
    Type Description
    Guid?

    PathID_Label

    Declaration
    public string PathID_Label { get; set; }
    Property Value
    Type Description
    string

    PathID_Label_Silent

    Declaration
    [NotMapped]
    public string PathID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    SplitRatio

    The ratio, or percentage, to use for the values of each split transaction created.

    Declaration
    public decimal SplitRatio { get; set; }
    Property Value
    Type Description
    decimal

    SplitTransactionID

    The parent split transaction

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid SplitTransactionID { get; set; }
    Property Value
    Type Description
    Guid

    SplitTransactionID_Label

    Declaration
    public string SplitTransactionID_Label { get; set; }
    Property Value
    Type Description
    string

    SplitTransactionID_Label_Silent

    Declaration
    [NotMapped]
    public string SplitTransactionID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    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
    [EnumDataType(typeof(TransactionStatus))]
    public TransactionStatus Status { get; set; }
    Property Value
    Type Description
    TransactionStatus

    Status_Tooltip

    Declaration
    [NotMapped]
    public string Status_Tooltip { get; set; }
    Property Value
    Type Description
    string

    TransactionDate

    An optional date to use for the transaction, if null the source transaction date is used instead for each split transaction

    Declaration
    public DateTimeOffset? TransactionDate { get; set; }
    Property Value
    Type Description
    DateTimeOffset?

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(ISplitTransactionLine)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(ISplitTransactionLine source)
    Parameters
    Type Name Description
    ISplitTransactionLine source

    The source object to copy all values from.

    Implements

    ISplitTransactionLine
    ITransactionalEntity
    ICanBeLocked
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<T>

    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.