Product or Part is an End Item (DELMA_EndItemTesting)

An opening ID is an entry point used to customize business logic. Product or Part is an End Item specifies the opening ID run to determine if a product or a part is an End Item.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: Part reference on which the test is done.
  • Parameters corresponds to the context object.
  • Validation

Context Object Parameters

Parameter NameTypeRead/WriteComments
ValidationBoolean WriteTRUE if the part is an End Item and FALSE otherwise.

Sample

The following sample determines if a part is an End Item or not.

Let iPartReference(Part)
Let AttValue(String)
Validation = true
set iPartReference = ThisObject
if ( NULL <> iPartReference)
{
  if (iPartReference->HasAttribute("End Item") == true)
  {
    AttValue = iPartReference->GetAttributeString("End Item")
    if (AttValue <> "Yes")
    {
	   Validation = false
    }
  }
}