Targets and types
EVA boasts an extensive range of event export targets, which all have their own specific types. This page will give you an overview of all the targets available and several real-life examples to go with it.
The following table shows the complete list of all targets. Optionally, you can use GetEnumValues
and enter EventExportTarget
.
As for the event types, the list we would have to create would be immense. So if you want to take a look at the kind of event types available, call GetEventExportTargetTypes with one of your preferred targets. List
calls are available to some target types as well, such as ListCashDeposits
.
Examples
To give you a sense of the kind of information included in various events, we've got some basic examples lined up.
If there's an IsSystemGenerated property, it indicates whether or not the order is an order generated by EVA to mirror an existing sales or purchase order in POSO or SOPO flows.
{
"UID": "b107a139-c641-479c-a164-d333f3d414e7",
"CreationTime": "2021-08-25T16:03:54.777Z",
"TimeZone": null,
"Target": "Order",
"EventType": "created",
"Identifier": "62",
"BackendID": null,
"BackendSystemID": null,
"Region": "euw",
"Data": {
"IsSystemGenerated": false
},
"Attempt": 1
}
{
"UID": "2eb8696f-2278-464a-9395-c01883d72c73",
"CreationTime": "2020-10-23T15:22:04.79Z",
"TimeZone": "Europe/Amsterdam",
"Target": "Shipment",
"EventType": "shipped",
"Identifier": "120",
"BackendID": "SHIPMENT123",
"BackendSystemID": "WMS"
}
{
"UID": "1fe03b2b-d9f9-429f-a33d-dd7a80b515c7",
"CreationTime": "2020-11-11T22:35:39.363Z",
"TimeZone": "Europe/Amsterdam",
"Target": "PaymentTransaction",
"EventType": "confirmed",
"Identifier": "0",
"BackendID": "34dcbc697110d6f27f41429f4f4",
"BackendSystemID": "PUSH"
}
{
"UID": "79a34b6a-40b9-4868-8a1b-5944b503c503",
"CreationTime": "2020-09-21T14:26:51.757Z",
"TimeZone": "Europe/Berlin",
"Target": "Order",
"EventType": "blob_attached",
"Identifier": "203",
"BackendID": "yourownorderID",
"BackendSystemID": "WEBSHOP",
"Data": {
"BlobID": "9903ED01-A73C-4874-8ABF-D2678E3AE23D"
}
}
Stock event flow deep dive
In most cases, the basic examples here above are enough to show you what an event looks like.
Because we're feeling particularly masochistic however, here's an entire flow - consisting of 19 events - which shows what happens from the creation of a PO to its receipt in the store.
For some additional context, in this situation we started out with two kinds of products, but only received one of the two while completing the receipt/order. This way the flow also displays some cancellation events.
{
"UID":"155c86d3-6f1d-41cc-b9a1-de06a2ea8cb3",
"CreationTime":"2023-03-24T08:23:50.1393393Z",
"TimeZone": null,
"Target":"Order",
"EventType":"created",
"Identifier":1322,
"BackendID":"EventEx2",
"BackendSystemID":null,
"Region":"euw",
"Data":{
"IsSystemGenerated":"false"
},
"Attempt":1
}
{
"UID":"8d4a79d3-7dec-4e8d-82ef-7994c20a84a1",
"CreationTime":"2023-03-24T08:29:41.8346067Z",
"TimeZone": null,
"Target":"Order",
"EventType":"placed",
"Identifier": 1322,
"BackendID":"EventEx2",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"IsSystemGenerated":"false"
},
"Attempt":1
}
{
"UID":"ba2ab3a8-0c2c-489c-b142-aa75fd5be8cd",
"CreationTime":"2023-03-24T08:29:41.9541448Z",
"TimeZone": null,
"Target":"Order",
"EventType":"confirmed",
"Identifier":"1322",
"BackendID":"EventEx2",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"IsSystemGenerated":"false"
},
"Attempt":1
}
{
"UID":"a7c3e795-c53b-495d-a73e-41c00fa89358",
"CreationTime":"2023-03-24T10:14:10.8252757Z",
"TimeZone": null,
"Target":"Shipment",
"EventType":"created",
"Identifier": 186,
"BackendID":"StockEx2Shipment",
"BackendSystemID": null,
"Region":"euw",
"Data": null,
"Attempt":1
}
{
"UID":"e52e1f39-7804-4d87-a8f0-c2cff13d122e",
"CreationTime":"2023-03-24T10:47:45.8480108Z",
"TimeZone":null,
"Target":"Order",
"EventType":"ledger_created",
"Identifier":1326,
"BackendID":"StockEx5",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"LedgerType":"Shipped"
},
"Attempt":1
}
{
"UID":"65f3c537-7176-4b54-aef5-5a6989b144b2",
"CreationTime":"2023-03-24T10:47:45.8818842Z",
"TimeZone":null,
"Target":"Shipment",
"EventType":"shipped",
"Identifier": 187,
"BackendID":"StockEx5Shipment",
"BackendSystemID": null,
"Region":"euw",
"Data": null,
"Attempt":1
}
{
"UID":"2a438fb7-36f5-4d96-8426-0542ab198afa",
"CreationTime":"2023-03-24T10:47:45.8841424Z",
"TimeZone":"Europe/Amsterdam",
"Target":"UserTasks",
"EventType":"created",
"Identifier": 1045,
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"OrganizationUnitID":"9",
"UserTaskTypeID":"13",
"UserTaskSubTypeID": null
},
"Attempt":1
}
{
"UID":"b6771f2b-babb-48a0-96d5-6dc311ea3304",
"CreationTime":"2023-03-24T10:47:45.8956054Z",
"TimeZone": null,
"Target":"Order",
"EventType":"shipped",
"Identifier": 1326,
"BackendID":"StockEx5",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"IsSystemGenerated":"false"
},
"Attempt":1
}
{
"UID":"59981de3-0147-4774-b1e4-d8f42df8bea7",
"CreationTime":"2023-03-24T10:47:45.8991726Z",
"TimeZone": null,
"Target":"StockMutation",
"EventType":"created",
"Identifier": 501,
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"Product":{
"ID":"74",
"BackendID":013-1-978020137056
},
"OrganizationUnit":{
"ID":"11",
"BackendID":"lelystad_warehouse"
},
"Reason":"SentBySupplier",
"Quantity":"-15",
"SourceStockLabel":"Sellable",
"DestinationStockLabel":"Sellable",
"Type":"Adjust",
"OrderLineID": 1814
"QuantityOnHand": 124
},
"Attempt":1
}
{
"UID":"686085dc-09e3-414f-a98f-4389146719d7",
"CreationTime":"2023-03-24T10:47:45.9132345Z",
"TimeZone": null,
"Target":"StockMutation",
"EventType":"created",
"Identifier":"499",
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"Product":{
"ID": 14,
"BackendID": 002-1-978020137008
},
"OrganizationUnit":{
"ID":"11",
"BackendID":"lelystad_warehouse"
},
"Reason":"SentBySupplier",
"Quantity":"-20",
"SourceStockLabel":"Sellable",
"DestinationStockLabel":"Sellable",
"Type":"Adjust",
"OrderLineID": 1813
"QuantityOnHand": 124
},
"Attempt":1
}
{
"UID":"5df398f6-d13a-4955-bb30-034e236fc0bc",
"CreationTime":"2023-03-24T10:47:45.9434689Z",
"TimeZone":"Europe/Amsterdam",
"Target":"StockMutation",
"EventType":"created",
"Identifier": 502,
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"Product":{
"ID": 74,
"BackendID":013-1-978020137056
},
"OrganizationUnit":{
"ID": 9,
"BackendID":"almere_store"
}
"Reason":"InTransit",
"Quantity": 15,
"SourceStockLabel":"Transit",
"DestinationStockLabel":"Transit",
"Type":"Adjust",
"OrderLineID": 1814
},
"Attempt":1
}
{
"UID":"2a6078e6-6bba-4b5e-aa7d-7c9c9cacdaa6",
"CreationTime":"2023-03-24T10:47:45.9626382Z",
"TimeZone":"Europe/Amsterdam",
"Target":"StockMutation",
"EventType":"created",
"Identifier": 500,
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"Product":{
"ID":14,
"BackendID": 002-1-978020137008
},
"OrganizationUnit":{
"ID": 9,
"BackendID":"almere_store",
},
"Reason":"InTransit",
"Quantity": 20,
"SourceStockLabel":"Transit",
"DestinationStockLabel":"Transit",
"Type":"Adjust",
"OrderLineID":"1813"
},
"Attempt":1
}
{
"UID":"47022d33-a00b-44e2-9cb0-294468e95597",
"CreationTime":"2023-03-24T11:03:05.9854933Z",
"TimeZone": null,
"Target":"Order",
"EventType":"ledger_created",
"Identifier": 1326,
"BackendID":"StockEx5",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"LedgerType":"SplitLine"
},
"Attempt":1
}
{
"UID":"62a312af-6de6-4eb2-af17-fb83fbf486c7",
"CreationTime":"2023-03-24T11:03:06.1618188Z",
"TimeZone": null,
"Target":"Order",
"EventType":"cancelled",
"Identifier": 1326,
"BackendID":"StockEx5",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"IsSystemGenerated":"false"
},
"Attempt":1
}
{
"UID":"8978a6e2-be3f-4875-8c29-ba4d192c3d50",
"CreationTime":"2023-03-24T11:03:06.1660419Z",
"TimeZone": null,
"Target":"Order",
"EventType":"lines_cancelled",
"Identifier": 1326,
"BackendID":"StockEx5",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"FullyCancelledOrderLineIDs":[
"0":1814
],
"PartiallyCancelledOrderLineIDs": null
},
"Attempt":1
}
{
"UID":"b682003f-790b-4374-a249-11aa2bcca52f",
"CreationTime":"2023-03-24T11:03:06.1818537Z",
"TimeZone":null,
"Target":"Order",
"EventType":"ledger_created",
"Identifier": 1326,
"BackendID":"StockEx5",
"BackendSystemID": null,
"Region":"euw",
"Data":{
"LedgerType":"Cancelled"
},
"Attempt":1
}
{
"UID":"129283e0-80d1-4d16-b040-ea94733bc78b",
"CreationTime":"2023-03-24T11:03:06.1841922Z",
"TimeZone": null,
"Target":"Shipment",
"EventType":"received",
"Identifier": 187,
"BackendID":"StockEx5Shipment",
"BackendSystemID": null,
"Region":"euw",
"Data":null,
"Attempt":1
}
{
"UID":"3d158591-6d8c-4e3a-92d5-d10516f28fc6",
"CreationTime":"2023-03-24T11:03:06.1869818Z",
"TimeZone":"Europe/Amsterdam",
"Target":"StockMutation",
"EventType":"created",
"Identifier": 503,
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"Product":{
"ID": 14,
"BackendID":002-1-978020137008
},
"OrganizationUnit":{
"ID": 9,
"BackendID":"almere_store",
"Reason":"Received",
"Quantity": 20,
"SourceStockLabel":"Transit",
"DestinationStockLabel":"Sellable",
"Type":"Move",
"OrderLineID": 1813
}
},
"Attempt":1
}
{
"UID":"c1190611-fc68-4966-918a-cf39d27509ea",
"CreationTime":"2023-03-24T11:03:06.1947741Z",
"TimeZone":"Europe/Amsterdam",
"Target":"StockMutation",
"EventType":"created",
"Identifier": 504,
"BackendID": null,
"BackendSystemID": null,
"Region":"euw",
"Data":{
"Product":{
"ID": 74,
"BackendID":013-1-978020137056
},
"OrganizationUnit":{
"ID": 9,
"BackendID":"almere_store",
"Reason":"ReceiptDeficiency",
"Quantity":"-15",
"SourceStockLabel":"Transit",
"DestinationStockLabel":"Transit",
"Type":"Adjust",
"OrderLineID": 1814
}
},
"Attempt":1
}
Note that the order of events published is NOT guaranteed to be sequential: always validate this before overwriting your absolute stock levels.