Skip to main content
Skip table of contents

Macro's to use for error mails

When defining the template used to send error mail you have the following macroes available to use:

  • {DocumentNumber}

    • Will insert the Document number from the document if available. Could be the Invoice number or the Order number depending on the document type

  • {DocumentsId}

    • Will insert the Document Id of the failed document if available. If it fails before the interchange is disassembled then

  • {InterchangeInId}

    • Will insert the InterchangeIn Id of the failed document.

  • {Timestamp}

    • Will insert the date and time of the error in the format dd-MM-yyyy HH:mm:ss (e.g. 26-10-2024 15:30:29)

  • {Exception}

    • Full exception information. Might contain stacktrace and code

  • {TechnicalDescription}

    • Technical description from the error code

  • {PossibleCause}

    • Possible cause from the error code

  • {PossibleSolution}

    • Possible solution from the error code

  • {ErrorCode}

    • Specific error code

  • {ExceptionCategory}

    • Error category name the error code is configured to belong to

  • {DocumentType}

    • The document type of the document if known at the error time. E.g. “Sales Order” or “Sales Invoice”.

  • {StakeHolder}

    • Name of the stakeholder the error is assigned to

  • {ReceiverPartnerName}

    • Name of the receiver partner

  • {SenderPartnerName}

    • Name of the sending partner

  • {ReceiverPartnerContact}

    • Name of the first technical contact of the receiving partner

  • {SenderPartnerContact}

    • Name of the first contat of the sending partner

  • {LinkUrl}

    • A link to the document or interchange that failed

  • {ExceptionMessage}

    • The short exception message.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.