Suggested Capable Resource References for Manufactured Item (DELPPRCapableResourcesReferences_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run to return the list of suggested Capable Resource references for the current Manufactured Item reference.

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: DELPPRCapableResourcesReferences_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
InputProcessReference MfgProcessOccurrence ReadManufactured Item reference, for which the opening must return the list of suggested resource references.
RequestButtonVisibleStateOnlyBooleanRead For performance purposes. Request the opening to return the status for the visibility of the “Suggested” button in the panel, but no need to compute the list of suggested resource references.
OutputIsButtonVisibleBooleanWriteReturns if the “Suggested” button needs to be displayed in the panel.
OutputListOfResourceReferences ListWriteList of suggested resource references.

Sample

The following sample shows how to use the opening ID.

/* ---- input ---- */
Let InputProcessReference(MfgProcessOccurrence)    /* Process Reference */
Let RequestButtonVisibleStateOnly(Boolean)        /* RequestButtonVisibleStateOnly flag */

/* ---- output ---- */
Let IsButtonVisible(Boolean)
Let ListOfResources(List)

/* ---- RETRIEVE INPUT PARAMETERS ---- */
RequestButtonVisibleStateOnly = false
set RequestButtonVisibleStateOnly = Parameters.GetAttributeBoolean("RequestButtonVisibleStateOnly")
set InputProcessReference = Parameters.GetAttributeObject("InputProcessReference")

/* ---- CODE ---- */
/* CUSTOMER CODE SHOULD BE HERE */

/* ---- FILL OUTPUT PARAMETERS ---- */
set IsButtonVisible = false     /* HERE : set to "true" to unfreeze the suggestions list button  */
Parameters.SetAttributeBoolean("OutputIsButtonVisible", IsButtonVisible)
Parameters.SetAttributeObject("OutputListOfResourceReferences", ListOfResources)