Interface ISplitTransactionLine
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.SplitTransactionLine, "dbo.LT_SplitTransactionLines", "SplitTransactionLine", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.Tax)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.Transaction, "ParentItemID", "ID", ExcludeFromRelationship = true)]
public interface ISplitTransactionLine : ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
AutoInstrument
Indicates how the system should automatically use or create an instrument if InstrumentID is not separately specified
Declaration
[EntityProperty(SQLType.SmallInt, false, "0")]
[EntityDescription("Indicates how the system should automatically use or create an instrument if InstrumentID is not separately specified")]
SplitTransactionLineNewInstrument AutoInstrument { get; set; }
Property Value
Type | Description |
---|---|
SplitTransactionLineNewInstrument |
EntityID
Links to IObjectEntity. An optional legal entity this split transaction is being booked against, if null the source transaction entity is used for each split transaction
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.ZeroToOne, "Entity", "Split Transaction Lines", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("An optional legal entity this split transaction is being booked against, if null the source transaction entity is used for each pslit transaction")]
Guid? EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
HasRounding
Indicates when allocating values across split transactions according to their split ratio, that this line should take the remainder from any rounding issues
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates when allocating values across split transactions according to their split ratio, that this line should take the remainder from any rounding issues")]
bool HasRounding { get; set; }
Property Value
Type | Description |
---|---|
bool |
InstrumentID
Links to IInstrument. An optional financial instrument this split transaction operates against, if null the source transaction financial instrument is used for each split transaction
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Instrument, "ID", SingleJoinType.ZeroToOne, "Instrument", "Split Transaction Lines", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("An optional financial instrument this split transaction operates against, if null the source transaction financial instrument is used for each split transaction")]
Guid? InstrumentID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
PathID
Links to IAllocationPath. An optional path this split transaction operates against, if null no path is used and it is dynamically determined from instrument mappings
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.AllocationPath, "ID", SingleJoinType.ZeroToOne, "Allocation Path", "Split Transaction Lines", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("An optional path this split transaction operates against, if null no path is used and it is dynamically determined from instrument mappings")]
Guid? PathID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
SplitRatio
The ratio, or percentage, to use for the values of each split transaction created.
Declaration
[EntityProperty(SQLType.Decimal, 31, 18, false)]
[EntityDescription("The ratio, or percentage, to use for the values of each split transaction created.")]
decimal SplitRatio { get; set; }
Property Value
Type | Description |
---|---|
decimal |
SplitTransactionID
The parent split transaction
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.SplitTransaction, "ID", SingleJoinType.One, "Parent Split Transaction", "Lines", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = true)]
[EntityDescription("The parent split transaction .")]
[RequiredNoDefaultIDValidation]
Guid SplitTransactionID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TransactionDate
An optional date to use for the transaction, if null the source transaction date is used instead for each split transaction
Declaration
[EntityProperty(SQLType.DateTimeOffset, true, IsDate = true)]
[EntityDescription("An optional date to use for the transaction, if null the source transaction date is used instead for each split transaction")]
DateTimeOffset? TransactionDate { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |