Define M3 API error messages to ignore

M3 APIs return error when an issue occurs during execution. However, few APIs also return error when no records exists that is to be returned. Such errors returned by the APIs in the standard M3 integration are captured by the M3 import/export programs and ignored. This is a feature built in the software.

In many cases, different APIs return different error codes when no records exist. This change allows users to maintain a list of error codes to ignore. For custom API calls, it is now possible to add the error code to the ignore list and the M3 import program may not consider it as error anymore.

All the error codes that are returned from the APIs used in the standard integration are part of the program software. Therefore, no pre-defined list of errors is delivered.

The list is maintained using the new SM_M3_API_ERROR_IGNORE_LIST Planning Configuration table. Ensure that the entries in this list must be validated and valid to be considered by the M3 import/export programs.

The new SCV entity has been added:

  • M3_API_ERROR_IGNORE_LIST

The new SCV table has been registered:

  • SM_M3_API_ERROR_IGNORE_LIST

The new SCV LOV has been added:

  • Generic String Comparison Operators

The new SCV constraint has been added:

  • BASE_SM_M3_API_ERROR_IGNORE_LIST_PK

These new SCV validation rules have been added:

  • Base PlanConf M3APIERR PK
  • Base PlanConf M3APIERR Operator

The new macro has been added:

  • SCV - M3 Validate M3 API Error Ignore List (Planning Configuration)

This feature is enabled after appending the base for M3 template (base for M3.zip) for this version.

Note: By default, this feature is enabled. No additional role or privilege is required to access this feature.