Search Results for

    Show / Hide Table of Contents

    Class GLPosting

    Inheritance
    object
    BaseEntity
    GLPosting
    Implements
    IGLPosting
    ITransactionalEntity
    ICanBeLocked
    IHasReference
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<IGLPosting>
    Inherited Members
    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]
    public class GLPosting : BaseEntity, IGLPosting, ITransactionalEntity, ICanBeLocked, IHasReference, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IGLPosting>

    Constructors

    GLPosting()

    Declaration
    public GLPosting()

    Properties

    AllocationDate

    The allocation date for this posing to be allocated using a path.

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

    CancelledID

    Holds the original transactional entity record this record is cancelling.

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

    CancelledID_Label

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

    CancelledID_Label_Silent

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

    ChartID

    Only used in UI

    Declaration
    [NotMapped]
    public Guid? ChartID { get; set; }
    Property Value
    Type Description
    Guid?

    ChartID_Label

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

    Comment

    Comment against the local amount

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

    CorrectedByID

    Holds the new transactional entity record this record is corrected by, if any.

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

    CorrectedByID_Label

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

    CorrectedByID_Label_Silent

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

    CurrencyID

    Links to ICurrency. The local currency for this gl posting.

    Declaration
    [RequiredNoDefaultIDValidation]
    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

    DebitCredit

    Indicates if this amount should always be shown as a positive debit/credit, or if it is explicitly always a debit or credit allowing negatives

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

    DebitCredit_Tooltip

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

    EffectiveDate

    The effective date for this posting, can be different for transfers/step changes where it holds the original posting effective date

    Declaration
    [RequiredNoDefaultIDValidation]
    public DateTimeOffset EffectiveDate { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    EntityID

    [Key] Links to IObjectEntity. The entity this gl posting is against.

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid EntityID { get; set; }
    Property Value
    Type Description
    Guid

    EntityID_Label

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

    EntityID_Label_Silent

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

    FXRate

    The FX Rate between Local and Functional currencies

    Declaration
    public decimal FXRate { get; set; }
    Property Value
    Type Description
    decimal

    FinancialDate

    The Financial Date for this GL Posting for the given legal Entity and Transaction Date

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

    FuncAmount

    The amount to be posted in functional currency against this GL Account

    Declaration
    public decimal FuncAmount { get; set; }
    Property Value
    Type Description
    decimal

    FuncAmountCredit

    Declaration
    [NotMapped]
    public decimal? FuncAmountCredit { get; set; }
    Property Value
    Type Description
    decimal?

    FuncAmountDebit

    Declaration
    [NotMapped]
    public decimal? FuncAmountDebit { get; set; }
    Property Value
    Type Description
    decimal?

    FuncNote

    Note against the func amount

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

    GLAccountID

    [Key] Links to IGLAccount. The gl account this posting is debiting or crediting

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid GLAccountID { get; set; }
    Property Value
    Type Description
    Guid

    GLAccountID_Label

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

    GLAccountID_Label_Silent

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

    InstrumentEntityID

    Links to an entity related to the instrument that can filter ths instrument selection. If provided by an addin, by defulat this won't be visible but can be overridden in the ui to deal/etc for other modules.

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

    InstrumentEntityID_Label

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

    InstrumentEntityID_Label_Silent

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

    InstrumentID

    Links to IInstrument. The instrument to use to allocate this gl posting, through instrument mappings to allocation paths.

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

    InstrumentID_Label

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

    InstrumentID_Label_Silent

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

    IsDebit

    Declaration
    public bool IsDebit { get; }
    Property Value
    Type Description
    bool

    LedgerID

    [Key] Links to ILedger. The ledger this gl posting is against.

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid LedgerID { get; set; }
    Property Value
    Type Description
    Guid

    LedgerID_Label

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

    LedgerID_Label_Silent

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

    LocalAmount

    The amount to be posted in local currency against this GL Account

    Declaration
    public decimal LocalAmount { get; set; }
    Property Value
    Type Description
    decimal

    LocalAmountCredit

    Declaration
    [NotMapped]
    public decimal? LocalAmountCredit { get; set; }
    Property Value
    Type Description
    decimal?

    LocalAmountDebit

    Declaration
    [NotMapped]
    public decimal? LocalAmountDebit { get; set; }
    Property Value
    Type Description
    decimal?

    LocalNote

    Note against the local amount

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

    Locked

    Indicates the current record is locked and can not be modified until it is unlocked.

    Declaration
    [Required]
    public bool Locked { get; set; }
    Property Value
    Type Description
    bool

    ManualPosting

    Indicates if this GL Posting line was added manually by the user versus automatically according to the Transaction Code

    Declaration
    public bool ManualPosting { get; set; }
    Property Value
    Type Description
    bool

    ParentTransactionID

    [Key] Links to ITransaction. The direct parent transaction this gl posting is a child of

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid ParentTransactionID { get; set; }
    Property Value
    Type Description
    Guid

    ParentTransactionID_Label

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

    ParentTransactionID_Label_Silent

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

    PathID

    Links to IAllocationPath. The path to use to allocate this gl posting.

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

    PathID_Label

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

    PathID_Label_Silent

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

    Reference

    The auto-increment unique reference for this entity

    Declaration
    public int Reference { get; set; }
    Property Value
    Type Description
    int

    RelatedEntityID

    Links to IObjectEntity. The legal entity this posting is related to

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

    RelatedEntityID_Label

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

    RelatedEntityID_Label_Silent

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

    ReportingAmount

    The amount to be posted in reporting currency against this GL Account

    Declaration
    public decimal ReportingAmount { get; set; }
    Property Value
    Type Description
    decimal

    ReportingAmountCredit

    Declaration
    [NotMapped]
    public decimal? ReportingAmountCredit { get; set; }
    Property Value
    Type Description
    decimal?

    ReportingAmountDebit

    Declaration
    [NotMapped]
    public decimal? ReportingAmountDebit { get; set; }
    Property Value
    Type Description
    decimal?

    ReportingFXRate

    The FX Rate between Local and Reporting currencies

    Declaration
    public decimal ReportingFXRate { get; set; }
    Property Value
    Type Description
    decimal

    ReportingNote

    Note against the reporting amount

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

    RootTransactionID

    [Key] Links to ITransaction. The root transaction this gl posting is a child of

    Declaration
    [RequiredNoDefaultIDValidation]
    public Guid RootTransactionID { get; set; }
    Property Value
    Type Description
    Guid

    RootTransactionID_Label

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

    RootTransactionID_Label_Silent

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

    Status

    Indicates the current status of this transactional object.

    By default GL entries aren't processed until an entity has a status >= Committed.

    Finalazied transactions can only be modified through cancel/correct logic
    Declaration
    [EnumDataType(typeof(TransactionStatus))]
    public TransactionStatus Status { get; set; }
    Property Value
    Type Description
    TransactionStatus

    Status_Tooltip

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

    SubAccountID

    [Key] Links to IGLAccount. The sub gl account this posting is debiting or crediting

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

    SubAccountID_Label

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

    SubAccountID_Label_Silent

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

    SwitchInputtedSign

    Indicates when a debit, or credit, amount is updated the default sign to use should be switched

    Declaration
    public bool SwitchInputtedSign { get; set; }
    Property Value
    Type Description
    bool

    TransactionCodeGLEntryID

    [Key] Links to ITransactionCodeGLEntry. The transaction code gl entry setting this posting was automatically created from.

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

    TransactionDate

    [Key] The Transaction Date for this GL Posting. Normally this would be the same as the Transaction Date of the Transaction, but can be configured to hold other values such as the Settlement Date

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

    TransferID

    Links to this glposing being created as part of a transfer process

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

    TransferID_Label

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

    TransferID_Label_Silent

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

    TransferedOriginalItemID

    Holds the original record that this record is transferring.

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

    TransferedOriginalItemID_Label

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

    TransferedOriginalItemID_Label_Silent

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

    ValuEntryDebitCredit

    Indicates if this value entry should be a debit or credit from the transaction value

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

    ValuEntryDebitCredit_Tooltip

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

    ValueEntryIndex

    If the record doesn't have a TransactionCodeGLEntryID then it can have a value index here to bind it to a transaction value instead of the transction code gl entry doing so

    Declaration
    public short? ValueEntryIndex { get; set; }
    Property Value
    Type Description
    short?

    Methods

    CopyFromEntity(IBaseEntity)

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

    CopyFromSource(IGLPosting)

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

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

    The source object to copy all values from.

    ToString()

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

    UpdateChart(IReadOnlyCache)

    Declaration
    public Task UpdateChart(IReadOnlyCache cache)
    Parameters
    Type Name Description
    IReadOnlyCache cache
    Returns
    Type Description
    Task

    Implements

    IGLPosting
    ITransactionalEntity
    ICanBeLocked
    IHasReference
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    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.