Search Results for

    Show / Hide Table of Contents

    Class TransactionCodeAllocateToTransaction

    Inheritance
    object
    BaseEntity
    TransactionCodeAllocateToTransaction
    Implements
    ITransactionCodeAllocateToTransaction
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<ITransactionCodeAllocateToTransaction>
    Inherited Members
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
    Syntax
    [DataContract]
    public class TransactionCodeAllocateToTransaction : BaseEntity, ITransactionCodeAllocateToTransaction, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ITransactionCodeAllocateToTransaction>

    Constructors

    TransactionCodeAllocateToTransaction()

    Declaration
    public TransactionCodeAllocateToTransaction()

    Properties

    AllowUIEditing

    Indicates if the user should be allowed to edit the generated transaction via the UI. Useful for automated offsets in the same batch to prevent the user modifying them.

    Declaration
    public bool AllowUIEditing { get; set; }
    Property Value
    Type Description
    bool

    AutomaticSubTransaction

    Indicates if the offset should automatically be generated as a sub-transaction or not. Requires the transaction code to allow sub transactions.

    Declaration
    [DatabasePropertyValidation("MyItem.AutomaticSubTransaction != LemonEdge.API.Entities.FinancialServices.Transactions.TransactionCodeOffsetType.None", "await LemonEdge.API.Entities.FinancialServices.Transactions.TransactionCodeOffsetValidate.AllowsSubTransactions(MyItem, Data)", "Offsets can only be automatic if the transaction code allows sub transactions.")]
    [EnumDataType(typeof(TransactionCodeOffsetType))]
    public TransactionCodeOffsetType AutomaticSubTransaction { get; set; }
    Property Value
    Type Description
    TransactionCodeOffsetType

    AutomaticSubTransaction_Tooltip

    Declaration
    [NotMapped]
    public string AutomaticSubTransaction_Tooltip { get; set; }
    Property Value
    Type Description
    string

    CreateTransactionForEachAllocation

    Indicates a transaction should be created for each allocation

    Declaration
    public bool CreateTransactionForEachAllocation { get; set; }
    Property Value
    Type Description
    bool

    FormulaForAllocationGuard

    A formula that returns true or false indicating if an offset should be created for the allocation

    Declaration
    public string FormulaForAllocationGuard { get; set; }
    Property Value
    Type Description
    string

    FormulaForAutomaticSubTransactionGuard

    A formula that returns true or false indicating if an offset should be automatically created as a sub-transaction when the AutomaticSubTransaction type of this offset is not None

    Declaration
    public string FormulaForAutomaticSubTransactionGuard { get; set; }
    Property Value
    Type Description
    string

    FormulaForCounterpartyID

    This is the formula to use to get the counterparty id for the offset transaction

    Declaration
    public string FormulaForCounterpartyID { get; set; }
    Property Value
    Type Description
    string

    FormulaForEntityID

    This is the formula to use to get the entity id for the offset transaction

    Declaration
    public string FormulaForEntityID { get; set; }
    Property Value
    Type Description
    string

    FormulaForInstrumentID

    This is the formula to use to get the instrument id for the offset transaction

    Declaration
    public string FormulaForInstrumentID { get; set; }
    Property Value
    Type Description
    string

    FormulaForLedgerID

    This is the formula to use to get the ledger id for the offset transaction. The hardcoded Ledger option for an offset takes precedence over this - leave null for this to be evaluated.

    Declaration
    public string FormulaForLedgerID { get; set; }
    Property Value
    Type Description
    string

    FormulaForLocalCurrencyOverride

    A formula that returns the id of a local currency to use for the offset instead of the current local currency. The Transaction Code must be setup to allow local currency override for this to work.

    Declaration
    public string FormulaForLocalCurrencyOverride { get; set; }
    Property Value
    Type Description
    string

    FormulaForOriginalEntityID

    A formula that returns the id of the original entity to use for the offset instead of the source original entity. The Transaction Code must be setup to allow original entity override for this to work.

    Declaration
    public string FormulaForOriginalEntityID { get; set; }
    Property Value
    Type Description
    string

    FormulaForOriginalInstrumentID

    A formula that returns the id of an original instrument to use for the offset instead of the source original instrument. The Transaction Code must be setup to allow original instrument override for this to work.

    Declaration
    public string FormulaForOriginalInstrumentID { get; set; }
    Property Value
    Type Description
    string

    FormulaForPathID

    This is the formula to use to get the entity id for the offset transaction

    Declaration
    public string FormulaForPathID { get; set; }
    Property Value
    Type Description
    string

    FormulaForProcessingPostCreation

    A formula for processing the final offset transaction after it is created from the offset process

    Declaration
    public string FormulaForProcessingPostCreation { get; set; }
    Property Value
    Type Description
    string

    FormulaForRelatedEntityID

    This is the formula to use to get the related entity id for the offset transaction

    Declaration
    public string FormulaForRelatedEntityID { get; set; }
    Property Value
    Type Description
    string

    FormulaForTransactionDate

    This is the formula to use to get the transaction date for the offset transaction

    Declaration
    public string FormulaForTransactionDate { get; set; }
    Property Value
    Type Description
    string

    FormulaForUnderlyingEntityID

    This is the formula to use to get the underlying entity id for the offset transaction

    Declaration
    public string FormulaForUnderlyingEntityID { get; set; }
    Property Value
    Type Description
    string

    LedgerID

    Links to ILedger. The ledger to use when creating a new transaction for this transaction, if null it uses the ledger setup in the transaction code or the one specified through the Ledger Formula.

    Declaration
    public Guid? LedgerID { get; set; }
    Property Value
    Type Description
    Guid?

    LedgerID_Label

    Declaration
    public string LedgerID_Label { get; set; }
    Property Value
    Type Description
    string

    LedgerID_Label_Silent

    Declaration
    [NotMapped]
    public string LedgerID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    Name

    Declaration
    [RequiredNoDefaultIDValidation]
    [StringLength(500)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    TargetTransactionCodeID

    [Key] Links to ITransactionCode. The target transaction code to create a transaction with

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid TargetTransactionCodeID { get; set; }
    Property Value
    Type Description
    Guid

    TargetTransactionCodeID_Label

    Declaration
    public string TargetTransactionCodeID_Label { get; set; }
    Property Value
    Type Description
    string

    TargetTransactionCodeID_Label_Silent

    Declaration
    [NotMapped]
    public string TargetTransactionCodeID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    TransactionCodeID

    [Key] Links to ITransactionCode. The parent transaction code this processor is a member of

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid TransactionCodeID { get; set; }
    Property Value
    Type Description
    Guid

    TransactionCodeID_Label

    Declaration
    public string TransactionCodeID_Label { get; set; }
    Property Value
    Type Description
    string

    TransactionCodeID_Label_Silent

    Declaration
    [NotMapped]
    public string TransactionCodeID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    TransactionFields

    Fields to be offset during the transaction too

    Declaration
    [EnumDataType(typeof(OffsetFields))]
    public OffsetFields TransactionFields { get; set; }
    Property Value
    Type Description
    OffsetFields

    TransactionFields_Tooltip

    Declaration
    [NotMapped]
    public string TransactionFields_Tooltip { get; set; }
    Property Value
    Type Description
    string

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(ITransactionCodeAllocateToTransaction)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(ITransactionCodeAllocateToTransaction source)
    Parameters
    Type Name Description
    ITransactionCodeAllocateToTransaction source

    The source object to copy all values from.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ITransactionCodeAllocateToTransaction
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<T>

    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)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.