Interface IBlendingTranNewValue
The system entity for a blending transaction new value, which contains belongs to the configuration of a blending transaction
See https://web.lemonedge.com/help/blending-transaction-new-values/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.BlendingTranNewValue, "dbo.LT_BlendingTranNewValues", "BlendingTransactionNewValue", IsStandingDataEntity = true, LabelColumn = "Name")]
[DefaultEntityIcon(ImageType.BlendingTransactionTypes)]
public interface IBlendingTranNewValue : 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 Values", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid BlendingTranID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
FormulaForEntityID
When using a SQL Wrapper as the source, this is the formula to use to get the entity id for this field.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("When using a SQL Wrapper as the source, this is the formula to use to get the entity id for this field.")]
string FormulaForEntityID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FormulaForInstrumentID
When using a SQL Wrapper as the source, this is the formula to use to get the instrument id for this field.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("When using a SQL Wrapper as the source, this is the formula to use to get the instrument id for this field.")]
string FormulaForInstrumentID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FormulaForPathID
When using a SQL Wrapper as the source, this is the formula to use to get the path id for this field.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("When using a SQL Wrapper as the source, this is the formula to use to get the path id for this field.")]
string FormulaForPathID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FormulaForTransactionDate
When using a SQL Wrapper as the source, this is the formula to use to get the transaction date for this field.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("When using a SQL Wrapper as the source, this is the formula to use to get the transaction date for this field.")]
string FormulaForTransactionDate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LedgerID
Links to ILedger. The Ledger to use for recording this new Transaction against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Ledger, "ID", SingleJoinType.ZeroToOne, "ILedger", "New Blending Transactions", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The ledger to use when creating a new transaction for this blending transaction, if null it uses the ledger setup in the transaction code.")]
Guid? LedgerID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Name
[Key] The name for this new transaction. This will be included in the description text of each new transaction the algorithm creates of this type.
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false, "''")]
[EntityDescription("The unique name of these blending transaction to be created.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TransactionCodeID
Links to ITransactionCode. The Transaction Code to create this new Transaction with. All the custom logic and rules of this Transaction Code will be processed and applied as normal when creating the Transaction.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.TransactionCode, "ID", SingleJoinType.ZeroToOne, "ITransactionCode", "New Blending Transactions", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The transaction code to use when creating a new transaction for this blending transaction. If none uses the source transaction transaction code")]
Guid? TransactionCodeID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |