Interface IStepChangeMovement
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.StepChangeMovements, "dbo.LT_StepChangeMovements", "StepChangeMovement")]
[DefaultEntityIcon(ImageType.Split)]
public interface IStepChangeMovement : ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
AllocationRuleID
[Key] Links to IAllocationRule. The Rule that will be modified with the appropriate step change movements
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.AllocationRule, "ID", SingleJoinType.One, "Allocation Rule", "Step Change Movements")]
[RequiredNoDefaultIDValidation]
[EntityDescription("The Rule that will be modified with the appropriate step change movements.")]
[EntityKeyProperty]
Guid AllocationRuleID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
EntityID
[Key] Links to IObjectEntity. The Entity that will have a movement attributed to them in this StepChange
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "Step Change", "Step Change Movements")]
[RequiredNoDefaultIDValidation]
[EntityDescription("The Entity that will have a movement attributed to them in this StepChange.")]
[EntityKeyProperty]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
IsRoundingEntity
If there is more than one Entity this specifies which one should receive all the rounding amounts.
Only one step change entity can be marked as the rounding entity.
Declaration
[EntityProperty(SQLType.Bit, false)]
[Required]
[EntityDescription("Indicates this entity is to be used for any rounding when multiple target entities are involved.")]
bool IsRoundingEntity { get; set; }
Property Value
Type | Description |
---|---|
bool |
StepChangeID
[Key] Links to IStepChange. The parent step change these targets are a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.StepChanges, "ID", SingleJoinType.One, "Step Change", "Movements", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityDescription("The parent step change.")]
[EntityKeyProperty]
Guid StepChangeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |