Pre Check Import Creation (PLMPreCheckImportCreate)

An opening ID is an entry point used to customize business logic. Pre Check Import Creation describe conditions to be satisfied before operating the import, to prevent the operation. 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 invoked before the import of a PLM Component resulting in its creation.

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

Opening ID: PLMPreCheckImportCreate
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
PolicyString ReadPolicy name.

Sample

The following sample shows you how to check if the object has a description.

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

/* ------------------------------------- */
/* By default, we validate the operation */
/* ------------------------------------- */
Validation = true

/* ---------------------------------------------------------------- */
/*    If the object has no description, we unvalidate the creation  */
/* ---------------------------------------------------------------- */
If (ThisObject.V_description =="")
         Validation = false