Interface ITransactionAggregatorOn
The system entity for a transaction aggregator on, which defines a single value to be included in the parent ITransactionAggregator
See https://web.lemonedge.com/help/transaction-aggregator-on/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.TransactionAggregatorOn, "dbo.LT_TransactionAggregatorOn", "TransactionAggregatorOn", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.TransactionSigma)]
public interface ITransactionAggregatorOn : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
GLAccountID
[Key] Indicates that the amounts of all GL Postings against the Transactions that have this GL Account should be included.
If this is blank then Transaction Type Value must have a value.Both can't be blank, you must be aggregating a value.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.ZeroToOne, "GL Account", "Transaction Aggregation", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The gl account value to aggregate for all matching transactions. You must have a value or gl account.")]
Guid? GLAccountID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Operator
Indicates how you would like to aggregate the values together: Add, or Subtract
Declaration
[EntityProperty(SQLType.SmallInt, false, "1")]
[Required]
[HardCodedDefaultValueOnNew("1")]
MathOperator Operator { get; set; }
Property Value
Type | Description |
---|---|
MathOperator |
TransactionAggregatorID
[Key] Links to ITransactionAggregator. The parent transaction aggregator this record is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.TransactionAggregator, "ID", SingleJoinType.One, "Parent Aggregator", "Aggregating On", DeleteWithRelationship = false, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid TransactionAggregatorID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TransactionTypeValueID
[Key] Indicates this value against a Transaction should be included where it is available.
If this is blank then GL Account must have a value. Both can not be blank, you must be aggregating a value.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.TransactionTypeValue, "ID", SingleJoinType.ZeroToOne, "Transaction Type Value", "Transaction Aggregation", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The transaction type value to aggregate for all matching transactions. You must have a value or gl account.")]
Guid? TransactionTypeValueID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |