Interface ILedger
The system entity for a ledger, which gl postings and transactions can be entered against
See https://help.lemonedge.com/help/settings/financial-services-transactions/ledgers/intro.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Accounting
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.Ledger, "dbo.LT_Ledgers", "Ledger", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/settings/financial-services-transactions/ledgers/intro.html")]
[DefaultEntityIcon(ImageType.Ledger)]
public interface ILedger : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, IHasVersion
Properties
Behaviour
Indicates the default behaviour to use for this ledger when a gl posting is configured in a transaction code with no specific ledger.
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("Indicates the default behaviour to use for this ledger when a gl posting is configured in a transaction code with no specific ledger.")]
LedgerAutoPostingBehaviour Behaviour { get; set; }
Property Value
Type | Description |
---|---|
LedgerAutoPostingBehaviour |
Description
A user friendly description of this Ledger
Declaration
[EntityProperty(SQLType.NVarChar, 2000, true)]
[EntityDescription("A user friendly description of this ledger.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
[Key] The unique user friendly name of this Ledger
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityKeyProperty]
[EntityDescription("The unique name of this Ledger.")]
[Unique]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |