Generate Customized Manufacturing Requirements (ComputeFTAReqTypes)

An opening ID is an entry point used to customize business logic. The ComputeFTAReqTypes creates Specialized Requirement instead of Requirement and Specialized Requirement Specification instead of Requirement Specification.

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

This opening ID is invoked when the computation BL exists and you generate the manufacturing requirement.

This opening ID is used to customize the manufacturing requirements.

Definition Description
PLM Opening ID ComputeFTAReqTypes
Customization intent Computation
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject corresponds to the 3DRef related to the AnnotationSet
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
FactType Any EKL type Type of ThisObject in the business rule body.
ReqSpecType String Write The Requirement Spec type
ReqType String Write The Requirement type

When the Context is Empty, the compute is launched for one time and the result will be same for all Requirements as ThisObject is the 3DReference.

  • If the BL return blank names FTARequirement generation with create Standard types.
  • If the BL return invalid names (not corresponding to Custom Specialized types ) the FTARequirement generation will fails.

Sample

The following sample illustrates how to set a type

/* CATRule signature (do not edit) : (ThisObject : #In Segment, Parameters : #In RuleContext) : #Void */

// variables declaration
let typeReqSpec(String)
let typeReq(String)

// variables initialization ( to be calculated)
set typeReqSpec = “ReqSpec_SAE”
set typeReq = “Req_SAE”


// set ReqSpecType
Parameters. SetAttributeString("ReqSpecType", typeReqSpec)

// set ReqSpecType
Parameters.SetAttributeReal("ReqType ", typeReq)