Class TransactionCodeGLEntry
Inheritance
TransactionCodeGLEntry
Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
Syntax
[DataContract]
public class TransactionCodeGLEntry : BaseEntity, ITransactionCodeGLEntry, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ITransactionCodeGLEntry>
Constructors
TransactionCodeGLEntry()
Declaration
public TransactionCodeGLEntry()
Properties
AllowNegatives
Indicates this gl amount will always be either a positive debit or credit, changing the sign will swap debit/credit position. If negatives are allowed it will hold at its debit/credit position but show the opposite sign instead.
Declaration
public bool AllowNegatives { get; set; }
Property Value
ChartID
Declaration
public Guid? ChartID { get; set; }
Property Value
ChartID_Label
Declaration
public string ChartID_Label { get; set; }
Property Value
ChartID_Label_Silent
Declaration
[NotMapped]
public string ChartID_Label_Silent { get; set; }
Property Value
Date
Indicates what to use for the date of the gl entry.
Declaration
[EnumDataType(typeof(TransactionCodeGLEntryDate))]
public TransactionCodeGLEntryDate Date { get; set; }
Property Value
DateFormula
A formula used to evaluate what date to use for the gl entry.
Declaration
public string DateFormula { get; set; }
Property Value
Date_Tooltip
Declaration
[NotMapped]
public string Date_Tooltip { get; set; }
Property Value
DebitCredit
Indicates if this entry should be a debit or credit.
Declaration
[EnumDataType(typeof(TransactionCodeGLEntryDbCr))]
public TransactionCodeGLEntryDbCr DebitCredit { get; set; }
Property Value
DebitCredit_Tooltip
Declaration
[NotMapped]
public string DebitCredit_Tooltip { get; set; }
Property Value
EntityFormula
A formula used to evaluate which entity this gl entry is against. By default (if formula is empty) it is the entity
of the transaction itself.
Declaration
public string EntityFormula { get; set; }
Property Value
Entry
Indicates whether the reporting, functional or local, is used, the other being automatically calculated from the
exchange rate.
Declaration
[EnumDataType(typeof(TransactionTypeValueEntry))]
public TransactionTypeValueEntry Entry { get; set; }
Property Value
Entry_Tooltip
Declaration
[NotMapped]
public string Entry_Tooltip { get; set; }
Property Value
GLAccountID
[Key] Links to IGLAccount. The GL Account you want to automatically debit or credit, can be null if set to user selectable bank account
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
GuardFormula
A formula used to return true or false indicating if this gl entry should be created or not.
Declaration
public string GuardFormula { get; set; }
Property Value
IsBalancingEntry
Indicates this gl account should hold the amount required to balance all gl entries for the transaction.
Declaration
public bool IsBalancingEntry { get; set; }
Property Value
LedgerID
[Key] Links to ILedger. The Ledger to specifically use for this GL Posting entry. This can be
explicitly set to be different than the Ledger of the parent Transaction.
If left blank the GL Posting will automatically be in the same Ledger as the Transaction.
Declaration
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
LocalCurrencyFormula
A formula used to evaluate which currency the local gl entry is against. By default (if formula is empty) it is the
transaction currency. Functional is always the currency of the entry this gl entry is against.
Declaration
public string LocalCurrencyFormula { get; set; }
Property Value
RelatedEntityFormula
A formula used to evaluate which related entity this gl entry is against.
Declaration
public string RelatedEntityFormula { get; set; }
Property Value
SelectableBankAccount
Indicates the gl account is a selectable bank account owned by the entity.
Declaration
public bool SelectableBankAccount { get; set; }
Property Value
SubAccountFormula
A formula used to evaluate which sub account to use for the entry
Declaration
public string SubAccountFormula { get; set; }
Property Value
SubAccountID
[Key] Links to IGLAccount. The Sub Account you want to automatically debit or credit, can be null and user selectable
Declaration
[RequiredNoDefaultIDValidation]
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
TransactionCodeID
[Key] Links to ITransactionCode. This is a gl entry automatically created from a specified value on
a transaction code
Declaration
public Guid? TransactionCodeID { get; set; }
Property Value
TransactionCodeID_Label
Declaration
public string TransactionCodeID_Label { get; set; }
Property Value
TransactionCodeID_Label_Silent
Declaration
[NotMapped]
public string TransactionCodeID_Label_Silent { get; set; }
Property Value
TransactionTypeValueID
[Key] Links to ITransactionTypeValue. The Value from the Transaction the system should use to
populate this GL Posting automatically with.
If this is against a Transaction Code you can pick from the Values this Transaction Code has configured to use.
If this is against a Transaction Type Value already this column will be hidden and will always just take the Value
from that field anyway
Declaration
public Guid? TransactionTypeValueID { get; set; }
Property Value
TransactionTypeValueID_Label
Declaration
public string TransactionTypeValueID_Label { get; set; }
Property Value
TransactionTypeValueID_Label_Silent
Declaration
[NotMapped]
public string TransactionTypeValueID_Label_Silent { get; set; }
Property Value
ValueFunctionalFormula
A formula used to evaluate what functional value to use for the gl entry.
Declaration
public string ValueFunctionalFormula { get; set; }
Property Value
ValueLocalFormula
A formula used to evaluate what local value to use for the gl entry.
Declaration
public string ValueLocalFormula { get; set; }
Property Value
ValueReportingFormula
A formula used to evaluate what reporting value to use for the gl entry.
Declaration
public string ValueReportingFormula { get; set; }
Property Value
When
Indicates when this gl entry should be created
Declaration
[EnumDataType(typeof(TransactionGLMatch))]
public TransactionGLMatch When { get; set; }
Property Value
When_Tooltip
Declaration
[NotMapped]
public string When_Tooltip { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(ITransactionCodeGLEntry)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ITransactionCodeGLEntry source)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods