Interface ISplitTransactionSwitch
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.SplitTransactionSwitch, "dbo.LT_SplitTransactionSwitches", "SplitTransactionSwitch")]
[DefaultEntityIcon(ImageType.TransactionGL)]
public interface ISplitTransactionSwitch : ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
FromGLAccountID
[Key] Links to IGLAccount. The glaccount to be switched
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.One, "From GL Account", "Split Transaction GL Switches")]
[RequiredNoDefaultIDValidation]
[EntityDescription("The gl account to switch to a new account.")]
[EntityKeyProperty]
Guid FromGLAccountID { get; set; }
Property Value
FromSubAccountID
[Key] Links to IGLAccount. The glaccount to be switched
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.ZeroToOne, "From Sub Account", "Split Transaction GL Switches")]
[EntityDescription("The gl account to switch to a new account.")]
[EntityKeyProperty]
Guid? FromSubAccountID { get; set; }
Property Value
SplitTransactionID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.SplitTransaction, "ID", SingleJoinType.One, "Split Transaction", "Movements", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityDescription("The parent split transaction.")]
[EntityKeyProperty]
Guid SplitTransactionID { get; set; }
Property Value
ToGLAccountID
[Key] Links to IGLAccount. The glaccount to switched to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.One, "To GL Account", "Split Transaction GL Switch")]
[RequiredNoDefaultIDValidation]
[EntityDescription("The gl account to be switched to.")]
[EntityKeyProperty]
Guid ToGLAccountID { get; set; }
Property Value
ToSubAccountID
[Key] Links to IGLAccount. The glaccount to switched to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GLAccount, "ID", SingleJoinType.ZeroToOne, "To Sub Account", "Split Transaction GL Switch")]
[EntityDescription("The gl account to be switched to.")]
[EntityKeyProperty]
Guid? ToSubAccountID { get; set; }
Property Value
When
Indicates when this gl entry should be switched
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("Indicates when this gl entry should be switched")]
[EntityKeyProperty]
TransactionExistingGLMatch When { get; set; }
Property Value
Extension Methods