35002894 Update Project Template Parameter "ProjectPlanType" Fail Via REST Web Service
(Doc ID 2948067.1)
Last updated on SEPTEMBER 26, 2023
Applies to:
Oracle Fusion Project Foundation Cloud Service - Version 11.13.22.10.0 and laterInformation in this document applies to any platform.
Goal
We need to update Project Template headers that are missing "ProjectPlanType" in order for Tasks to be created.
We use the following payload:
{
"parts": [
{
"id": "part0",
"path": "/projectTemplates/300000011311293",
"operation": "update",
"payload": {
"ProjectPlanType": "NIWA Project Cost & Revenue Plan"
}
}
]
}
No errors. However, no update is made to the "ProjectPlanType". We tried using "ProjectPlanTypeId" and the result is the same.
{
"parts": [
{
"id": "part0",
"path": "/projectTemplates/300000011311293",
"operation": "update",
"payload": {
"ProjectPlanTypeId": 300000002179168
}
}
]
}
We cannot create Tasks for Project Templates unless a ProjectPlanType is associated with a Project Template. We get the error message below when we try to create Project Template Tasks that don't have a Project Plan Type associated:
{
"detail": "You can't add tasks to the project template M4A Project Template 1 until you associate a project plan type to the project template. (PJF-2236612)",
"o:errorCode": "PJF:::PJF_CANT_ADD_TSKS_PR_TMP_NO_PT",
"o:errorPath": "/parts/0/payload"
}
We need to mass update our Project Templates "ProjectPlanType" via Oracle REST web service in order for Tasks to be created.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |