382: and p_minor_dpnts_flag = 'N'
383: and p_dsbl_dpnts_flag = 'N'
384: and p_svr_dsbl_dpnts_flag = 'N'
385: and p_svr_dsbl_dpnts_lt_flag = 'N' then
386: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_NO_TARGET_IV');
387: fnd_message.raise_error;
388: end if;
389: --
390: -- Validate p_time_period_id and p_upload_date
383: and p_dsbl_dpnts_flag = 'N'
384: and p_svr_dsbl_dpnts_flag = 'N'
385: and p_svr_dsbl_dpnts_lt_flag = 'N' then
386: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_NO_TARGET_IV');
387: fnd_message.raise_error;
388: end if;
389: --
390: -- Validate p_time_period_id and p_upload_date
391: --
483: --
484: -- Write the assignment_set_name created into log file
485: --
486: if l_assignment_set_id is not null then
487: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_ASG_SET_CREATE');
488: fnd_message.set_token('ASSIGNMENT_SET_NAME', l_assignment_set_name);
489: fnd_file.put_line(fnd_file.log, fnd_message.get);
490: end if;
491: --
484: -- Write the assignment_set_name created into log file
485: --
486: if l_assignment_set_id is not null then
487: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_ASG_SET_CREATE');
488: fnd_message.set_token('ASSIGNMENT_SET_NAME', l_assignment_set_name);
489: fnd_file.put_line(fnd_file.log, fnd_message.get);
490: end if;
491: --
492: -- When no batch lines are created, delete batch header and set message as errbuf.
485: --
486: if l_assignment_set_id is not null then
487: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_ASG_SET_CREATE');
488: fnd_message.set_token('ASSIGNMENT_SET_NAME', l_assignment_set_name);
489: fnd_file.put_line(fnd_file.log, fnd_message.get);
490: end if;
491: --
492: -- When no batch lines are created, delete batch header and set message as errbuf.
493: --
499: p_batch_id => l_batch_id,
500: p_object_version_number => l_batch_ovn);
501: commit;
502: --
503: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_NO_ASGS');
504: p_errbuf := fnd_message.get;
505: fnd_file.put_line(fnd_file.log, p_errbuf);
506: end if;
507: --
500: p_object_version_number => l_batch_ovn);
501: commit;
502: --
503: fnd_message.set_name('PAY', 'PAY_JP_BEE_UTIL_NO_ASGS');
504: p_errbuf := fnd_message.get;
505: fnd_file.put_line(fnd_file.log, p_errbuf);
506: end if;
507: --
508: -- If at least 1 assignment failed to process, set concurrent request status "Incomplete".