Interface IObjectEntityBase
Any LemonEdge entity interface that inherits this, means it is acquires all the functionality of an Object Entity which can belong as part of a IEntitySetBase or as entities that can be allocated to in IAllocationRule
See https://help.lemonedge.com/companies/ for more info
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
public interface IObjectEntityBase : 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
Type | Description |
---|---|
System.Boolean |
Code
The unique code of this entity.
Part of the key for this entity
Declaration
[EntityProperty(SQLType.NVarChar, (short)150, false)]
[EntityDescription("The unique code of this entity.")]
[Required]
string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CurrencyID
Links to ICurrency. The currency this object entity operates in.
When used in a transaction this would be the functional currency for the transaction
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Currency, "ID", SingleJoinType.One, "ObjectEntity", "Currency", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The currency this object entity operates in. When used in a transaction this would be the functional currency for the transaction")]
Guid CurrencyID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
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
Type | Description |
---|---|
System.Boolean |
LegalName
The legal name of this object entity
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The legal name of this entity.")]
string LegalName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The unique name of this entity.
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The unique name of this entity.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |