Pre Check Transfer Ownership (PLMPreCheckTransferOwnership)

An opening ID is an entry point used to customize business logic. Pre Check Transfer Ownership (PLMPostCheckTransferOwnership) validatse finally the operation based on the information found on the component. 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 after transferring the ownership a component, and after having potentially called the Transfer Ownership Action business logic that may have modified some of its attributes.

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

Opening ID: PLMPreCheckTransferOwnership
Customization intent: Validation
Execution context:Server

Input Objects

Input objects must be of the following types:

  • ThisObject
  • Parameters corresponds to the context object.
  • Validation

Context Object Parameters

Parameter NameTypeRead/WriteComments
PolicyStringReadPolicy name.

Sample

The following sample shows you how to check the object description using the PLMPreCheckTransferOwnership rule.

/*The following rule is an example of what can be done*/

/* ----------------- */
/*      Declare      */
/* ----------------- */
Let DescriptionValue=""
Let Idx=-1

/* ----------------------------------------------------------------------------- */
/*    Retrieves the object description and searches for specific string sequence  */
/* ----------------------------------------------------------------------------- */
DescriptionValue = ThisObject->GetAttributeString("V_description")
Idx = DescriptionValue->Search("input description")

if (Idx >= 0)
          Validation = true
else
          Validation = false