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
Inherited Members
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 |