Interface IBlendingTranNewValueAggregate
The system entity for a blending transaction new value aggregator, which contains belongs to the configuration of a blending transaction
See https://web.lemonedge.com/help/blending-transaction-new-value-aggregates/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.BlendingTranNewValueAggregate, "dbo.LT_BlendingTranNewValueAggregates", "BlendingTransactionNewValueAggregate", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.BlendingTransactionTypes)]
public interface IBlendingTranNewValueAggregate : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
BlendingTranID
[Key] Links to IBlendingTran. The parent blending transaction this belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.BlendingTran, "ID", SingleJoinType.One, "Blending Transaction", "Blending Transaction New Value Aggregates", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid BlendingTranID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
BlendingTransactionNewValueID
[Key] Links to IBlendingTranNewValue. 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)]
[EntityDescription("The transaction code to use when creating a new transaction for this blending transaction.")]
Guid BlendingTransactionNewValueID { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
FromBlendingTranInstrumentValueID
Links to IBlendingTranInstrumentValue. 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)]
[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 |
---|---|
System.Nullable<System.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.")]
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 Transactions", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[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 |
---|---|
System.Guid |