Interface IInstrumentCapitalAccountDataSetting
The system entity for an instrument capital account data setting
See https://web.lemonedge.com/help/instrument-capital-account-data-settings/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.InstrumentCapitalAccountDataSetting, "dbo.LT_InstrumentCapitalAccountDataSettings", "InstrumentCapitalAccountDataSetting", IsStandingDataEntity = false, HelpURL = "instrument-capital-account-data-settings")]
[DefaultEntityIcon(ImageType.Contract)]
public interface IInstrumentCapitalAccountDataSetting : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CapitalAccountDataSplitOverride
Indicates the Rule used to allocate the Transaction Values through the Allocation Path can use either of these Values: A amount, or B amount
Declaration
[EntityProperty(SQLType.SmallInt, true)]
[EntityDescription("Overrides the default split to use when allocating amounts from this instrument in capital account data generation for period ends.")]
AllocationType? CapitalAccountDataSplitOverride { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AllocationType> |
ExcludeFromCapitalAccountData
Indicates all Transactions against this Instrument should be excluded from Period End calculations
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if this instrument should be excuded from capital account dataitem generation. By default all instruments are included.")]
bool ExcludeFromCapitalAccountData { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InstrumentID
[Key] Links to IInstrument. The Instrument to modify the default behavior for when Transactions against it are processed in a Period End calculation.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Instrument, "ID", SingleJoinType.One, "Instrument", "Capital Account Data Settings", DeleteWithRelationship = true, PartOfParentSet = true)]
[EntityDescription("The instrument these settings apply to for period end capital account data generation.")]
Guid InstrumentID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |