Class AccountingFormulaResult
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
public class AccountingFormulaResult
- Inheritance
-
AccountingFormulaResult
Properties
public string Code { get; }
Property Value
- string
Context
public AccountingFormulasContext Context { get; }
Property Value
- AccountingFormulasContext
public int Decimals { get; }
Property Value
- int
public ConcurrentDictionary<string, object> DependenciesFormulas { get; }
Property Value
- ConcurrentDictionary<string, object>
public string Description { get; }
Property Value
- string
public bool HasValue { get; }
Property Value
- bool
public string Id { get; }
Property Value
- string
public List<IAccountingOperationResult> Operations { get; }
Property Value
- List<IAccountingOperationResult>
public bool UserCanChange { get; }
Property Value
- bool
public decimal Value { get; set; }
Property Value
- decimal
protected bool ValueChanged { get; }
Property Value
- bool
Methods
public FormulaHelpVO GetDetail()
Returns
- FormulaHelpVO
public IEnumerable<IAccountingOperationResult> GetLastOperations()
Returns
- IEnumerable<IAccountingOperationResult>
public void MustRecalculate(bool onlyDependencies = false)
Parameters
| Nome |
Tipo |
Descrição |
onlyDependencies |
bool |
|
public void ResetValueChanged()
public bool SetValue(decimal newValue)
Parameters
| Nome |
Tipo |
Descrição |
newValue |
decimal |
|
Returns
- bool
Value changed by the user. To calculate the original value again must call ResetValue()
public IEnumerable<AccountingFormulaResult> SetValueAndGetResults(decimal newValue)
Parameters
| Nome |
Tipo |
Descrição |
newValue |
decimal |
|
Returns
- IEnumerable<AccountingFormulaResult>