Search Results for

    Show / Hide Table of Contents

    Interface IBlendingTransaction

    The system entity for a blending transaction, which contains the configuration for creating a blended transaction

    See https://help.lemonedge.com/help/settings/financial-services-processes/blending-transactions/intro.html for more information

    Inherited Members
    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()
    ISetCopier.GetCopyInfo(IEntityUpdater)
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.dll
    Syntax
    [EntityDefinition(EntityID.BlendingTran, "dbo.LT_BlendingTrans", "BlendingTransaction", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/settings/financial-services-processes/blending-transactions/intro.html")]
    [DefaultEntityIcon(ImageType.BlendingTransactionTypes)]
    public interface IBlendingTransaction : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier

    Properties

    Algorithm

    The Algorithm to use for processing this Blending Transaction configuration.

    Algorithms inherit LemonEdge.API.Processors.Transactional.BlendTransactionProcessorExtender

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityDescription("The algorithm for blending transactions and creating new blend transactions.")]
    [Required]
    string Algorithm { get; set; }
    Property Value
    Type Description
    string

    Description

    A user friendly description for this blending transaction

    Declaration
    [EntityProperty(SQLType.NVarChar, 2000, true)]
    [EntityDescription("A user friendly description of this blending transaction.")]
    string Description { get; set; }
    Property Value
    Type Description
    string

    Enabled

    Indicates if this Blending Transaction configuration can be used to process a Blended Transaction.

    Declaration
    [EntityProperty(SQLType.Bit, false)]
    [EntityDescription("Indicates if this blending transaction is enabled for use in the system or not.")]
    bool Enabled { get; set; }
    Property Value
    Type Description
    bool

    HasStartDate

    Indicates that a Blended Transaction will require a Start Date value as well for this algorithm to run

    Declaration
    [EntityProperty(SQLType.Bit, false)]
    [EntityDescription("Indicates if this blending transaction requires the use of a star date.")]
    bool HasStartDate { get; set; }
    Property Value
    Type Description
    bool

    Name

    [Key] The unique user friendly name of this Blending Transaction

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityKeyProperty]
    [EntityDescription("The unique name of this blending transaction.")]
    [Unique]
    [Required]
    string Name { get; set; }
    Property Value
    Type Description
    string

    RepeatDatesEvery

    If using a start date the algorithm will run from the Start to End date.

    If you select to Repeat then it will repeat start/end dates starting from the start date up to the end date by the repeat interval and how often.

    For instance if repeating every month a start/end date of 1 Jan 2020 to 31 Mar 2020 would effectively run the algorithm 3 times, one for each date set of 1 Jan 202 - 31 Jan 2020, 1 Feb 2020 - 28 Feb 2020, and 1 Mar 2020 - 31 Mar 2020.
    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [Required]
    [HardCodedDefaultValueOnNew("0")]
    BlendingTranRepeat RepeatDatesEvery { get; set; }
    Property Value
    Type Description
    BlendingTranRepeat

    RepeatDatesEveryInterval

    Indicates when to repeat dates. If repeat dates it set to months, and this holds 2, then it would be every 2 months.

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [Required]
    [HardCodedDefaultValueOnNew("0")]
    short RepeatDatesEveryInterval { get; set; }
    Property Value
    Type Description
    short

    Rounding

    The default rounding level to use when applying this algorithm

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [Required]
    [HardCodedDefaultValueOnNew("0")]
    RoundingLevel Rounding { get; set; }
    Property Value
    Type Description
    RoundingLevel

    SourceAppliesToInstrumentSetTypeID

    Links to IInstrumentSetType. If the source is Instruments, then this filters the allowable types of Instrument Sets the user can select to just these that match this Instrument Set Type. If left blank then they can select any Instrument Set.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityRelationship(EntityID.InstrumentSetType, "ID", SingleJoinType.ZeroToOne, "Source Applies To Instrument Set", "Blending Transactions As Source", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    [EntityDescription("The source type (empty for all) of instrument sets this blending transaction can work with.")]
    Guid? SourceAppliesToInstrumentSetTypeID { get; set; }
    Property Value
    Type Description
    Guid?

    SourceAppliesToSQLWrapperID

    Links to ISQLWrapper. If the source is SQLWrapper, then this specifies the SQL Wrapper to use when running the blenged transaction.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityRelationship(EntityID.SQLWrapper, "ID", SingleJoinType.ZeroToOne, "SQL Wrapper Source", "Blending Transactions", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    [EntityDescription("The source SQL Wrapper to use.")]
    Guid? SourceAppliesToSQLWrapperID { get; set; }
    Property Value
    Type Description
    Guid?

    SourceAppliesToSQLWrapperParam

    The parameters for running the sql wrapper source

    Declaration
    [EntityProperty(SQLType.VarBinary, true)]
    [EntityDescription("The parameters for running the sql wrapper source.")]
    byte[] SourceAppliesToSQLWrapperParam { get; set; }
    Property Value
    Type Description
    byte[]

    SourceType

    The type of data that is a source for the algorithm: Instruments or Transaction

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [HardCodedDefaultValueOnNew("0")]
    BlendingTranSourceType SourceType { get; set; }
    Property Value
    Type Description
    BlendingTranSourceType

    TargetAppliesToInstrumentSetTypeID

    Links to IInstrumentSetType. If the target is Instruments, then this filters the allowable types of Instrument Sets the user can select to just these that match this Instrument Set Type. If left blank then they can select any Instrument Set.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityRelationship(EntityID.InstrumentSetType, "ID", SingleJoinType.ZeroToOne, "Target Applies To Instrument Set", "Blending Transactions As Target", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    [EntityDescription("The target type (empty for all) of instrument sets this blending transaction can work with.")]
    Guid? TargetAppliesToInstrumentSetTypeID { get; set; }
    Property Value
    Type Description
    Guid?

    TargetType

    The type of data the system uses as a Target to create the new transactions against: Instruments, Source Instruments, Allocate From Rule, Replicate From Rule, Path, or Path Inverted

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [HardCodedDefaultValueOnNew("0")]
    BlendingTranTargetType TargetType { get; set; }
    Property Value
    Type Description
    BlendingTranTargetType

    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)

    See Also

    IBlendingTransactionInstrumentValue
    IBlendingTransactionNewValue
    IBlendingTransactionNewValueAggregate
    IBlendingTransactionNewValueAllocation
    IBlendTransaction
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.