Search Results for

    Show / Hide Table of Contents

    Class GetGLRollup

    A helper class for executing the system default GetGLRollup query

    See https://help.lemonedge.com/getglrollup-sql-wrapper/ for more information.

    Inheritance
    object
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>
    SQLWrapperExecuter<IGLRollupInfo>
    GetGLRollup
    Inherited Members
    SQLWrapperExecuter<IGLRollupInfo>.Execute(CancellationToken)
    SQLWrapperExecuter<IGLRollupInfo>.ExecuteCount()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>._sqlWrapperName
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>._sqlWrapperID
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>._sqlWrapper
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>._params
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.GetWrapper()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.ClearParameters()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.AddParameters(IReadOnlyDictionary<string, string>)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.AddParameter<V>(string, V)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.AddParameter(string, bool)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.AddParameter<V>(string, V?)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.AddAsOfDate(DateTimeOffset)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.AddCanvasID(Guid)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.ClearFilter()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.SetFilter(QueryableExecuter<IGLRollupInfo>)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.ParametersAreValid()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.GetFilter()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.GetQueryArgumentsAndFilter()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.Execute(CancellationToken)
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.ExecuteCount()
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.Retriever
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.Cache
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.Parameters
    BaseSQLWrapperExecuter<SQLWrapperExecuter<IGLRollupInfo>, IGLRollupInfo>.Filter
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.FinancialServices.Helpers
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class GetGLRollup : SQLWrapperExecuter<IGLRollupInfo>

    Constructors

    GetGLRollup(IEntityRetriever, IReadOnlyCache)

    Creates a new SQLWrapperExecuter for the GetGLRollup standard SQL Wrapper query

    Declaration
    public GetGLRollup(IEntityRetriever retriever, IReadOnlyCache cache)
    Parameters
    Type Name Description
    IEntityRetriever retriever

    A IEntityRetriever context for querying the LemonEdge platform

    IReadOnlyCache cache

    A local cache

    Fields

    PARAM_GLROLLUP

    The ParameterName for the GLRollupID parameter

    Declaration
    public const string PARAM_GLROLLUP = "@glRollupID"
    Field Value
    Type Description
    string

    PARAM_PERIODEND

    The ParameterName for the PeriodEndID parameter

    Declaration
    public const string PARAM_PERIODEND = "@periodEndID"
    Field Value
    Type Description
    string

    QUERYNAME

    Global name of the SQLWrapper query

    Declaration
    public const string QUERYNAME = "GetGLRollup"
    Field Value
    Type Description
    string

    Methods

    AddGLRollupID(Guid)

    The GL Rollup you want to use to generate the structure of this report against the specified Period End data

    Declaration
    public GetGLRollup AddGLRollupID(Guid glRollupID)
    Parameters
    Type Name Description
    Guid glRollupID

    The gl rollup id to run the GetGLRollup query with

    Returns
    Type Description
    GetGLRollup

    This GetGLRollup instance for chaining commands

    AddPeriodEndID(Guid)

    The period end you want to run this report against

    Declaration
    public GetGLRollup AddPeriodEndID(Guid periodEndID)
    Parameters
    Type Name Description
    Guid periodEndID

    The period end id to run the GetGLRollup query with

    Returns
    Type Description
    GetGLRollup

    This GetGLRollup instance for chaining commands

    Execute(IEntityRetriever, IReadOnlyCache, Guid, Guid, QueryableExecuter<IGLRollupInfo>)

    Executes the GetGLRollup system SQLWrapper using the specified parameters, and returns the results of the results of that query

    Declaration
    public static Task<IEnumerable<IGLRollupInfo>> Execute(IEntityRetriever retriever, IReadOnlyCache cache, Guid periodEndID, Guid glRollupID, QueryableExecuter<IGLRollupInfo> filter = null)
    Parameters
    Type Name Description
    IEntityRetriever retriever

    A IEntityRetriever context for querying the LemonEdge platform

    IReadOnlyCache cache

    A local cache

    Guid periodEndID

    The period end you want to run this report against

    Guid glRollupID

    The GL Rollup you want to use to generate the structure of this report against the specified Period End data

    QueryableExecuter<IGLRollupInfo> filter

    An optional QueryableExecuter<T> that holds any filtering to apply to the query

    Returns
    Type Description
    Task<IEnumerable<IGLRollupInfo>>

    A task holding the results of executing the GetGLRollup query with the specified parameters

    Execute(Guid, Guid, QueryableExecuter<IGLRollupInfo>)

    Executes the GetGLRollup system SQLWrapper using the specified parameters, and returns the results of the results of that query

    Declaration
    public Task<IEnumerable<IGLRollupInfo>> Execute(Guid periodEndID, Guid glRollupID, QueryableExecuter<IGLRollupInfo> filter = null)
    Parameters
    Type Name Description
    Guid periodEndID

    The period end you want to run this report against

    Guid glRollupID

    The GL Rollup you want to use to generate the structure of this report against the specified Period End data

    QueryableExecuter<IGLRollupInfo> filter

    An optional QueryableExecuter<T> that holds any filtering to apply to the query

    Returns
    Type Description
    Task<IEnumerable<IGLRollupInfo>>

    A task holding the results of executing the GetGLRollup query with the specified parameters

    ParametersAreValid()

    Indicates if the parameters are valid for executing the query

    Declaration
    protected override bool ParametersAreValid()
    Returns
    Type Description
    bool

    True if the parameters contain a value for @periodEndID, and @glRollupID

    Overrides
    LemonEdge.API.Entities.Helpers.BaseSQLWrapperExecuter<LemonEdge.API.Entities.Helpers.SQLWrapperExecuter<LemonEdge.API.Entities.FinancialServices.Transactions.IGLRollupInfo>, LemonEdge.API.Entities.FinancialServices.Transactions.IGLRollupInfo>.ParametersAreValid()

    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.