Class BudgetAccountingBiz
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
public class BudgetAccountingBiz : BizObjectOfType<BudgetAccountingVO>, IPnp, ISDKBiz, ISDKBaseBiz, ISDKContextAwareness, ITypedWS<BudgetAccountingVO>
- Inheritance
-
BudgetAccountingBiz
Constructors
BudgetAccountingBiz()
public BudgetAccountingBiz()
BudgetAccountingBiz(ContextVO)
public BudgetAccountingBiz(ContextVO contextItem)
Parameters
Properties
entityDataManager
public BudgetAccountingDataManager entityDataManager { get; }
Property Value
- BudgetAccountingDataManager
Methods
AddBudgetAccountings(BudgetAccountingVO, List<BudgetAccountingVO>, bool, int, int, string, string, decimal)
public PHCResult AddBudgetAccountings(BudgetAccountingVO item, List<BudgetAccountingVO> budgetaccountings, bool neednewline, int periodbegin, int periodend, string accountidbegin, string accountidend, decimal percentage)
Parameters
Returns
- PHCResult
AddValueBudgetAccounting(BudgetAccountingVO, BudgetAddValueType, decimal, decimal, int, int, string, string)
public PHCResult AddValueBudgetAccounting(BudgetAccountingVO item, BudgetAccountingBiz.BudgetAddValueType budgetaddvaluetype, decimal percentage, decimal value, int periodbegin, int periodend, string accountidbegin, string accountidend)
Parameters
Returns
- PHCResult
AddValueBudgetAccountingLines(List<BudgetAccountingLineVO>, BudgetAddValueType, decimal, decimal, int, int, string, string)
public void AddValueBudgetAccountingLines(List<BudgetAccountingLineVO> lines, BudgetAccountingBiz.BudgetAddValueType budgetaddvaluetype, decimal percentage, decimal value, int periodbegin, int periodend, string accountidbegin, string accountidend)
Parameters
CopyFromAccountingMovementsOrphansLines(ref BudgetAccountingVO, List<BudgetAccountingLineVO>, List<string>)
public List<MessageVO> CopyFromAccountingMovementsOrphansLines(ref BudgetAccountingVO target, List<BudgetAccountingLineVO> sourceOrphansLines, List<string> targetFieldsToCopy)
Parameters
Returns
- List<MessageVO>
CopyMonthsToLine(BudgetAccountingLineVO, BudgetAccountingLineVO, int, int)
public void CopyMonthsToLine(BudgetAccountingLineVO tochange, BudgetAccountingLineVO from, int periodbegin, int periodend)
Parameters
CopyOrphansLinesToDocument(BudgetAccountingVO, List<BudgetAccountingLineVO>, List<string>)
public List<MessageVO> CopyOrphansLinesToDocument(BudgetAccountingVO itemFo, List<BudgetAccountingLineVO> orphanslines, List<string> targetFieldsToCopy)
Parameters
Returns
- List<MessageVO>
CopyPCSAToBudgetAccountings(BudgetAccountingVO, int, int, int, string, string, decimal)
public PHCResult CopyPCSAToBudgetAccountings(BudgetAccountingVO item, int year, int periodbegin, int periodend, string accountidbegin, string accountidend, decimal percentage)
Parameters
Returns
- PHCResult
GetAllBudgetAccounting(string)
public List<BudgetAccountingVO> GetAllBudgetAccounting(string searchTerm)
Parameters
| Nome |
Tipo |
Descrição |
searchTerm |
string |
|
Returns
- List<BudgetAccountingVO>
GetDataManager()
public override BizDataManagerOfType<BudgetAccountingVO> GetDataManager()
Returns
- BizDataManagerOfType<BudgetAccountingVO>
onAdding(BudgetAccountingVO, bool)
public override List<MessageVO> onAdding(BudgetAccountingVO itemVO, bool duplicating)
Parameters
Returns
- List<MessageVO>
onDuplicating(BudgetAccountingVO)
public override List<MessageVO> onDuplicating(BudgetAccountingVO itemVO)
Parameters
Returns
- List<MessageVO>
onSave(BudgetAccountingVO, bool)
public override List<MessageVO> onSave(BudgetAccountingVO budgetaccountingRow, bool runWarningRules)
Parameters
Returns
- List<MessageVO>
RecalculateCreditorDebit(BudgetAccountingLineVO)
public void RecalculateCreditorDebit(BudgetAccountingLineVO item)
Parameters
SyncOnChange(BudgetAccountingVO, List<EntityChangeOperation>)
public override List<MessageVO> SyncOnChange(BudgetAccountingVO masterVO, List<EntityChangeOperation> changedItems)
Parameters
Returns
- List<MessageVO>
SyncOnDelete(BudgetAccountingVO, List<EntityChangeOperation>)
public override List<MessageVO> SyncOnDelete(BudgetAccountingVO masterVO, List<EntityChangeOperation> changedItems)
Parameters
Returns
- List<MessageVO>
cleanLines(BudgetAccountingVO)
public PHCResult cleanLines(BudgetAccountingVO item)
Parameters
Returns
- PHCResult
copyLinesToBudget(BudgetAccountingVO, List<BudgetAccountingLineVO>, bool, int, int, string, string, decimal)
public void copyLinesToBudget(BudgetAccountingVO item, List<BudgetAccountingLineVO> lines, bool neednewline, int periodbegin, int periodend, string accountidbegin, string accountidend, decimal percentage)
Parameters
setValueBudgetAccounting(BudgetAccountingLineVO, string, BudgetAddValueType, decimal, decimal)
public void setValueBudgetAccounting(BudgetAccountingLineVO line, string month, BudgetAccountingBiz.BudgetAddValueType budgetaddvaluetype, decimal percentage, decimal value)
Parameters