Type for Implicit Creation of Operation (DELMIA_SysOpeCustomizedType_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run to return the expected subtype of operation when an operation is implicitly created.

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 IDDELMIA_SysOpeCustomizedType_ID
Customization intent Execution
Execution contextClient

Input Objects

Input objects must be of the following types:

  • Parameters: Corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
iLinkedObjectFeatureReadMfgItem/Resource occurrence, Implemented MfgItem or Implementing Resource
iParentObjectProdSystemOccurrenceReadSystem/Operation occurrence, parent of the new created operation
iTypeStringReadDefault type for the created operation
iCauseStringRead(IN) = String, reason of the implicit operation creation (ImplementLinksFromProcess or ImplementLinksFromResource).
oTypeStringWrite(OUT) = String, type of the operation to create (must be a sub-type of iType)

Sample

The following sample shows how to use the opening ID.

/* ---- input ---- */
Let LinkedObject(Feature)               /* the occurrence of the implemented or implementing object */
Let ParentObject(ProdSystemOccurrence)  /* the occurrence of the parent of the operation to create (can be a System or an Operation) */
Let InputCause(String)                  /* ImplementLinksFromProcess or ImplementLinksFromResource */
Let InputType(String)                   /* the OOTB type of the operation to create */

/* OUTPUTS DEFINITION*/
Let OutputType(String)                  /* the specialized type of the operation to create */

/* RETRIEVE INPUT PARAMETERS*/
if ( true == Parameters.HasAttribute("iLinkedObject"))
    set LinkedObject= Parameters.GetAttributeObject("iLinkedObject")

if ( true == Parameters.HasAttribute("iParentObject"))
    set ParentObject= Parameters.GetAttributeObject("iParentObject")

if ( true == Parameters.HasAttribute("iCause"))    
    set InputCause= Parameters.GetAttributeString("iCause")
    
if ( true == Parameters.HasAttribute("iType"))        
    set InputType = Parameters.GetAttributeString("iType")
    
/* By default we put the input type */
if (NULL <> InputType)
    Parameters.SetAttributeString("oType",InputType)