eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:transformation:mappings:funktionen:custom:start

Custom Mapping functions

Analogous to the integration of individual Custom-Objekt-Klassen and Creating a CustomJobStep, eBiss also offers the possibility to extend the scope of Functions. Whether a specific function needs to be developed can only be determined after a detailed examination of the requirement. Pranke GmbH is available for inquiries of this kind.

Note:: Before you consider a custom mapping function, we recommend that you search in the XQuery 1.0 and XPath 1.0 Functions and Operators1) to make sure there's not already a way to do that.

Samples

C# Code for plugin with various custom mapping functions.

  • ValidateGLN() to validate the GLN/ILN numbers 2).
  • ValidateBarcode() validates any barcode ID
  • Abs() calculates the absolute amount of a number.
  • Map.Functions.CountryCode('DE'), loads the country code from a user defined table/view from current eBiss DB.
  • Map.Functions.CountryCodeFromDb('DE'), loads the country code from a user defined table/view from a different DB.
1)
https://www.w3.org/TR/xpath/all/, e.g. „upper-case() and lower-case() are XPath 2.0 function…“
2)
The length and the checksum are checked.
en/transformation/mappings/funktionen/custom/start.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1