Search Results for

    Show / Hide Table of Contents

    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://web.lemonedge.com/help/companies/ for more info

    Inherited Members
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    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

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    IBaseObject
    IInheritingObject
    IsBaseInterfaceAttribute
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.