TeamcenterKnowledge

IPP&E workflow handlers > Rule handlers

IPP-validate-next-approving-authority-for-fwp

Description

This handler validates if the current session user is a valid approving authority for the target functional work package revision as follows:

  1. Checks if the target object is an FWP revision.
  2. Checks if the next approving level is set.
  3. Gets the functional organization lead user for the next approving level.
  4. Finds the last approved functional organization lead user set on the estimation approvers property of the target resource package revision.
  5. Gets the OBS container and its revision and variant rules. Configures the OBS container with the revision and variant rules.
  6. From the configured hierarchy, finds all the parents of the last approved Functional organization lead user set on the estimation approver property of the target functional work package revision.
  7. Gets the functional organization lead user for all the parent OBS elements.
  8. Checks if the functional organization lead user for the next approving level user is the same as the functional organization lead user for the parent OBS element.
  9. If step 8 is not satisfied, that is, none of the parent OBS elements has the next approving user as its functional organization lead user, the functional organization lead user for the next approving level is not the correct authority for approving the functional work package revision.

Syntax

IPP-validate-next-approving-authority-for-fwp

Arguments

-project_phase Determines the target type. If the value is Estimation, the target type is functional work package revision. If the value is Execution, the target type is Task Execution Info.

Placement

Requires no specific placement.

Restrictions

None.

Note

A WBS work package is identified based on the Work Package check box on the WBS element revision.