Validate/Filter Candidate Elements for Analysis (L2P_ValidateCandidatesForAnalysis)

An opening ID is an entry point used to customize business logic. The Validate/Filter Candidate Elements for Analysis opening ID is available in the Logical to Physical Assistant Resources resource set.

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

This opening ID is invoked to filter the selected logical or physical elements to be analyzed.

Definition Description
PLM Opening ID L2P_ValidateCandidatesForAnalysis
Customization intent Computation
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
ListInputObjects List Read List of logical and/or physical occurrences of objects that are considered to be analyzed.
ListOutputBoolean List Write List of Booleans (True/False) set mapping ListInputObjects in this Rule indicating if the objects are valid for analysis.

Sample

let iList(List)
let oList(List)
let index(Integer)
let lsize(Integer)
let inputOcc(ProductOccurrence)
let logocc(LogicalOccurrence)
let logInst(RFLVPMLogicalInstance)
let sName(String)
set iList = Parameters.GetAttributeObject("ListInputObjects")
index = 1
set lsize = iList.Size()
for index while index <= lsize
{
	set  logocc = iList.GetItem(index) 
	if (NULL <> logocc)
	{
		sName = logocc.Name
		if(sName == "Rejected_Equipment") 
		{
			oList.Append(false)
		}
		else
		{
			oList.Append(true)
		}
	}
}
Parameters.SetAttributeObject("ListOutputBoolean", oList )