Search Results for

    Show / Hide Table of Contents

    Interface IBlendingTransactionNewValueAggregate

    The system entity for a blending transaction new value aggregator, which contains belongs to the configuration of a blending transaction

    See https://help.lemonedge.com/help/settings/financial-services-processes/blending-transactions/new-value-aggregators.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()
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.dll
    Syntax
    [EntityDefinition(EntityID.BlendingTranNewValueAggregate, "dbo.LT_BlendingTranNewValueAggregates", "BlendingTransactionNewValueAggregate", IsStandingDataEntity = true)]
    [DefaultEntityIcon(ImageType.BlendingTransactionTypes)]
    public interface IBlendingTransactionNewValueAggregate : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    BlendingTranID

    [Key] Links to IBlendingTransaction. The parent blending transaction this belongs to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityKeyProperty]
    [EntityRelationship(EntityID.BlendingTran, "ID", SingleJoinType.One, "Blending Transaction", "Blending Transaction New Value Aggregates", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
    [RequiredNoDefaultIDValidation]
    Guid BlendingTranID { get; set; }
    Property Value
    Type Description
    Guid

    BlendingTransactionNewValueID

    [Key] Links to IBlendingTransactionNewValue. The parent blending trnasaction new value this belongs to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.BlendingTranNewValue, "ID", SingleJoinType.One, "Blending Transaction New Value", "Aggregates", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    [RequiredNoDefaultIDValidation]
    [EntityKeyProperty]
    [EntityDescription("The transaction code to use when creating a new transaction for this blending transaction.")]
    Guid BlendingTransactionNewValueID { get; set; }
    Property Value
    Type Description
    Guid

    FormulaForValue

    The formula to use to get the value for this field.

    Declaration
    [EntityProperty(SQLType.NVarChar, true)]
    [EntityDescription("The formula to use to get the value for this field.")]
    string FormulaForValue { get; set; }
    Property Value
    Type Description
    string

    FromBlendingTranInstrumentValueID

    Links to IBlendingTransactionInstrumentValue. Specifies a previously calculated Value from the algorithm to use to populate this Transaction Type Value on the new Transaction with.

    This is optional if you are specifying a formula instead to calculate the value.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityKeyProperty]
    [EntityRelationship(EntityID.BlendingTranInstrumentValue, "ID", SingleJoinType.ZeroToOne, "Blending Transaction Instrument Value", "New Value Aggregations", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    [EntityDescription("The aggregated instrument transaction values to assign to the parent transaction type value.")]
    Guid? FromBlendingTranInstrumentValueID { get; set; }
    Property Value
    Type Description
    Guid?

    Operator

    Indicates how the specified value (and multiple values of the same type) should be applied to this transaction Type Value

    Declaration
    [EntityProperty(SQLType.SmallInt, false, "1")]
    [Required]
    [HardCodedDefaultValueOnNew("1")]
    MathOperator Operator { get; set; }
    Property Value
    Type Description
    MathOperator

    TransactionTypeValueCurrency

    he currency of the Transaction Type Value that you want to specify the new amount for.

    By default this would be Local, and the Transaction Engine would typically apply the FX Rates to calculate Functional and Reporting.

    However depending on how the Transaction Code is setup you may need to explicitly specify values for Functional and Reporting such as when creating Unrealized FX transactions.
    Declaration
    [EntityProperty(SQLType.SmallInt, false, "0")]
    [EntityDescription("Either local or functional or reporting currency.")]
    [EntityKeyProperty]
    BlendingTranCurrency TransactionTypeValueCurrency { get; set; }
    Property Value
    Type Description
    BlendingTranCurrency

    TransactionTypeValueID

    [Key] Links to ITransactionTypeValue. Indicates the Transaction Type Value on the newly created Transaction that you want to specify an amount for

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, "'00000000-0000-0000-0000-000000000000'")]
    [EntityRelationship(EntityID.TransactionTypeValue, "ID", SingleJoinType.One, "Transaction Type Value", "New Blending Transaction Aggregates", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    [RequiredNoDefaultIDValidation]
    [EntityKeyProperty]
    [EntityDescription("The transaction type value to assign a value to when creating a new transaction for this blending transaction.")]
    Guid TransactionTypeValueID { get; set; }
    Property Value
    Type Description
    Guid

    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

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