Interface IPeriodEnd
The system entity for a period end entity. This is used for processing period (such as month or quarter) end activity and burning it all into capital account data items for gl reporting
See https://help.lemonedge.com/help/financial-services-engine/financial/period-ends/intro.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.PeriodEnd, "dbo.LT_PeriodEnds", "PeriodEnd", IsStandingDataEntity = false, LabelColumn = "Reference", HelpURL = "help/financial-services-engine/financial/period-ends/intro.html")]
[DefaultEntityIcon(ImageType.ScalesMoney)]
public interface IPeriodEnd : IHeaderTransactionalEntity, ITransactionalEntity, ICanBeLocked, IBaseEntityWithPermissions, IHasSaveProcessingTask, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
DataProcessingDate
Optional - A date to ensure the calculation runs [As Of] meaning certain transactions will be excluded from this Period End calculation if they were modified after this date/time.
This is incredibly useful when different teams are processing different processes at period end.You can exclude those changes from your calculation and pull them in by moving this date whenever you are ready.
Declaration
[EntityProperty(SQLType.DateTimeOffset, true)]
[EntityDescription("The as of date all data should be loading for processing this period end and calculating capital account data items.")]
DateTimeOffset? DataProcessingDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
EntitySetID
Links to IEntitySet. The entity set this period end is being processed against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.EntitySet, "ID", SingleJoinType.One, "AllocationRule", "EntitySet", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false)]
[EntityDescription("The entity set that this period end pertains to.")]
Guid EntitySetID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IncludeItemChildTransactionsID
Optional - If this Period End is part of another calculation routine it is often the case you will always want to include those latest transactions against that process in this calculation even if they are after the Data Processing Date.
This holds the type of item that is the parent.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityDescription("The item which holds a set of transaction to include in the period end capital account data calculation.")]
[EntityLinkToAnyParentRelationship("IncludeItemChildTransactionsIDTypeID", SingleJoinType.ZeroToOne, "Transactions To Include", false, new Type[]{typeof(ITransaction), typeof(ITransactionAllocated), typeof(IGLPosting), typeof(IGLPostingAllocated), typeof(IHasTransactionSetting), typeof(IPeriodEnd), typeof(IPeriodEndAdjustment), typeof(ICapitalAccountDataItem)})]
Guid? IncludeItemChildTransactionsID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
IncludeItemChildTransactionsIDTypeID
Optional - If this Period End is part of another calculation routine it is often the case you will always want to include those latest transactions against that process in this calculation even if they are after the Data Processing Date.
This holds he actual parent item that this Period End calculation is a part of.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true, IsEntityTypeLink = true)]
[EntityDescription("The type of item that holds a set of transaction to include in the period end capital account data calculation..")]
Guid? IncludeItemChildTransactionsIDTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |