eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:transformation:mappings:funktionen:allgemein:adderror

Table of Contents

AddError

This function outputs a user-defined error message for a specific error. The error message is defined as the first parameter, optionally a reference number can then be passed as the second parameter. If this error occurs, the user-defined error message is output in the log. If the mapping is used within a running job, a task is generated in addition to the log entry in case of an error.

The error code is a mandatory string that should start with 'C'1) and can be up to 16 characters long.

syntax:

AddError('ErrorCode', 'Error description', ['OrderReference'])

example:

AddError("C4711", "This is an Error with code 4711")
1)
Custom error
en/transformation/mappings/funktionen/allgemein/adderror.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1