Interface ITransactionCodeValue
The system entity for a transaction code value, whcih specifies which values should be tracked by this transaction
See https://web.lemonedge.com/help/transaction-code-values/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.TransactionCodeValue, "dbo.LT_TransactionCodeValues", "TransactionCodeValue", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.TransactionValue)]
public interface ITransactionCodeValue : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
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
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if any configured gl entries against this type value should be automatically created or not on a transaction using this transaction code.")]
bool AllowValueAutoGL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FunctionalValueFormula
Indicates the formula to use to evaluate this local value.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("Indicates the formula to use to evaluate this local value.")]
string FunctionalValueFormula { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LocalValueFormula
Indicates the formula to use to evaluate this local value.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("Indicates the formula to use to evaluate this local value.")]
string LocalValueFormula { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReportingValueFormula
Indicates the formula to use to evaluate this local value.
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("Indicates the formula to use to evaluate this local value.")]
string ReportingValueFormula { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Sequence
The sequence this vlue is to be show in
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntitySequence((short)1)]
[EntityDescription("The sequence this vlue is to be show in")]
short Sequence { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
TransactionCodeID
[Key] Links to ITransactionCode. The parent transaction code this entity is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.TransactionCode, "ID", SingleJoinType.One, "TransactionCode", "ITransactionCodeValue", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[EntityDescription("Indicates the transaction code this value is to be a part of.")]
Guid TransactionCodeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TransactionTypeValueID
[Key] Links to ITransactionTypeValue. The Transaction Type Value that you want Transactions using this Transaction Code to be able to record
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.TransactionTypeValue, "ID", SingleJoinType.One, "TransactionTypeValue", "ITransactionCodeValue", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false)]
Guid TransactionTypeValueID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Type
The method in which Users can edit these values.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("Indicates how the value is entered/calculated.")]
TransactionCodeValueType Type { get; set; }
Property Value
Type | Description |
---|---|
TransactionCodeValueType |