- Wed Sep 05, 2018 6:27 am
#815939
I am having a trouble when i am creating child jobs, some of the child jobs overlap with the parent jobs.APP_UID for the parent and child jobs are different but they have same APP_NUMBER in APPLICATION table but different APP_NUMBER in APP_DELEGATION. The details of parent job is duplicated in child job.This is the code I used to create child job
Code: Select all
Could you please tell me why this is happening ?$aData['date_of_job_received'] =@@date_of_job_received;
$aData['ParentJobId'] =@@APPLICATION;
$aData['all_input_received_date'] =@@all_input_received_date;
$aData['due_date'] =@@due_date;
$newCaseId = PMFNewCase(@@PROCESS, @@USER_LOGGED, $taskId, $aData);
@@cases=@@cases.",".$newCaseId;
if ($newCaseId) {
executeQuery("UPDATE APPLICATION SET APP_STATUS='TO_DO' WHERE APP_UID='$newCaseId'");
PMFDerivateCase($newCaseId, 0);
}