List Possible Attribute Values (PPRSpreadsheetListPossibleAttributeValues_ID)

An opening ID is an entry point used to customize business logic. List Possible Attribute Values specifies the opening ID run to provide a list of possible values to edit one attribute.

Note: For more information about customization by business rules, see Customization by Business Rules.

This page discusses:

General Information

The table below provides you with information related to the definition of the opening ID.

Definition Description
PLM Opening ID PPRSpreadsheetListPossibleAttributeValues_ID
Customization Intent Execution
Execution Context Client

Input Objects

Input objects must be of the following type:

ThisObject: item, system, or operation occurrence.

Context Object Parameters

Parameter Name Type Read or Write Comments
iAttributeID String Read Attribute ID on which to provide a list of possible values for edition
oAttributePossibleValues List Write List of possible values for edition

Sample

/* ----------------- */
/* Declare Variables */
/* ----------------- */
Let strAttributeID(String)
Let ListAttributePossibleValuesStr(List)
/* ------------------------ */
/* Get the inputs to the BL */
/* ------------------------ */
strAttributeID = Parameters->GetAttributeString("AttributeID")

/* ---------------------------------------------------------- */
/* Process to provide list of possible values                */
/* --------------------------------------------------------- */
if(ThisObject->HasAttribute("V_description") == true)
{
	ListAttributePossibleValuesStr->Append("TEST1")
	ListAttributePossibleValuesStr->Append("TEST2")
	ListAttributePossibleValuesStr->Append("TEST3")
	ListAttributePossibleValuesStr->Append("TEST4")
	ListAttributePossibleValuesStr->Append("TEST5")
}
/* --------------------------- */
/* Return Possible Values list */
/* --------------------------- */
Parameters->SetAttributeObject("AttributePossibleValues", ListAttributePossibleValuesStr)