Information Label on Item/System/Operation Occurrence – Attribute Values (DELPPRGetValueCustomizedInformation_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run to return the list of attribute values to display in the information label used in the grid editors.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: Item/System/Operation occurrence.
  • Parameters: Corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
InformationKeyStringRead Information to retrieve on the input object.
OutputInformationValueListWrite List of values corresponding to the information to retrieve.

Sample

The following sample shows how to use the opening ID.

/* ---- input ---- */
Let DescriptionValue(String)
Let PcsOcc(FProcessOccurrence)
Let SysOpOcc(ProdSystemOccurrence)
Let ThisObjectInstance(PLMEntity)
Let InformationKey(String)
Let ListDescriptionValue(List)

Set InformationKey = Parameters.GetAttributeString("InformationKey")
Set PcsOcc = ThisObject
Set SysOpOcc = ThisObject

if (PcsOcc <> NULL)
{
    ThisObjectInstance = PcsOcc.Instance
}
if (SysOpOcc <> NULL)
{
    ThisObjectInstance = SysOpOcc.Instance
}

if(InformationKey == "Description")
{
    if(true== ThisObjectInstance.HasAttribute("V_description"))
    {
        set DescriptionValue = ThisObjectInstance.GetAttributeString("V_description")
        if ( true == Parameters.HasAttribute("OutputInformationValue"))
        {
            ListDescriptionValue.Append(DescriptionValue)
           Parameters.SetAttributeObject("OutputInformationValue", ListDescriptionValue)
        }
    }
}