Change Management Functions

This section provides information about functions specific to Change Management app, which is only available on the EKL server.

This page discusses:

ChangeControlledStatus Function

On any Reference or Representation Reference object, the ChangeControlledStatus Knowledge function is available for the user to retrieve whether the object is Change Controlled or not.

Signature

 Boolean ChangeControlledStatus(Object Reference)

Arguments

Name Input / Output Required? Type Comment
Object Reference In Yes Boolean Any object subjected to be under change control, for example references or representation references
Out Yes Boolean Object modification is controlled by change
OutNoBooleanObject modification is not controlled by change
Note: An error message appears, if the object is not a PLMReference or PLMRepresentationReference.

ReturnType

Boolean

This is the return value from function which indicates the result of execution.

Example

Here's an example rule using the ChangeControlledStatus function:

let iControlledStatus(Boolean)
iControlledStatus = ChangeControlledStatus(ThisObject)
Validation = true
if (iControlledStatus == false)
{ Validation = false
}

ListOfImplementingChanges Function

On any object, the ListImplementingChanges Knowledge function is available for the user to know by which ECA the objects has been impacted (if any).

Signature

ListImplementingChanges(Object)

Arguments

Name Input / Output Required? Type Comment
Object In Yes List Any object subjected to be implemented by an ECA
Out Yes List The list of changes impacting the object

ReturnType

List

This is the return value from function which indicates the result of execution.

Example

Here's an example rule using the ListImplementingChanges function:

let nbECAs(Integer)
let ListOfImplementingEca(List)
ListOfImplementingEca = ListImplementingChanges(ThisObject)
Validation = true
nbECAs = ListOfImplementingEca.Size()
if (nbECAs == 0)
{ Validation = false
}

SetChangeControlledStatus Function

On any Reference or Representation Reference object, the SetChangeControlledStatus Knowledge function is available for the user to be able to evaluate the Change Controlled status.

Signature

SetChangeControlledStatus(Object Reference, Boolean ChangeControlledStatus)

Arguments

Name Input / Output Required? Type Comment
Object Reference InYesBooleanAny object susceptible to be under change control, for example, references or representation references
SetChangeControlledStatus In Yes Boolean The value set on the Change Controlled status

ReturnType

String

This is the return value from function which indicates the result of execution.

Example

Here's an example rule using the SetChangeControlledStatus function:

let DescriptionValue(String)
DescriptionValue=ThisObject.V_description
if (DescriptionValue=="PhaseB")
{
         SetChangeControlledStatus(ThisObject,true) 
}