Rename Output Products during Generation of System/Operation Output (DELOutputCurrentUnitName_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run during System/Operation output generation. It is used to rename a product inside the output product. The name is supported by modification of a single attribute from the IdSet.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: Product occurrence owned directly (managed section) or indirectly (Input section).
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
SectionInteger Read

Indication of the Output section the occurrence belongs to:

1: Managed section

2: Input section

OperationSystemListList (size=1)Read Gives the nearest operation occurrence implementing this product through an implement link or gives the nearest system occurrence implementing this product through a scope.
ProcessListList (size=1)Read

Gives the nearest process occurrence implementing this product through an implement link,

or gives the nearest process reference implementing this product through a scope,

or gives the nearest process reference or occurrence. implementing this product through a “Set Output”

ProductListList (size=1)Read Gives the product (as seen as design) corresponding to this product as seen as Output.
StatusIntegerWrite Returns 0 if the Business Logic went well, and <> 0 if not.

Sample

The following sample shows how to use the opening ID.

Let status(Integer)

Let customizedName(String)
Let fromIdSetAttName(String)
Let firstItemfromList(PLMEntity)    /* used in each list */
Let thisPLMEntity(DatabaseObjectType)    /* the product inside Output */


Let Section(Integer)    /* the section involved*/

Let OperationSystemList(List)
Let ProcessList(List)
Let ProductList(List)

Set customizedName = ""
Set fromIdSetAttName = ""
Set status=0

/* your code here*/

Parameters.SetAttributeInteger ("Status", status)