Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
InputTargetOcc | ProdSystemOccurrence |
Read | Target System or Operation on which the user wants to move the current operation. |
OperationToTargetBalancingAllowed | Boolean | Write | TRUE if the operation is allowed to move and FALSE if not. |
OutputMessage | String | Write | 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)