Class GlPostingPathSplitUpdater
Updates Gl Posting path split property if needed. Path splits for Gl Postings are optional as usually they match Transaction path splits. If Gl Posting Path split is the same as Transaction patch split then the gl postings record will not be created or if it exists it will be deleted
Implements
Inherited Members
Namespace: LemonEdge.API.Core.FinancialServices.Helpers.PathSplit
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
public class GlPostingPathSplitUpdater : IGlPostingPathSplitUpdater
Constructors
GlPostingPathSplitUpdater(IEntityUpdater, IPathSplitIdProvider, UserInfo)
Declaration
public GlPostingPathSplitUpdater(IEntityUpdater entityUpdater, IPathSplitIdProvider pathSplitIdProvider, UserInfo userInfo)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | entityUpdater | |
IPathSplitIdProvider | pathSplitIdProvider | |
UserInfo | userInfo |
Methods
UpdatePathSplits(IGLPosting, ITransactionPathSplit, IAllocationPath, bool)
Calculates path split for Gl Posting and if needed saves/updates/removes a record.
Declaration
public Task UpdatePathSplits(IGLPosting glPosting, ITransactionPathSplit transactionPathSplit, IAllocationPath allocationPath, bool save)
Parameters
Type | Name | Description |
---|---|---|
IGLPosting | glPosting | Gl Posting for which to update path split |
ITransactionPathSplit | transactionPathSplit | Root transaction path split |
IAllocationPath | allocationPath | Allocation path that the gl posting belongs to |
bool | save | if true any changes will be saved otherwise they will be logged only |
Returns
Type | Description |
---|---|
Task |