Interface IObjectEntityType
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.ObjectEntityType, "dbo.LT_ObjectEntityTypes", "ObjectEntityType", LabelColumn = "Name", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.CompanyType)]
public interface IObjectEntityType : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
AllowRuleAllocations
Indicates if this object entity can be allocated to in Allocation Rules.
If it can then it can belong as part of an Entity Structure within an Entity Set.
Typically if an object entity can be part of an Allocation Rule, it will also have a GL.
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if this object entity can be allocated to in Allocation Rules. If it can then it can belong as part of an Entity Structure within an Entity Set. Typically if an object entity can be part of an Allocation Rule, it will also have a GL.")]
bool AllowRuleAllocations { get; set; }
Property Value
CanBeCounterparty
Indicates if this object entity can act as a counterparty to transactions in the system
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Indicates if this object entity can act as a counterparty to transactions in the system")]
bool CanBeCounterparty { get; set; }
Property Value
CanOwnInstruments
Indicates if this object entity can own financial instruments
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if this object entity can own financial instruments")]
bool CanOwnInstruments { get; set; }
Property Value
Description
Declaration
[EntityProperty(SQLType.NVarChar, 2000, true)]
[EntityDescription("The user friendly description of this object entity type.")]
string Description { get; set; }
Property Value
HasGL
Indicates if this object entity has a GL.
If it does then it can have Transactions booked against it, and will have Period Closing functionality.
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if this entity can be the source of financial transactions.")]
bool HasGL { get; set; }
Property Value
Name
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityDescription("The unique name of this object entity type.")]
[Required]
[EntityKeyProperty]
string Name { get; set; }
Property Value
Extension Methods