Specialized Type of Item to Create (DELMA_ProcessReferenceSpecializedType_ID)

An opening ID is an entry point used to customize business logic. Specialized Type of Item to Create specifies the opening ID run to determine the specialized type of item to create.

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

Input Objects

Input objects must be of the following types:

  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
iImplementedObjectObject Read Gives the implemented object (may be null) that will be assigned to the item to create.
iTypeStringRead Gives the identifier of the OOTB type of the item to create.
iFatherContextMfgProcessOccurrenceReadItem occurrence under which the item to create will be instantiated.
oTypeStringWrite Gives the identifier of the specialized type of the item to create.

Sample

The following sample determines the specialized type of the item to create.

/* INPUTS */
Let ImplementedObject(ProductOccurrence)        /* the occurrence of the implemented part */
Let InputType(String)                           /* the OOTB type of the reference to create */

/* OUTPUTS */
Let OuptutType(String)                          /* the specialized type of the reference to create */

set ImplementedObject= Parameters->GetAttributeObject("iImplementedObject")
set InputType = Parameters->GetAttributeString("iType")

/* By default we put the input type */
Parameters->SetAttributeString("oType",InputType)