Class TransactionCodeValue
Inheritance
TransactionCodeValue
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
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
Color
Hex color value to display for this value in the transaction value grid
Declaration
[StringLength(10)]
public string Color { get; set; }
Property Value
Entry
Declaration
[EnumDataType(typeof(TransactionTypeValueEntry))]
public TransactionTypeValueEntry? Entry { get; set; }
Property Value
Entry_Tooltip
Declaration
[NotMapped]
public string Entry_Tooltip { get; set; }
Property Value
Indicates the formula to use to evaluate this local value.
Declaration
public string FunctionalValueFormula { get; set; }
Property Value
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
Declaration
[NotMapped]
public string IncludeInNetFormula_Tooltip { get; set; }
Property Value
Indicates the formula to use to evaluate this local value.
Declaration
public string LocalValueFormula { get; set; }
Property Value
Indicates the formula to use to evaluate this local value.
Declaration
public string ReportingValueFormula { get; set; }
Property Value
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
TransactionCodeID
[Key] Links to ITransactionCode. The parent transaction code this entity is a member of
Declaration
[RequiredNoDefaultIDValidation]
public Guid TransactionCodeID { get; set; }
Property Value
TransactionCodeID_Label
Declaration
public string TransactionCodeID_Label { get; set; }
Property Value
TransactionCodeID_Label_Silent
Declaration
[NotMapped]
public string TransactionCodeID_Label_Silent { get; set; }
Property Value
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
TransactionTypeValueID_Label
Declaration
public string TransactionTypeValueID_Label { get; set; }
Property Value
TransactionTypeValueID_Label_Silent
Declaration
[NotMapped]
public string TransactionTypeValueID_Label_Silent { get; set; }
Property Value
Type
The method in which Users can edit these values.
Declaration
[EnumDataType(typeof(TransactionCodeValueType))]
public TransactionCodeValueType Type { get; set; }
Property Value
Declaration
[NotMapped]
public string Type_Tooltip { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(ITransactionCodeValue)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ITransactionCodeValue source)
Parameters
Implements
Extension Methods