Search Results for

    Show / Hide Table of Contents

    Class TransactionViewHelper

    A helper class for an implementation of a ILayoutGenerator that has child transactions

    This includes view visibility formulas to make sure the allocations sub views are only visible when the transaction is configured that way

    Inheritance
    System.Object
    TransactionViewHelper
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views.DefaultLayouts
    Assembly: ClientCore.dll
    Syntax
    public class TransactionViewHelper

    Constructors

    TransactionViewHelper(EntityDescriptor)

    Creates a new transaction view helper for the specified entity type with child transactions

    Declaration
    public TransactionViewHelper(EntityDescriptor desc)
    Parameters
    Type Name Description
    EntityDescriptor desc

    The specified entity type that has child transaction views

    Properties

    HeaderTransactionsControllerName

    The name of the controller that holds header transactions only

    Declaration
    public string HeaderTransactionsControllerName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    AddDefaultTransactionViews(LayoutDescriptorGroup, LayoutDescriptorGroup)

    Adds the transaction view, values view, allocations, gl posting, and gl posting allocations views to the specified group within a layout

    The parent transaction view is related to the parent entity descriptor these transactions all have as a parent

    Declaration
    public void AddDefaultTransactionViews(LayoutDescriptorGroup topGroup, LayoutDescriptorGroup bottomGroup)
    Parameters
    Type Name Description
    LayoutDescriptorGroup topGroup

    The top group within the owning layout the header transactions should be added to

    LayoutDescriptorGroup bottomGroup

    The larger bottom group that holds the values, allocations, gl postings and gl posting allocations views within the owning layout

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.