Class SplitTransactionLine
Inheritance
SplitTransactionLine
Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
Syntax
[DataContract]
public class SplitTransactionLine : BaseEntity, ISplitTransactionLine, ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ISplitTransactionLine>
Constructors
SplitTransactionLine()
Declaration
public SplitTransactionLine()
Properties
AutoInstrument
Indicates how the system should automatically use or create an instrument if InstrumentID is not separately specified
Declaration
[EnumDataType(typeof(SplitTransactionLineNewInstrument))]
public SplitTransactionLineNewInstrument AutoInstrument { get; set; }
Property Value
Declaration
[NotMapped]
public string AutoInstrument_Tooltip { get; set; }
Property Value
CancelledID
Holds the original transactional entity record this record is cancelling.
Declaration
public Guid? CancelledID { get; set; }
Property Value
CorrectedByID
Holds the new transactional entity record this record is corrected by, if any.
Declaration
public Guid? CorrectedByID { get; set; }
Property Value
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
public Guid? EntityID { get; set; }
Property Value
EntityID_Label
Declaration
public string EntityID_Label { get; set; }
Property Value
EntityID_Label_Silent
Declaration
[NotMapped]
public string EntityID_Label_Silent { get; set; }
Property Value
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
public bool HasRounding { get; set; }
Property Value
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
public Guid? InstrumentID { get; set; }
Property Value
InstrumentID_Label
Declaration
public string InstrumentID_Label { get; set; }
Property Value
InstrumentID_Label_Silent
Declaration
[NotMapped]
public string InstrumentID_Label_Silent { get; set; }
Property Value
Locked
Indicates the current record is locked and can not be modified until it is unlocked.
Declaration
[Required]
public bool Locked { get; set; }
Property Value
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
public Guid? PathID { get; set; }
Property Value
PathID_Label
Declaration
public string PathID_Label { get; set; }
Property Value
PathID_Label_Silent
Declaration
[NotMapped]
public string PathID_Label_Silent { get; set; }
Property Value
SplitRatio
The ratio, or percentage, to use for the values of each split transaction created.
Declaration
public decimal SplitRatio { get; set; }
Property Value
SplitTransactionID
The parent split transaction
Declaration
[RequiredNoDefaultIDValidation]
public Guid SplitTransactionID { get; set; }
Property Value
SplitTransactionID_Label
Declaration
public string SplitTransactionID_Label { get; set; }
Property Value
SplitTransactionID_Label_Silent
Declaration
[NotMapped]
public string SplitTransactionID_Label_Silent { get; set; }
Property Value
Status
Indicates the current status of this transactional object.
By default GL entries aren't processed until an entity has a status >=
Committed.
Finalazied transactions can only be modified through cancel/correct logic
Declaration
[EnumDataType(typeof(TransactionStatus))]
public TransactionStatus Status { get; set; }
Property Value
Declaration
[NotMapped]
public string Status_Tooltip { get; set; }
Property Value
TransactionDate
An optional date to use for the transaction, if null the source transaction date is used instead for each split transaction
Declaration
public DateTimeOffset? TransactionDate { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(ISplitTransactionLine)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ISplitTransactionLine source)
Parameters
Implements
Extension Methods