Skip to main content

Mapping Manager - @ERROR() Function

Micah A. Parker avatar
Written by Micah A. Parker
Updated this week

Product: Mapping Manager


The @ERROR() function allows for you to provide a custom ERROR message which will display within Transaction Manager preventing the Transaction from Exporting acting as a hard-stop for custom Business Process needs

@ERROR()


@ERROR(Message)
Message: The message to return as the error

Notes

Note

The function will always execute whenever evaluated - wrap with a conditional function such as an IF_THEN_ELSE or a SWITCH

Examples

Provide Error if Item is missing Unit Price

This example checks a numeric field to see if it's either missing entirely, or come in as 0 - returning an error if no value is found

@IF_THEN_ELSE(T:Unit Price],=,0,@ERROR(Item is missing Unit Price),[T:Unit Price])

Error if no multiple fields are empty

This example can easily check multiple strings to see if a value is present, returning an error as a last result

@SWITCH([T:Buyer.Name],[T:Mark For.Name],@ERROR(No Buyer Name Marked))

rev 7/3/2025

Did this answer your question?