Origin Status (DELPPRHistorizationStatus_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run to return the status of the Origin reference object.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: Item/System/Operation reference, current object.
  • Parameters: Corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
HistorizationRefPLMEntityReadItem / System / Operation reference, defined as Origin of the current object.
StatusValueStringWrite Status of the Origin object, to be displayed in the Origins panel.

Sample

The following sample shows how to use the opening ID.

/* ---- input ---- */
Let ThisObjectRef(PLMEntity)
Let HistorizationObjectRef(PLMEntity)
Let StatusValue(String)

Set HistorizationObjectRef = Parameters.GetAttributeObject("HistorizationRef")
Set ThisObjectRef = ThisObject

StatusValue = "Not Loaded"
if (HistorizationObjectRef <> NULL)
{
    StatusValue = "OK"
}

if ( true == Parameters.HasAttribute("StatusValue"))
{
    Parameters.SetAttributeString("StatusValue", StatusValue)
}