Before Item-Product Scope Removal (DELMA_RemovableProcessScopeValidation_ID)

An opening ID is an entry point used to customize business logic. Before Item-Product Scope Removal specifies the opening ID run to determine if a Item-Product scope can be removed.

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

Input Objects

Input objects must be of the following types:

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

Context Object Parameters

Parameter NameTypeRead/WriteComments
ValidationBoolean WriteTRUE if the Item-Product scope can be removed and FALSE otherwise.

Sample

The following sample determines if an Item-Product scope can be removed.

Let iProcess(DELFmiFunctionReference)
Let ProcessName(String)
Let ProcessTest(String)

Validation = true

set iProcess = ThisObject
if ( NULL <> iProcess)
{
   ProcessName = iProcess->GetAttributeString("V_Name ")
   ProcessTest=ProcessName.Extract(0,3)
   if (ProcessTest <> "Yes")
   {
      Validation = false
    }
}