1440: fetch chk_asg_error into lv_location_code,lv_assignment_number, ln_id ;
1441:
1442: if ln_id = -1 and ln_id = -2 then
1443:
1444: pay_core_utils.push_token('LOC_CODE',lv_location_code) ;
1445: pay_core_utils.push_token('ASG_NUMBER',lv_assignment_number) ;
1446:
1447: if ln_id = -1 then
1448: msg('Error : ' || lv_assignment_number || ' assignment ' || lv_location_code
1441:
1442: if ln_id = -1 and ln_id = -2 then
1443:
1444: pay_core_utils.push_token('LOC_CODE',lv_location_code) ;
1445: pay_core_utils.push_token('ASG_NUMBER',lv_assignment_number) ;
1446:
1447: if ln_id = -1 then
1448: msg('Error : ' || lv_assignment_number || ' assignment ' || lv_location_code
1449: || ' location is assigned to multiple GREs in the Generic Hierarchy' );
1446:
1447: if ln_id = -1 then
1448: msg('Error : ' || lv_assignment_number || ' assignment ' || lv_location_code
1449: || ' location is assigned to multiple GREs in the Generic Hierarchy' );
1450: pay_core_utils.push_message(800,'HR_MX_GRE_AMBIGUOUS','F') ;
1451: else
1452:
1453: msg('Error : ' || lv_assignment_number || ' assignment ' || lv_location_code
1454: || ' location is not assigned to a GRE in the Generic Hierarchy' );
1451: else
1452:
1453: msg('Error : ' || lv_assignment_number || ' assignment ' || lv_location_code
1454: || ' location is not assigned to a GRE in the Generic Hierarchy' );
1455: pay_core_utils.push_message(800,'HR_MX_LOC_MISSING_GEN_HIER','F') ;
1456:
1457: end if;
1458:
1459: else