Inhaltsverzeichnis

AddErrorIssue

This function outputs an error message defined by the user for a particular error. The first parameter is defined as the error message, optionally a reference number can be passed as a second parameter. If this error occurs, the user-defined error message is displayed in the log. If the mapping is used within a running job, a task is created in addition to the log entry if an error occurs.

Syntax:

AddErrorIssue('error description')
AddErrorIssue('error description', 'Affected element')

Sample

This example describes a scenario in which EDIFACT PRICATS in eBiss. Retail. MiddleWare translates and its contents (article positions) are then updated in the ArticlePool. The article data records should be checked for completeness with regard to all necessary characteristics (article number, EAN, size, color, product group, price, currency) by means of an additional mapping.

In order to be able to output (e. g. missing EAN in position 6, or missing price in position 7) a suitable error message, the mapping function “AddErrorIssue” was created.

mappingfunktionen_allg_adderrorissue.jpg

See also