Class CostCenter
Represents a (distributed-)costcenter
Inheritance
System.Object
CostCenter
Namespace: Simplic.ERP.Core
Assembly: Simplic.ERP.Core.dll
Syntax
public class CostCenter : IMultiTenantCompatible
Constructors
| Improve this Doc View SourceCostCenter()
Constructor
Declaration
public CostCenter()
Properties
| Improve this Doc View SourceAssignments
Gets the assignements to the childs if this is a distributed costcenter
Declaration
public StatefulCollection<CostCenterAssignment> Assignments { get; }
Property Value
Type | Description |
---|---|
StatefulCollection<CostCenterAssignment> |
GroupGuid
Gets or sets the uniqe identifier of the CostCenterGroup.
Declaration
public Guid GroupGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Guid
gets/sets the unique id
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsDeleted
Gets or sets whether the ConstCenter was deleted.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDistributed
gets/sets the flag if this is a distributed costcenter
Declaration
public bool IsDistributed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsError
Gets or sets whether this is an error costcenter
Declaration
public bool IsError { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LongName
gets/sets the long name of the cost center
Declaration
public string LongName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
gets/sets the name of the costcenter
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Number
gets/sets the unique number of the costcenter
Declaration
public int Number { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SelectedTenant
Declaration
public OrganizationTenant SelectedTenant { get; set; }
Property Value
Type | Description |
---|---|
OrganizationTenant |
TenantId
Gets or sets the current tenant id
Declaration
public Guid TenantId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Tenants
Gets or sets a list of available tenants
Declaration
public ObservableCollection<OrganizationTenant> Tenants { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<OrganizationTenant> |
TypeId
Gets or setsthe type id
Declaration
public int TypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UpdateTime
Gets or sets the time of last update.
Declaration
public DateTime UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
UserGroups
Gets the assignements to usergroups of this costcenter
Declaration
public StatefulCollection<CostCenterUserGroup> UserGroups { get; }
Property Value
Type | Description |
---|---|
StatefulCollection<CostCenterUserGroup> |
ValidFrom
Gets or sets the valid from date
Declaration
public DateTime ValidFrom { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
ValidTo
Gets or sets the valid to date
Declaration
public DateTime? ValidTo { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |