Delete Check (PLMDeleteCheck)

An opening ID is an entry point used to customize business logic. Delete Check (PLMDeleteCheck) validates the possibility to delete an object. When the check fails, a message can be provided to the end user, explaining the reason why.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

Environment: On premises only

General Information

This opening ID is called when deleting an object.

The table below provides you with information related to the definition of the Opening ID.

PLM Opening ID: PLM_DELETE_CHECK
Customization intent: Validation
Execution context:Client Only

Input Objects

Input objects must be of the following types:

  • ThisObject
  • Validation

Context Object Parameters

Parameter NameTypeRead/WriteComments
ThisObjectPLM Object, Feature... ReadObject on which the delete operation is currently launched.
PolicyStringReadPolicy name.

Sample

The following sample determines whether the object can be deleted or not, according to the customer customization.

If (ThisObject.V_description == "Test")
{
validation = TRUE
}
else
{
validation = FALSE
}