Interface ICapitalAccountDataItem
The system entity for a Capital Account Data Item, which is part of a IPeriodEnd process
See https://web.lemonedge.com/help/team-promotable-canvases-view/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.CapitalAccountDataItem, "dbo.LT_CapitalAccountDataItems", "CapitalAccountDataItem", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.ScalesMoney)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.DataSourceIDs, "EntityID", "ID", ExcludeFromRelationship = true)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.Transaction, "ParentItemID", "ID", ExcludeFromRelationship = true)]
public interface ICapitalAccountDataItem : ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Amount
The debit/credit amount in total for this gl account
Declaration
[EntityProperty(SQLType.Decimal, (short)21, (short)3, false)]
[EntityDescription("The amount of this capital account data record.")]
[UpdateOnTransfer(TransferUpdateType.AutoTransfer)]
decimal Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
EffectiveDate
The effective date this amount is effective from (will be later for transfers).
Declaration
[EntityProperty(SQLType.DateTimeOffset, false, IsDate = true)]
[Required]
[EntityDescription("The effective date this amount is effective from (will be later for transfers).")]
DateTimeOffset EffectiveDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
EntityID
[Key] Links to IObjectEntity. The ultimate owning Entity this GL Posting amount was allocated to directly or through an Allocation Path
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "ObjectEntity", "Items")]
[EntityDescription("The entity for this record.")]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
EntitySetEntityID
[Key] Links to IObjectEntity. The actual legal entity within the entity set these GL Postings entries were against.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "Allocated Entity", "Capital Account Allocated Data")]
[EntityDescription("The entity in the entity set these amounts originate from.")]
Guid EntitySetEntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
GLAccountID
[Key] Links to IGLAccount. The GL Account this amount (In reporting currency) debited or credited
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.ZeroToOne, "GL Account", "Capital Account Data")]
[EntityDescription("The gl account (if not rounding, opening balance, aggregates, etc) this data relates to.")]
Guid? GLAccountID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
InstrumentID
[Key] Links to IInstrument. The Instrument (if any) for the Transaction this GL Posting was booked against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Instrument, "ID", SingleJoinType.ZeroToOne, "Instrument", "Capital Account Data")]
[EntityDescription("The instrument these portfolio entries are allocated from.")]
Guid? InstrumentID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
IsCommitted
[Key] Represents if this amount was derived from a committed transaction
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Represents if this amount was derived from a committed transaction.")]
bool IsCommitted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRounding
[Key] Represents if this amount was added by the calculation for rounding purposes
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates this record is used for rounding amounts.")]
bool IsRounding { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LedgerID
[Key] Links to ILedger. The Ledger this GL Posting amount was booked to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Ledger, "ID", SingleJoinType.One, "Ledger", "Capital Account Data")]
[EntityDescription("The ledger matching amounts roll up for.")]
Guid LedgerID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
OriginalEntityID
[Key] Links to IObjectEntity. The actual original entity this amount was allocated through a path from
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, "EntitySetEntityID")]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "Original Entity", "Capital Account Allocated Data")]
[EntityDescription("The actual original entity this amount was allocated through a path from.")]
Guid OriginalEntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
PeriodEndAdjustmentID
[Key] Links to IPeriodEndAdjustment. If this record was manually made this will hold the parent adjustment it is a part of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.PeriodEndAdjustment, "ID", SingleJoinType.ZeroToOne, "Period End Adjustment", "Data Adjustment Items", DeleteWithRelationship = true, PartOfParentSet = true)]
Guid? PeriodEndAdjustmentID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
PeriodEndID
[Key] Links to IPeriodEnd. The parent period end this is a part of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.PeriodEnd, "ID", SingleJoinType.One, "IPeriodEnd", "Data Items", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid PeriodEndID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
RootEntityID
Links to IObjectEntity. The Root Entity these GL Postings are allocated to ultimate owners through.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "Root Entity", "Capital Account Data")]
[EntityDescription("The root entity in the allocation path, these data items are rolled up to.")]
Guid RootEntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TransactionCodeID
[Key] Links to ITransactionCode. Only roll up gl accounts with a matching classification name that came from this transaction code.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.TransactionCode, "ID", SingleJoinType.One, "Transaction Code", "Capital Account Data")]
[EntityDescription("Only roll up gl accounts with a matching classification name that came from this transaction code.")]
Guid TransactionCodeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TransactionTypeValueID
[Key] Links to ITransactionTypeValue. The Transaction Type Value (if any) this GL Amount was automatically populated from
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.TransactionTypeValue, "ID", SingleJoinType.ZeroToOne, "Transaction Type Value", "Capital Account Data")]
[EntityDescription("Only roll up gl accounts with a matching classification name that came from this transaction type value.")]
Guid? TransactionTypeValueID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Type
[Key] Indicates the type of capital account data item record.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[Required]
[EntityDescription("Indicates the type of capital account data item record.")]
CapitalAccountDataItemType Type { get; set; }
Property Value
Type | Description |
---|---|
CapitalAccountDataItemType |