Class GLPosting
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
Properties
AllocationDate
The allocation date for this posing to be allocated using a path.
Declaration
public DateTimeOffset? AllocationDate { get; set; }
Property Value
CancelledID
Holds the original transactional entity record this record is cancelling.
Declaration
public Guid? CancelledID { get; set; }
Property Value
CancelledID_Label
Declaration
public string CancelledID_Label { get; set; }
Property Value
CancelledID_Label_Silent
Declaration
[NotMapped]
public string CancelledID_Label_Silent { get; set; }
Property Value
ChartID
Declaration
[NotMapped]
public Guid? ChartID { get; set; }
Property Value
ChartID_Label
Declaration
[NotMapped]
public string ChartID_Label { get; set; }
Property Value
Comment against the local amount
Declaration
[StringLength(2000)]
public string Comment { get; set; }
Property Value
CorrectedByID
Holds the new transactional entity record this record is corrected by, if any.
Declaration
public Guid? CorrectedByID { get; set; }
Property Value
CorrectedByID_Label
Declaration
public string CorrectedByID_Label { get; set; }
Property Value
CorrectedByID_Label_Silent
Declaration
[NotMapped]
public string CorrectedByID_Label_Silent { get; set; }
Property Value
CurrencyID
Links to ICurrency. The local currency for this gl posting.
Declaration
[RequiredNoDefaultIDValidation]
public Guid CurrencyID { get; set; }
Property Value
CurrencyID_Label
Declaration
public string CurrencyID_Label { get; set; }
Property Value
CurrencyID_Label_Silent
Declaration
[NotMapped]
public string CurrencyID_Label_Silent { get; set; }
Property Value
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
DebitCredit_Tooltip
Declaration
[NotMapped]
public string DebitCredit_Tooltip { get; set; }
Property Value
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
EntityID
[Key] Links to IObjectEntity. The entity this gl posting is against.
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityID { get; set; }
Property Value
EntityID_Label
Declaration
public string EntityID_Label { get; set; }
Property Value
EntityID_Label_Silent
Declaration
[NotMapped]
public string EntityID_Label_Silent { get; set; }
Property Value
FXRate
The FX Rate between Local and Functional currencies
Declaration
public decimal FXRate { get; set; }
Property Value
FinancialDate
The Financial Date for this GL Posting for the given legal Entity and Transaction Date
Declaration
public DateTimeOffset FinancialDate { get; set; }
Property Value
FuncAmount
The amount to be posted in functional currency against this GL Account
Declaration
public decimal FuncAmount { get; set; }
Property Value
FuncAmountCredit
Declaration
[NotMapped]
public decimal? FuncAmountCredit { get; set; }
Property Value
FuncAmountDebit
Declaration
[NotMapped]
public decimal? FuncAmountDebit { get; set; }
Property Value
FuncNote
Note against the func amount
Declaration
[StringLength(500)]
public string FuncNote { get; set; }
Property Value
GLAccountID
[Key] Links to IGLAccount. The gl account this posting is debiting or crediting
Declaration
[RequiredNoDefaultIDValidation]
public Guid GLAccountID { get; set; }
Property Value
GLAccountID_Label
Declaration
public string GLAccountID_Label { get; set; }
Property Value
GLAccountID_Label_Silent
Declaration
[NotMapped]
public string GLAccountID_Label_Silent { get; set; }
Property Value
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
InstrumentEntityID_Label
Declaration
public string InstrumentEntityID_Label { get; set; }
Property Value
InstrumentEntityID_Label_Silent
Declaration
[NotMapped]
public string InstrumentEntityID_Label_Silent { get; set; }
Property Value
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
InstrumentID_Label
Declaration
public string InstrumentID_Label { get; set; }
Property Value
InstrumentID_Label_Silent
Declaration
[NotMapped]
public string InstrumentID_Label_Silent { get; set; }
Property Value
IsDebit
Declaration
public bool IsDebit { get; }
Property Value
LedgerID
[Key] Links to ILedger. The ledger this gl posting is against.
Declaration
[RequiredNoDefaultIDValidation]
public Guid LedgerID { get; set; }
Property Value
LedgerID_Label
Declaration
public string LedgerID_Label { get; set; }
Property Value
LedgerID_Label_Silent
Declaration
[NotMapped]
public string LedgerID_Label_Silent { get; set; }
Property Value
LocalAmount
The amount to be posted in local currency against this GL Account
Declaration
public decimal LocalAmount { get; set; }
Property Value
LocalAmountCredit
Declaration
[NotMapped]
public decimal? LocalAmountCredit { get; set; }
Property Value
LocalAmountDebit
Declaration
[NotMapped]
public decimal? LocalAmountDebit { get; set; }
Property Value
LocalNote
Note against the local amount
Declaration
[StringLength(500)]
public string LocalNote { get; set; }
Property Value
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
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
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
ParentTransactionID_Label
Declaration
public string ParentTransactionID_Label { get; set; }
Property Value
ParentTransactionID_Label_Silent
Declaration
[NotMapped]
public string ParentTransactionID_Label_Silent { get; set; }
Property Value
PathID
Declaration
public Guid? PathID { get; set; }
Property Value
PathID_Label
Declaration
public string PathID_Label { get; set; }
Property Value
PathID_Label_Silent
Declaration
[NotMapped]
public string PathID_Label_Silent { get; set; }
Property Value
Reference
The auto-increment unique reference for this entity
Declaration
public int Reference { get; set; }
Property Value
RelatedEntityID
Links to IObjectEntity. The legal entity this posting is related to
Declaration
public Guid? RelatedEntityID { get; set; }
Property Value
RelatedEntityID_Label
Declaration
public string RelatedEntityID_Label { get; set; }
Property Value
RelatedEntityID_Label_Silent
Declaration
[NotMapped]
public string RelatedEntityID_Label_Silent { get; set; }
Property Value
ReportingAmount
The amount to be posted in reporting currency against this GL Account
Declaration
public decimal ReportingAmount { get; set; }
Property Value
ReportingAmountCredit
Declaration
[NotMapped]
public decimal? ReportingAmountCredit { get; set; }
Property Value
ReportingAmountDebit
Declaration
[NotMapped]
public decimal? ReportingAmountDebit { get; set; }
Property Value
ReportingFXRate
The FX Rate between Local and Reporting currencies
Declaration
public decimal ReportingFXRate { get; set; }
Property Value
ReportingNote
Note against the reporting amount
Declaration
[StringLength(500)]
public string ReportingNote { get; set; }
Property Value
RootTransactionID
[Key] Links to ITransaction. The root transaction this gl posting is a child of
Declaration
[RequiredNoDefaultIDValidation]
public Guid RootTransactionID { get; set; }
Property Value
RootTransactionID_Label
Declaration
public string RootTransactionID_Label { get; set; }
Property Value
RootTransactionID_Label_Silent
Declaration
[NotMapped]
public string RootTransactionID_Label_Silent { get; set; }
Property Value
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
Status_Tooltip
Declaration
[NotMapped]
public string Status_Tooltip { get; set; }
Property Value
SubAccountID
[Key] Links to IGLAccount. The sub gl account this posting is debiting or crediting
Declaration
public Guid? SubAccountID { get; set; }
Property Value
SubAccountID_Label
Declaration
public string SubAccountID_Label { get; set; }
Property Value
SubAccountID_Label_Silent
Declaration
[NotMapped]
public string SubAccountID_Label_Silent { get; set; }
Property Value
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
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
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
TransferID
Links to this glposing being created as part of a transfer process
Declaration
public Guid? TransferID { get; set; }
Property Value
TransferID_Label
Declaration
public string TransferID_Label { get; set; }
Property Value
TransferID_Label_Silent
Declaration
[NotMapped]
public string TransferID_Label_Silent { get; set; }
Property Value
TransferedOriginalItemID
Holds the original record that this record is transferring.
Declaration
public Guid? TransferedOriginalItemID { get; set; }
Property Value
TransferedOriginalItemID_Label
Declaration
public string TransferedOriginalItemID_Label { get; set; }
Property Value
TransferedOriginalItemID_Label_Silent
Declaration
[NotMapped]
public string TransferedOriginalItemID_Label_Silent { get; set; }
Property Value
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
ValuEntryDebitCredit_Tooltip
Declaration
[NotMapped]
public string ValuEntryDebitCredit_Tooltip { get; set; }
Property Value
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
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
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
Overrides
UpdateChart(IReadOnlyCache)
Declaration
public Task UpdateChart(IReadOnlyCache cache)
Parameters
Returns
Implements
Extension Methods