Subscribing to Tinx integration events

Introduction to Integration events 

We have published several events. Publishing an event exposes it in the application. It provides hook up points for subscribers to register to the event, and eventually handle the event if it's raised. An event is published by adding an AL method that is set up as an event publisher.

Read more here about events and subscribing to events: 

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-raising-events

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-subscribing-to-events

Overview of the integration events

 
OnAfterValidateOrderRecordID(var TinxSalesOrder: record "TINX Sales Order")
The field 'Order Record ID' is filled with the RecordID of the Sales Header after successfully created on import.
 
OnAfterValidateTINXSalesLineIsCreated(var SalesLine: record "Sales Line")
Event when the Sales Line is created, can be used to fill additional fields which cannot be included in the mapping, for example complex calculations.
 
OnAfterInsertTINXSalesLine(var TinxSalesOrderLineV2: record "Tinx Sales Order Line V2")
Event in the process: when the individual order lines are imported from the external system.
 
OnAfterValidateLineIsComplete(var TinxSalesOrderLineV2: record "Tinx Sales Order Line V2")
Event in the process: set the field 'Is Complete' to true.
 
OnAfterValidateAMZOrderRecordID(var TINXAmazonSalesOrder: record "TINX Amazon Sales Order")
The field Order Record ID is filled after the Sales Header is successfully created on import.

 

Request for new integration events

If you are missing Integration Events, you can submit a request at support@tinx-it.nl. Describe precisely where the Integration Event is needed for.