eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:transformation:mappings:funktionen:diffmappingfunktionen:start

DiffMapping Functions

An eBiss feature, with which you can recognize differences between the mapping of a document and its previous state and map them in such a way that only the parts of the data type that have actually changed or been deleted are passed on from the mapping. This can be used, for example, if two systems are to be integrated, but the referential integrity is to be guaranteed by means of eBiss.

Note: To delete obsolete documents in this context, there is the StatefulDocumentMessageCollector.

Application

Primary application of this functionality is the integration of applications, i.e. A2A1). But it can also be used in the EDI environment.
For example, a given CRM system expects the data on individual end points to be separated for each offer header and item and only for what is to be posted.
On the part of the booking system, this simplifies the interface enormously, because you can now specify directly at each data record whether it is an update/insert or a deletion, without the receiving system having to determine this beforehand and carry out the comparison itself.

Functions used

Additional prerequisites

The rest is done with eBiss on-board resources. The function LoadDocumentByOid loads the previous state of the document for comparison. The variables with “$$” store the complete trees for query. The simple query whether the position in the old document no longer occurs in the new one does the Delete case.

Document check

Does the document have a change? Then:

  1. Transmission of the header
  2. Comparison of the positions again with the build of a hash value
    1. If there is a difference, the target object is filled.

Diffmapping Example

An example of DiffMapping can be found in the folder ../eBiss3/StandardTemplates/DiffMapping (with comments), as well as sample data for the 3 variants and a repository for testing.

1)
Application to Application
en/transformation/mappings/funktionen/diffmappingfunktionen/start.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1