Search Results for

    Show / Hide Table of Contents

    Class GLAccount

    Inheritance
    object
    BaseEntity
    BaseEntityWithPermissions
    GLAccount
    GLAccountWrapperWithNames
    Implements
    IGLAccount
    IBaseEntityWithPermissions
    IHasFolderStructure
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ISetCopier
    ICloneableAsync<IGLAccount>
    Inherited Members
    BaseEntityWithPermissions.IsLocked(object)
    BaseEntityWithPermissions.CanWriteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.PreLoadPermissions<T>(IEnumerable<T>, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanDeleteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanChangeItemPermissions(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.FinancialServices.Accounting
    Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
    Syntax
    [DataContract]
    [DatabaseClassValidation(typeof(GLAccountValidation), "ValidateObject")]
    public class GLAccount : BaseEntityWithPermissions, IGLAccount, IBaseEntityWithPermissions, IHasFolderStructure, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IGLAccount>

    Constructors

    GLAccount()

    Declaration
    public GLAccount()

    Properties

    BankAccountNumber

    A unique bank account ID for this gl account.

    Declaration
    [StringLength(100)]
    public string BankAccountNumber { get; set; }
    Property Value
    Type Description
    string

    BankAccountOwningEntityID

    The entity this bank account is owned by.

    Declaration
    [PropertyValidation("MyItem.BankAccountOwningEntityID.HasValue && MyItem.BankAccountOwningEntityID.Value != System.Guid.Empty", "MyItem.Type == LemonEdge.API.Entities.FinancialServices.Accounting.GLAccountType.BankAccount", "You can only set the entity that owns this account if the type is set to BankAccount.")]
    public Guid? BankAccountOwningEntityID { get; set; }
    Property Value
    Type Description
    Guid?

    BankAccountOwningEntityID_Label

    Declaration
    public string BankAccountOwningEntityID_Label { get; set; }
    Property Value
    Type Description
    string

    BankAccountOwningEntityID_Label_Silent

    Declaration
    [NotMapped]
    public string BankAccountOwningEntityID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    BankID

    Links to IObjectEntity. The bank for this bank account

    Declaration
    public Guid? BankID { get; set; }
    Property Value
    Type Description
    Guid?

    BankID_Label

    Declaration
    public string BankID_Label { get; set; }
    Property Value
    Type Description
    string

    BankID_Label_Silent

    Declaration
    [NotMapped]
    public string BankID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    ChartID

    Parent chart

    Declaration
    [Unique(MergeWithAnyOtherUniqueProperties = true)]
    public Guid? ChartID { get; set; }
    Property Value
    Type Description
    Guid?

    ChartID_Label

    Declaration
    public string ChartID_Label { get; set; }
    Property Value
    Type Description
    string

    ChartID_Label_Silent

    Declaration
    [NotMapped]
    public string ChartID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    Code

    [Key] A short code for this gl account.

    Declaration
    [Unique(MergeWithAnyOtherUniqueProperties = true)]
    [StringLength(50)]
    public string Code { get; set; }
    Property Value
    Type Description
    string

    CurrencyID

    Declaration
    public Guid? CurrencyID { get; set; }
    Property Value
    Type Description
    Guid?

    CurrencyID_Label

    Declaration
    public string CurrencyID_Label { get; set; }
    Property Value
    Type Description
    string

    CurrencyID_Label_Silent

    Declaration
    [NotMapped]
    public string CurrencyID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    DeactivationDate

    Declaration
    public DateTimeOffset? DeactivationDate { get; set; }
    Property Value
    Type Description
    DateTimeOffset?

    FolderID

    The link to the folder this item is contained in

    Declaration
    public Guid? FolderID { get; set; }
    Property Value
    Type Description
    Guid?

    FolderID_Label

    Declaration
    public string FolderID_Label { get; set; }
    Property Value
    Type Description
    string

    FolderID_Label_Silent

    Declaration
    [NotMapped]
    public string FolderID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    Name

    The unique name of this account

    Declaration
    [Required]
    [StringLength(500)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    NaturalBalance

    The natural balance of this GL Account. Not used in any Transaction processing, purely notional for reporting.

    Declaration
    [EnumDataType(typeof(GLAccountNaturalBalance))]
    public GLAccountNaturalBalance NaturalBalance { get; set; }
    Property Value
    Type Description
    GLAccountNaturalBalance

    NaturalBalance_Tooltip

    Declaration
    [NotMapped]
    public string NaturalBalance_Tooltip { get; set; }
    Property Value
    Type Description
    string

    ParentGLAccountID

    Parent Account

    Declaration
    public Guid? ParentGLAccountID { get; set; }
    Property Value
    Type Description
    Guid?

    ParentGLAccountID_Label

    Declaration
    public string ParentGLAccountID_Label { get; set; }
    Property Value
    Type Description
    string

    ParentGLAccountID_Label_Silent

    Declaration
    [NotMapped]
    public string ParentGLAccountID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    PeriodEndStatus

    Holds a status that can be used in period end reporting

    Declaration
    [EnumDataType(typeof(TransactionCodePeriodEndStatus))]
    public TransactionCodePeriodEndStatus PeriodEndStatus { get; set; }
    Property Value
    Type Description
    TransactionCodePeriodEndStatus

    PeriodEndStatus_Tooltip

    Declaration
    [NotMapped]
    public string PeriodEndStatus_Tooltip { get; set; }
    Property Value
    Type Description
    string

    Type

    The type of this GL Account. Not used in any Transaction processing, purely notional for reporting.

    Declaration
    [EnumDataType(typeof(GLAccountType))]
    public GLAccountType Type { get; set; }
    Property Value
    Type Description
    GLAccountType

    Type_Tooltip

    Declaration
    [NotMapped]
    public string Type_Tooltip { get; set; }
    Property Value
    Type Description
    string

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(IGLAccount)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(IGLAccount source)
    Parameters
    Type Name Description
    IGLAccount source

    The source object to copy all values from.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IGLAccount
    IBaseEntityWithPermissions
    IHasFolderStructure
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ISetCopier
    ICloneableAsync<T>

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.