R12: PA: Issue With PA_PROJECT_PUB.add_task Application Program Interface (API), parent_task_id is Referencing to p_pa_task_number (Doc ID 1908848.1)

Last updated on JANUARY 11, 2016

Applies to:

Oracle Project Foundation - Version 12.1.3 to 12.2.5 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

Issue with PA_PROJECT_PUB.add_task API.

In this package, the parent_task_id is referencing p_pa_task_number.

In the Task Details form, the particular value is NULL and the field is disabled and not mandatory.

ERROR
-----------------------
PA_PARENT_TASK_MISSING_AMG
"Parent tasks must be specified before the child tasks."

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Run the script which calls the add_task API.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms