Search Results for

    Show / Hide Table of Contents

    Interface IAllocationAmount

    The system entity for allocation amounts modules, which belong to an allocation rule

    See https://web.lemonedge.com/help/allocation-amounts-view/ for more information

    Inherited Members
    ICanBeTransfered.TransferID
    ICanBeTransfered.TransferedOriginalItemID
    ICanBeTransfered.EntityID
    ICanBeTransfered.EffectiveDate
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    Namespace: LemonEdge.API.Entities
    Assembly: API.dll
    Syntax
    [EntityDefinition(EntityID.AllocationAmount, "dbo.LT_AllocationAmounts", "AllocationAmount", IsStandingDataEntity = false)]
    [DefaultEntityIcon(ImageType.AmountAllocation)]
    public interface IAllocationAmount : ICanBeTransfered, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    AllocationRuleID

    [Key] Links to IAllocationRule. The parent rule this amount belongs to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.AllocationRule, "ID", SingleJoinType.One, "AllocationAmount", "AllocationRule", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
    Guid AllocationRuleID { get; set; }
    Property Value
    Type Description
    System.Guid

    Amount

    The amount to be used to allocate to this entity

    Declaration
    [EntityProperty(SQLType.Decimal, (short)31, (short)18, false)]
    [Required]
    [EntityDescription("Indicates the amount to allocate to this entity. Overall this is converted into a percentage for allocating transactions.")]
    [UpdateOnTransfer(TransferUpdateType.AutoTransfer)]
    decimal Amount { get; set; }
    Property Value
    Type Description
    System.Decimal

    AmountB

    An alternative amount to be used to allocate to this entity

    Declaration
    [EntityProperty(SQLType.Decimal, (short)31, (short)18, false)]
    [Required]
    [EntityDescription("A secondary allocation mechanism. Can be used for specific transaction allocations or custom processes.")]
    [UpdateOnTransfer(TransferUpdateType.AutoTransfer)]
    decimal AmountB { get; set; }
    Property Value
    Type Description
    System.Decimal

    Timing

    Indicates if the allocation amount is effective from the start or end of day.

    Declaration
    [EntityProperty(SQLType.SmallInt, false)]
    [Required]
    [EntityDescription("Indicates if the allocation amount is effective from the start or end of day.")]
    AllocationTiming Timing { get; set; }
    Property Value
    Type Description
    AllocationTiming

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    IAllocationRule
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.