Interface IBlendingTranNewValueAllocation
The system entity for a blending transaction new value allocation, which belongs to the configuration of a blending transaction
See https://web.lemonedge.com/help/blending-transaction-new-value-allocations/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.BlendingTranNewValueAllocation, "dbo.LT_BlendingTranNewValueAllocations", "BlendingTransactionNewValueAllocation", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.BlendingTransactionTypes)]
public interface IBlendingTranNewValueAllocation : 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 Allocations", 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 transaction new value this belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.BlendingTranNewValue, "ID", SingleJoinType.One, "Blending Transaction New Value", "Allocations", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
Guid BlendingTransactionNewValueID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
FromBlendingTranInstrumentValueID
[Key] Links to IBlendingTranInstrumentValue. The Blending Transaction Value that has previously been calculated in the algorithm for each Target Instrument.
The total across all Target Instruments will allow the algorithm to assign proportionally the Transaction total to each new Transaction on the Target Instrument.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.BlendingTranInstrumentValue, "ID", SingleJoinType.One, "Blending Transaction Instrument Value", "New Value Allocations", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The aggregated instrument transaction values to use as allocation ratios for the parent transaction type value.")]
Guid FromBlendingTranInstrumentValueID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Operator
The operator to apply when combining Values together.
Declaration
[EntityProperty(SQLType.SmallInt, false, "1")]
[Required]
[HardCodedDefaultValueOnNew("1")]
MathOperator Operator { get; set; }
Property Value
Type | Description |
---|---|
MathOperator |