Search Results for

    Show / Hide Table of Contents

    Interface IPeriodEndProcessor

    The processor responsible for processing a period end operation.

    See https://help.lemonedge.com/period-ends/ for more information.

    Inherited Members
    ITaskProcessor.Init(ITaskRunner, ServerTaskParameter)
    ITaskProcessor.ProcessTask(CancellationToken)
    IBaseDataSetProcessorWithDBSave.ProcessOnDBSave()
    IBaseDataSetProcessorWithDBSave.RollbackChanges()
    IBaseDataSetProcessorWithDBSave.SaveProcessed
    IBaseDataSetProcessorWithDBSave.Order
    IBaseDataSetProcessor.IsChangedItemPartOfDataSet(IBaseEntity)
    IBaseDataSetProcessor.AddToDataSetToProcess(IBaseEntity, EntityOperation)
    IBaseDataSetProcessor.Load()
    IBaseDataSetProcessor.IgnoreEvents
    IBaseDataSetProcessor.Loaded
    IProcessor.Updater
    IProcessor.Cache
    IProcessor.User
    IProcessor.Reporter
    IDisposable.Dispose()
    ILockable.CanWrite(IBaseEntity)
    ILockable.IsLocked(IBaseEntity)
    ILockable.SetLock(IBaseEntity, bool)
    ILockable.CanLock
    Namespace: LemonEdge.API.Core.FinancialServices.Processors.Transactional.PeriodEnd
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public interface IPeriodEndProcessor : ITaskProcessor, IBaseDataSetProcessorWithDBSave, IBaseDataSetProcessor, IProcessor, IDisposable, ILockable

    Properties

    Adjustments

    Any manual adjustment records manually added to the period end, loaded from the PeriodEnd entity for this operation

    Declaration
    IEnumerable<IPeriodEndAdjustment> Adjustments { get; }
    Property Value
    Type Description
    IEnumerable<IPeriodEndAdjustment>

    CapitalAccountDataItems

    All the capital account data item records generated by the process, to burn in all records for this period end for consistent, secure and fast reporting

    Declaration
    IEnumerable<ICapitalAccountDataItem> CapitalAccountDataItems { get; }
    Property Value
    Type Description
    IEnumerable<ICapitalAccountDataItem>

    PeriodEnd

    The root period end record this processor is responsible for

    Declaration
    IPeriodEnd PeriodEnd { get; }
    Property Value
    Type Description
    IPeriodEnd

    Methods

    AddAdjustment(ICapitalAccountDataItem)

    Adds a manual capital account data item to the process linked to an IPeriodEndAdjustment

    Declaration
    void AddAdjustment(ICapitalAccountDataItem adj)
    Parameters
    Type Name Description
    ICapitalAccountDataItem adj

    The capital account data item record to add to the process

    AddAdjustment(IPeriodEndAdjustment)

    Adds an adjustment manually to the processor

    Declaration
    void AddAdjustment(IPeriodEndAdjustment adj)
    Parameters
    Type Name Description
    IPeriodEndAdjustment adj

    The period end adjustment record to add to the process

    CalculateAsync(CancellationToken)

    Calculates the period end process generating all the capital account data item entries

    Declaration
    Task CalculateAsync(CancellationToken token = default)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    Task

    A task indicating the completion of this operation

    RemoveAdjustment(ICapitalAccountDataItem)

    Removes a manually added capital account data item from the processor

    Declaration
    void RemoveAdjustment(ICapitalAccountDataItem adj)
    Parameters
    Type Name Description
    ICapitalAccountDataItem adj

    The capital account data item record to remove from the process

    RemoveAdjustment(IPeriodEndAdjustment)

    Removes an adjustment from the processor

    Declaration
    void RemoveAdjustment(IPeriodEndAdjustment adj)
    Parameters
    Type Name Description
    IPeriodEndAdjustment adj

    The period end adjustment record to remove from the process

    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.