Class FinancialYear
Represents a financial year
Inheritance
System.Object
FinancialYear
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Core
Assembly: Simplic.Framework.Base.dll
Syntax
public class FinancialYear
Constructors
| Improve this Doc View SourceFinancialYear()
Initialize new financial year
Declaration
public FinancialYear()
Properties
| Improve this Doc View SourceAmountOfPeriods
Gets or sets the amount of periods
Declaration
public ushort AmountOfPeriods { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
BeginDate
Gets or sets the begin date of the financial year
Declaration
public DateTime BeginDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
EndDate
Gets or sets the enddate of the financial year
Declaration
public DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
ExternalId
Gets or sets the external id of the fiscal year
Declaration
public string ExternalId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or sets the unique id of the financial year
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Periods
Gets all assigned periods
Declaration
public ICollection<FinancialYearPeriod> Periods { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<FinancialYearPeriod> |
TenantId
Gets or sets the tenant-id of the financial year
Declaration
public Guid TenantId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Year
Gets or sets the financial year
Declaration
public ushort Year { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Methods
| Improve this Doc View SourceLoadPeriods()
Loads and returns all assigned periods
Declaration
public ICollection<FinancialYearPeriod> LoadPeriods()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<FinancialYearPeriod> | Returns all periods for the given financial year |