DBA Data[Home] [Help]

APPS.PAY_GB_MOVDED_EDI dependencies on HR_GB_UTILITY

Line 1167: hr_gb_utility.ni_validate(l_person_rec.national_identifier,sysdate) <> 0 then

1163: hr_utility.set_location('Job Title error',50);
1164: end if;
1165:
1166: if l_person_rec.national_identifier is not null and
1167: hr_gb_utility.ni_validate(l_person_rec.national_identifier,sysdate) <> 0 then
1168: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1169: pay_core_utils.push_token('INPUT_NAME', 'NI Number');
1170: pay_core_utils.push_token('INPUT_VALUE', l_person_rec.national_identifier);
1171: l_arch := false;

Line 1177: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,l_person_rec.assignment_id);

1173: end if;
1174: END IF;
1175:
1176: /** -- NO Tax code validation yet as it is different between P45(3),P46 and P46P --**
1177: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,l_person_rec.assignment_id);
1178: if l_temp <> ' ' then
1179: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1180: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1181: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

Line 1296: l_temp := hr_gb_utility.tax_code_validate(l_p45_3_rec.prev_tax_code,sysdate,p_person_rec.assignment_id);

1292: hr_utility.set_location('Prev Tax > 999999.99',20);
1293: end if;
1294:
1295: /** -- Validate using the orignal, will use new one when requirement comes out --
1296: l_temp := hr_gb_utility.tax_code_validate(l_p45_3_rec.prev_tax_code,sysdate,p_person_rec.assignment_id);
1297: if l_temp <> ' ' then
1298: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1299: pay_core_utils.push_token('INPUT_NAME', 'Previous Tax Code');
1300: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

Line 1420: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);

1416: l_arch := false;
1417: hr_utility.set_location('P46 Statement validation',10);
1418: end if;
1419:
1420: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1421: if l_temp <> ' ' then
1422: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1423: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1424: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

Line 1491: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);

1487: l_arch := false;
1488: hr_utility.set_location('P46(Expat) Statement validation',10);
1489: end if;
1490:
1491: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1492: /* if l_temp <> ' ' then
1493: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1494: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1495: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

Line 1872: IF hr_gb_utility.ni_validate(l_national_insurance_number,l_session_date)<>0 THEN

1868: /* Modifications for the bug 10095492 ends here */
1869:
1870: IF l_national_insurance_number <> ' ' THEN
1871: l_session_date := HR_GBNICAR.NICAR_SESSION_DATE(0);
1872: IF hr_gb_utility.ni_validate(l_national_insurance_number,l_session_date)<>0 THEN
1873: populate_run_msg(p_assactid,'The National Insurance Number ' || l_national_insurance_number || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
1874: fnd_file.put_line (fnd_file.LOG,' : The National Insurance Number ' || l_national_insurance_number || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
1875: edi_validation_fail := 'Y';
1876: l_count_char_errors := l_count_char_errors + 1;

Line 2002: hr_gb_utility.ni_validate(l_national_identifier,sysdate) <> 0 THEN

1998: END IF;
1999: END IF;
2000:
2001: IF l_national_identifier is not null AND
2002: hr_gb_utility.ni_validate(l_national_identifier,sysdate) <> 0 THEN
2003: populate_run_msg(p_assactid,'The National Identifier ' || l_national_identifier || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
2004: fnd_file.put_line (fnd_file.LOG,' : The National Identifier ' || l_national_identifier || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
2005: edi_validation_fail := 'Y';
2006: END IF;

Line 2010: IF (hr_gb_utility.tax_code_validate(l_tax_code,sysdate,l_assignment_id) <> ' ') THEN

2006: END IF;
2007:
2008: /* 10095492 - Commented out below check inorder to make etext validations in sync with other in-year filing reports */
2009: /*
2010: IF (hr_gb_utility.tax_code_validate(l_tax_code,sysdate,l_assignment_id) <> ' ') THEN
2011: populate_run_msg(p_assactid,'The Tax Code ' || l_tax_code || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
2012: fnd_file.put_line (fnd_file.LOG,' : The Tax Code ' || l_tax_code || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
2013: edi_validation_fail := 'Y';
2014: END IF;

Line 2019: IF (hr_gb_utility.tax_code_validate(l_tax_code,l_effective_date,l_assignment_id) <> ' ') THEN

2015: */
2016:
2017: --Added below validation for the bug fix 10409668
2018: --This is same as the above validation, but here we are passing l_effective_date instead of sysdate
2019: IF (hr_gb_utility.tax_code_validate(l_tax_code,l_effective_date,l_assignment_id) <> ' ') THEN
2020: populate_run_msg(p_assactid,'The Tax Code ' || l_tax_code || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
2021: fnd_file.put_line (fnd_file.LOG,' : The Tax Code ' || l_tax_code || ' of the assignment ' || l_assignment_number || ' has invalid character(s).');
2022: edi_validation_fail := 'Y';
2023: END IF;

Line 2102: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);

2098: l_arch := false;
2099: hr_utility.set_location('P46 Statement validation',10);
2100: end if;
2101:
2102: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
2103: if l_temp <> ' ' then
2104: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
2105: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
2106: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);