Search Results for

    Show / Hide Table of Contents

    Class TransactionCodeValue

    Inheritance
    object
    BaseEntity
    TransactionCodeValue
    Implements
    ITransactionCodeValue
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<ITransactionCodeValue>
    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.ToString()
    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 TransactionCodeValue : BaseEntity, ITransactionCodeValue, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ITransactionCodeValue>

    Constructors

    TransactionCodeValue()

    Declaration
    public TransactionCodeValue()

    Properties

    AllowValueAutoGL

    Indicates that if this Transaction Type Value has any GL Entries configured to be automatically created against it that these should be created by the Transaction.

    By default this is true to say any GL Postings configured for this Value should be created against the Transaction.You can override this to False to indicate the only GL Postings you want to be created are the ones directly configured against this Transaction Code itself

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

    CalculateFX

    Indicates if the system should back into an fx rate (from the transaction type value entry setup) calculated from this local,func,reporting amounts
    If the entry is local,func,reporting it will always try to do that unless this is set to false. If the entry is just local or functional or reporting then it won't back into any rate anyway

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

    Color

    Hex color value to display for this value in the transaction value grid

    Declaration
    [StringLength(10)]
    public string Color { get; set; }
    Property Value
    Type Description
    string

    Entry

    Declaration
    [EnumDataType(typeof(TransactionTypeValueEntry))]
    public TransactionTypeValueEntry? Entry { get; set; }
    Property Value
    Type Description
    TransactionTypeValueEntry?

    Entry_Tooltip

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

    FunctionalValueFormula

    Indicates the formula to use to evaluate this local value.

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

    IncludeInNetFormula

    Indicates this value should be included in the contribution to the net amount values for the transaction as a whole

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

    IncludeInNetFormula_Tooltip

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

    LocalValueFormula

    Indicates the formula to use to evaluate this local value.

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

    ReportingValueFormula

    Indicates the formula to use to evaluate this local value.

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

    Sequence

    The sequence this vlue is to be show in

    Declaration
    [PropertyValidation("true", "MyItem.Sequence<= 20", "You can only have a max of 20 transaction code values against a transaction code. Try changing the sequence values if they are out of order.")]
    public short Sequence { get; set; }
    Property Value
    Type Description
    short

    TransactionCodeID

    [Key] Links to ITransactionCode. The parent transaction code this entity 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

    TransactionTypeValueID

    [Key] Links to ITransactionTypeValue. The Transaction Type Value that you want Transactions using this Transaction Code to be able to record

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

    TransactionTypeValueID_Label

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

    TransactionTypeValueID_Label_Silent

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

    Type

    The method in which Users can edit these values.

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

    Type_Tooltip

    Declaration
    [NotMapped]
    public string Type_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(ITransactionCodeValue)

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

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

    The source object to copy all values from.

    Implements

    ITransactionCodeValue
    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.