After an Item Move (DELPLMFProcessInstance_BLInitAfterMoveID)

An opening ID is an entry point used to customize business logic. This opening ID is run after an item instance is moved.

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

This page discusses:

General Information

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

PLM Opening ID: DELPLMFProcessInstance_BLInitAfterMoveID
Customization intent: Execution
Execution context: Client

Input Objects

Input objects must be of the following types:

  • ThisObject: Item instance that is moved.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
iOriginalInstance ObjectType ReadThe original instance of the item.

Sample

The following sample describes how to access instance attributes after an item move.

/* Use ThisObject to access attributes on instance */

Let ProcInst(DELFmiFunctionInstance)
Let OriginalProcInst(DELFmiFunctionInstance)
Let OriginalName(String) 

set ProcInst = ThisObject

if ( true == Parameters.HasAttribute("iOriginalInstance"))
                set OriginalProcInst = Parameters->GetAttributeObject("iOriginalInstance")

set OriginalName = OriginalProcInst.PLM_ExternalID
OriginalName = OriginalName + " is rerouted"
ThisObject.PLM_ExternalID=OriginalName