Interface IGLAccount
The system entity for gl accounts. Uses pivots to allow modification of IGLAccountName for each gl account at the same time
See https://web.lemonedge.com/help/gl-accounts/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.GLAccount, "dbo.LT_GLAccounts", "GLAccount", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "gl-accounts")]
[DefaultEntityIcon(ImageType.GLAccount)]
[EntityHasPivot(EntityID.GLAccountName, "GLAccountID", "GLClassificationID", "GLClassificationNameID")]
public interface IGLAccount : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Code
[Key] A short code for this gl account.
Declaration
[EntityProperty(SQLType.NVarChar, (short)50, true)]
[EntityDescription("A short code for this gl account.")]
string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The unique name of this account
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The unique name of this GL Account.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NaturalBalance
The natural balance of this GL Account. Not used in any Transaction processing, purely notional for reporting.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The natural balance of this GL Account.")]
GLAccountNaturalBalance NaturalBalance { get; set; }
Property Value
Type | Description |
---|---|
GLAccountNaturalBalance |
Type
The type of this GL Account. Not used in any Transaction processing, purely notional for reporting.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The type of this GL Account.")]
GLAccountType Type { get; set; }
Property Value
Type | Description |
---|---|
GLAccountType |