safetms

Custom checks

Implementing a check

Before executing a transport, Safe TMS runs various checks to reduce the risks regarding your live system(s).

Naturally; you would want to implement your own additional checks - each company has its own rules and regulations.

Here are the steps to create a custom check:

You can run a “Where Used List” on YIF_SAFETMS_OBJ_REL_REQ_DECOR to see the standard checks of Safe TMS, and code your class in a similar fashion.

Implementing an auto-fix

Safe TMS provides auto-fixes for some of the warnings generated during checks. For example; it can automatically include related objects into the transport if you click the “Auto-Fix” button on the GUI.

If your custom check can provide an auto-fix as weel, here are the steps involved:

A typical example:

You can mimic the coding logic in those classes to implement your own.