After Materialization Link Creation (DELPLMFProcessReference_BLInitMaterializationLinkID)

An opening ID is an entry point used to customize business logic. After Materialization Link Creation specifies the opening ID run after creation of a materialization link between an item and its materializing product.

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: DELPLMFProcessReference_BLInitMaterializationLinkID
Customization intent: Execution
Execution context:Client

Input Objects

Input objects must be of the following types:

  • ThisObject: Item reference on which the materialization link is set.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
iComputationMode Boolean ReadTRUE if the materializing product is computed and FALSE if it is set.

Sample

The following sample describes how to access the item reference on which the link is set.

Let Prcs (DELFmiFunctionReference)
Let Prd (VPMReference)
Let Name (String)
Let ComputationMode(Boolean)

set ComputationMode=Parameters->GetAttributeBoolean("iComputationMode")

/* Use ThisObject to access process reference from which link is set */
Set Prcs = ThisObject
Prd  = Prcs->GetProcessOutput()
If (Prd <> NULL)
	Prcs.V_Name = Prcs. V_Name + " with output process" 
Else
	Trace(1,"ERROR: init materialization link GetProcessOutput return NULL")