DBA Data[Home] [Help]

APPS.HZ_BATCH_IMPORT_PKG dependencies on HZ_IMP_WORK_UNITS

Line 535: from hz_imp_work_units

531: where batch_id = p_batch_id);
532:
533: CURSOR c_pp_error(p_batch_id number) IS
534: select 'Y'
535: from hz_imp_work_units
536: where batch_id=p_batch_id
537: and (postprocess_status is null
538: OR postprocess_status='U')
539: and rownum=1;

Line 566: FROM HZ_IMP_WORK_UNITS

562: BEGIN
563: -- This check shall indicate that atleast some workers have finished stage 2
564: -- and hence post processing needs to be done for them.
565: SELECT 'Y' INTO l_post_process_flag
566: FROM HZ_IMP_WORK_UNITS
567: WHERE batch_id=p_batch_id
568: AND (
569: (stage>=2
570: AND status='C')

Line 1916: delete hz_imp_work_units where batch_id = P_BATCH_ID;

1912: IF p_import_run_option <> 'WHAT_IF'
1913: and (r_batch_info.import_status='COMPLETED'
1914: or r_batch_info.import_status='COMPL_ERRORS')
1915: THEN
1916: delete hz_imp_work_units where batch_id = P_BATCH_ID;
1917: END IF;
1918:
1919: -- set the data load status to COMPLETED
1920: UPDATE hz_imp_batch_summary