Interface IStepChangeRebalance
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.StepChangeRebalance, "dbo.LT_StepChangeRebalances", "StepChangeRebalance")]
[DefaultEntityIcon(ImageType.TransactionGL)]
public interface IStepChangeRebalance : ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
FromGLAccountID
[Key] Links to IGLAccount. The glaccount to be rebalanced
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.One, "From GL Account", "Step Change Rebalances")]
[RequiredNoDefaultIDValidation]
[EntityDescription("The gl account to rebalance to a new account.")]
[EntityKeyProperty]
Guid FromGLAccountID { get; set; }
Property Value
FromSubAccountID
[Key] Links to IGLAccount. The sub account to be rebalanced
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.ZeroToOne, "From Sub Account", "Step Change Rebalances")]
[EntityDescription("The sub account to rebalance to a new account.")]
[EntityKeyProperty]
Guid? FromSubAccountID { get; set; }
Property Value
StepChangeID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.StepChanges, "ID", SingleJoinType.One, "Step Change", "Rebalances", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityDescription("The parent step change.")]
[EntityKeyProperty]
Guid StepChangeID { get; set; }
Property Value
ToGLAccountID
[Key] Links to IGLAccount. The glaccount to be rebalanced
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.One, "To GL Account", "Step Change Rebalances")]
[RequiredNoDefaultIDValidation]
[EntityDescription("The gl account to be rebalanced to.")]
[EntityKeyProperty]
Guid ToGLAccountID { get; set; }
Property Value
ToSubAccountID
[Key] Links to IGLAccount. The sub account to be rebalanced
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.ZeroToOne, "To Sub Account", "Step Change Rebalances")]
[EntityDescription("The sub account to be rebalanced to.")]
[EntityKeyProperty]
Guid? ToSubAccountID { get; set; }
Property Value
Type
The use of the type of gl account to be rebalanced
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The use of the type of gl account to be rebalanced.")]
StepChangeRebalanceType Type { get; set; }
Property Value
When
Indicates when this gl entry should be rebalanced
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("Indicates when this gl entry should be rebalanced")]
[EntityKeyProperty]
TransactionExistingGLMatch When { get; set; }
Property Value
Extension Methods