Interface ITransferTargetPartner
The system entity for a transfer targets, which records which entities the amounts are being transferred to
See https://help.lemonedge.com/help/financial-services-engine/financial/transfers/targets-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.TransferTargetPartner, "dbo.LT_TransferTargetPartners", "TransferTargetPartner")]
[DefaultEntityIcon(ImageType.Properties)]
public interface ITransferTargetPartner : ITransactionalEntity, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityID
[Key] Links to IObjectEntity. The Target Entity that will receive a portion of the Source Entities amounts from the Transfer
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "ObjectEntity", "Transfer Overrides")]
[EntityDescription("The entity to transfer the activity from the source entity to this one.")]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsRoundingEntity
If there is more than one Rounding Entity this specifies which one should receive all the rounding amounts.
Only one Transfer Target can be marked as the rounding entity.
Declaration
[EntityProperty(SQLType.Bit, false)]
[Required]
[EntityDescription("Indicates this entity is to be used for any rounding when multiple target entities are involved.")]
bool IsRoundingEntity { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TargetTransferPercent
The percentage of the Source Entity transferred amounts that the specified Entity receives from them
This is only needed when the amount of Transfer Targets are greater than one.If not 100% is given to that one Transfer Target.
Declaration
[EntityProperty(SQLType.Decimal, (short)31, (short)18, false)]
[Required]
[EntityDescription("Indicates the percentage to use when transferring activity from the source entity to this entity.")]
decimal TargetTransferPercent { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
TransferID
[Key] Links to ITransfer. The parent transfer these targets are a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Transfer, "ID", SingleJoinType.One, "Transfer", "Transfer Target Partners", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[EntityDescription("The parent transfer.")]
Guid TransferID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |