Allow/Prevent the Move of an Operation in the Structure (DELMSDCheckOperationMove_ID)

An opening ID is an entry point used to customize business logic. This opening ID is run before moving an operation in the structure to allow/prevent this move.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: ProdSystemOccurrence, Operation considered for move/balancing.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter NameTypeRead/WriteComments
InputTargetOccProdSystemOccurrence ReadTarget System or Operation on which the user wants to move the current operation.
OperationToTargetBalancingAllowedBooleanWrite TRUE if the operation is allowed to move and FALSE if not.
OutputMessageStringWrite Error message displayed if Validation is FALSE.

Sample

The following sample shows how to use the opening ID.

Let TargetToCheck(ProdSystemOccurrence)
Let OperationToTargetBalancingAllowed(Boolean)
Let StatusMessage(String)

/* by default operation can be balanced */
set OperationToTargetBalancingAllowed = true
set StatusMessage=""
set TargetToCheck = Parameters.GetAttributeObject("InputTargetOcc")

/* ---- FILL OUTPUT PARAMETERS ---- */
Parameters.SetAttributeBoolean("OperationToTargetBalancingAllowed", OperationToTargetBalancingAllowed)
Parameters.SetAttributeString("OutputMessage", StatusMessage)