Interface ITransactionCodeProcessor
The system entity for a transaction code processor, which holds custom processes to run during the processing of the transaction
See https://help.lemonedge.com/help/settings/financial-services-transactions/transaction-codes/processors-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.TransactionCodeProcessor, "dbo.LT_TransactionCodeProcessors", "TransactionCodeProcessor", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.Trigger)]
public interface ITransactionCodeProcessor : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CodeSnippetID
[Key] Links to ICodeSnippet. The transaction processor extender code snippet that implements custom logic for processing this transaction. Often used with custom transaction layout settings.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.CodeSnippet, "ID", SingleJoinType.ZeroToOne, "Code Snippet", "Processors", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = true, InheritPermissions = false)]
[EntityDescription("The transaction processor extender code snippet that implements custom logic for processing this transaction. Often used with custom transaction layout settings.")]
Guid? CodeSnippetID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
CustomAPIProcess
The API.Processors.Transactional.TransactionProcessorExtender you've created using our API that implements your custom logic.
Declaration
[EntityProperty(SQLType.NVarChar, 500, true)]
[EntityDescription("A custom TransactionProcessorExtender you've created using our API that implements your own custom logic.")]
string CustomAPIProcess { get; set; }
Property Value
Type | Description |
---|---|
string |
ExecuteIfProcessorIsIgnoreEvents
For contexts that have processors, such as transaction context, indicates the snippet should execute even if the processor is in the middle of ignoring events (such as because it's making changes causing the events)
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("For contexts that have processors, such as transaction context, indicates the snippet should execute even if the processor is in the middle of ignoring events (such as because it's making changes causing the events)")]
bool ExecuteIfProcessorIsIgnoreEvents { get; set; }
Property Value
Type | Description |
---|---|
bool |
Sequence
The order in which custom processors are executed in.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The order in which custom processors are executed in.")]
[EntitySequence]
short Sequence { get; set; }
Property Value
Type | Description |
---|---|
short |
TransactionCodeID
[Key] Links to ITransactionCode. The parent transaction code this processor is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.TransactionCode, "ID", SingleJoinType.One, "Transaction Code", "Processors", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = true, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
Guid TransactionCodeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |