ItemReject

ItemReject rejects a source record and places it in the error log, along with a specified error message.

This function is valid in TM1® TurboIntegrator processes only.

When ItemReject is executed in the Prolog of a process, any code following the ItemReject function in the Prolog is skipped and the process proceeds directly to the next procedure in the TurboIntgerator process.

Syntax

ItemReject(ErrorString);
Table 1. ItemReject arguments

Argument

Description

ErrorString

The error message you want written to the error log when a record is rejected.

Example

ItemReject(' Value outside of acceptable range.');

This example places a source record in the error log, along with the error message Value outside of acceptable range. when the source record contains a value that is beyond a defined range.