AP242
|
Windchill
|
---|---|
specificationInclusion
Condition entity =specificationInclusion.includedSpecification
|
e_RuleMemberActionLink
|
Condition.type
|
If Condition.type=’and’ or If specificationInclusion.includedSpecification is type of specification then
RuleMemberAction = ‘SELECT’
If Condition.type=’notEquals’ then
RuleMemberAction = ‘DISABLE’
If Condition.type=’or’ then RuleMemberAction = ‘REQUIRES’.
|
Get relevant Choice entity from specification referenced in condition.parameters
|
ruleMemberRef.objectReference.ufid=Choice.masterUfid
|
Get relevant ChoiceRule entity from SpecificationInclusion
|
ruleRef.objectReference.ufid=ChoiceRule.ObjectId.Ufid
|
ObjectId.localId= com.ptc.windchill.option.model.RuleMemberActionLink:+random number
|