Upgrading from a 15.6.0 environment that had Blueprint attribute audited to 15.6.1 will cause post-upgrade issues:
Steps to Reproduce
1* Use a 15.6.0 Clarity PPM environment.
2* Go to Administration > Studio > Objects > Project > Audit Trail and enable the audit for the Blueprint attribute (both Attribute Audit and Object Audit at the same time).
3* The function ODF_AUD_5001040_FCT references ODF_BLUEPRINTS.code and ODF_BLUEPRINTS.name. The trigger 'T_PROJECT_IINV_INVESTMENTS' calls this function in the Blueprint attribute code block.
4* Disable Project object audits for the Blueprint attribute.
5* Upgrade the environment to 15.6.1.
6* Check the FUNCTION ODF_AUD_5001040_FCT.
Actual Results: The same function is displayed.
Expected Results: The function is not using 'name' and 'code' from ODF_BLUEPRINTS, but these coluns are now located in ODF_ABSTRACT_BLUEPRINTS. The function is invalid and for the same reason, the trigger that references it is invalid as well.
This is true even after completely disabling all the audited attributes from Project; the function is never dropped and/or rebuilt.
In 15.6.1, the Blueprint attribute is also present in the Idea object, so the logs might show errors regarding the 'T_IDEA_IINV_INVESTMENTS', which also points to the invalid 'ODF_AUD_5001040_FCT'.
This issue has been reported to Engineering as DE50771.
This issue is currently under review by Engineering.
From both the Idea and Project objects, remove the Blueprint attribute from the 'Audited Attributes' list AND Save. If it has been tried to enable the Blueprint audit and failed with an error 500, the Blueprint audit will be apparently disabled (Blueprint will show in the 'Available for Auditing' section), but the issue will still appear.