DBA Data[Home] [Help]

APPS.PAY_GB_MOVDED_EDI dependencies on PAY_CORE_UTILS

Line 189: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

185: BEGIN
186: hr_utility.set_location('Entering: '||l_proc,1);
187: if pay_gb_eoy_magtape.validate_input(UPPER(p_value),p_mode) > 0 then
188: hr_utility.set_location('Name/Value : ' || p_name || '/' || p_value ,10);
189: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
190: pay_core_utils.push_token('INPUT_NAME', p_name);
191: pay_core_utils.push_token('INPUT_VALUE', p_value);
192: return false;
193: end if;

Line 190: pay_core_utils.push_token('INPUT_NAME', p_name);

186: hr_utility.set_location('Entering: '||l_proc,1);
187: if pay_gb_eoy_magtape.validate_input(UPPER(p_value),p_mode) > 0 then
188: hr_utility.set_location('Name/Value : ' || p_name || '/' || p_value ,10);
189: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
190: pay_core_utils.push_token('INPUT_NAME', p_name);
191: pay_core_utils.push_token('INPUT_VALUE', p_value);
192: return false;
193: end if;
194: hr_utility.set_location('Leaving: '||l_proc,999);

Line 191: pay_core_utils.push_token('INPUT_VALUE', p_value);

187: if pay_gb_eoy_magtape.validate_input(UPPER(p_value),p_mode) > 0 then
188: hr_utility.set_location('Name/Value : ' || p_name || '/' || p_value ,10);
189: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
190: pay_core_utils.push_token('INPUT_NAME', p_name);
191: pay_core_utils.push_token('INPUT_VALUE', p_value);
192: return false;
193: end if;
194: hr_utility.set_location('Leaving: '||l_proc,999);
195: return true;

Line 706: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

702:
703:
704: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
705: --l_arch := false;
706: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
707: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
708: pay_core_utils.push_token('MAX_VALUE', '6 characters');
709: hr_utility.set_location('Tax Code error',20);
710: fnd_file.put_line(fnd_file.LOG,'l_arch3: ');

Line 707: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');

703:
704: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
705: --l_arch := false;
706: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
707: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
708: pay_core_utils.push_token('MAX_VALUE', '6 characters');
709: hr_utility.set_location('Tax Code error',20);
710: fnd_file.put_line(fnd_file.LOG,'l_arch3: ');
711:

Line 708: pay_core_utils.push_token('MAX_VALUE', '6 characters');

704: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
705: --l_arch := false;
706: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
707: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
708: pay_core_utils.push_token('MAX_VALUE', '6 characters');
709: hr_utility.set_location('Tax Code error',20);
710: fnd_file.put_line(fnd_file.LOG,'l_arch3: ');
711:
712: end if;

Line 715: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

711:
712: end if;
713: if length(ltrim(l_45_46_pennot_rec.prev_tax_code,'S')) > 6 then
714: --l_arch := false;
715: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
716: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
717: pay_core_utils.push_token('MAX_VALUE', '6 characters');
718: hr_utility.set_location('Prev Tax Code',40);
719: fnd_file.put_line(fnd_file.LOG,'l_arch4: ');

Line 716: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');

712: end if;
713: if length(ltrim(l_45_46_pennot_rec.prev_tax_code,'S')) > 6 then
714: --l_arch := false;
715: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
716: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
717: pay_core_utils.push_token('MAX_VALUE', '6 characters');
718: hr_utility.set_location('Prev Tax Code',40);
719: fnd_file.put_line(fnd_file.LOG,'l_arch4: ');
720: end if;

Line 717: pay_core_utils.push_token('MAX_VALUE', '6 characters');

713: if length(ltrim(l_45_46_pennot_rec.prev_tax_code,'S')) > 6 then
714: --l_arch := false;
715: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
716: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
717: pay_core_utils.push_token('MAX_VALUE', '6 characters');
718: hr_utility.set_location('Prev Tax Code',40);
719: fnd_file.put_line(fnd_file.LOG,'l_arch4: ');
720: end if;
721:

Line 1017: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');

1013: --Following validations are not required for eText reports here
1014: --as they have been moved to a different procedure
1015: IF g_archive_type <> 'P46_VER6ET' AND g_archive_type <> 'P46EXP_VER6ET' THEN
1016: if l_addr_rec.addr1 is null then
1017: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
1018: pay_core_utils.push_token('TOKEN', 'Address');
1019: l_arch := false;
1020: hr_utility.set_location('Address missing',10);
1021: end if;

Line 1018: pay_core_utils.push_token('TOKEN', 'Address');

1014: --as they have been moved to a different procedure
1015: IF g_archive_type <> 'P46_VER6ET' AND g_archive_type <> 'P46EXP_VER6ET' THEN
1016: if l_addr_rec.addr1 is null then
1017: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
1018: pay_core_utils.push_token('TOKEN', 'Address');
1019: l_arch := false;
1020: hr_utility.set_location('Address missing',10);
1021: end if;
1022:

Line 1168: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

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;
1172: hr_utility.set_location('NI error',60);

Line 1169: pay_core_utils.push_token('INPUT_NAME', 'NI Number');

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;
1172: hr_utility.set_location('NI error',60);
1173: end if;

Line 1170: pay_core_utils.push_token('INPUT_VALUE', l_person_rec.national_identifier);

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;
1172: hr_utility.set_location('NI error',60);
1173: end if;
1174: END IF;

Line 1179: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

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);
1182: l_arch := false;
1183: hr_utility.set_location('Tax Code error',30);

Line 1180: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');

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);
1182: l_arch := false;
1183: hr_utility.set_location('Tax Code error',30);
1184: end if;

Line 1181: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

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);
1182: l_arch := false;
1183: hr_utility.set_location('Tax Code error',30);
1184: end if;
1185: */

Line 1273: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');

1269: fetch csr_student_loan into l_student_rec;
1270: close csr_student_loan;
1271:
1272: if l_p45_3_rec.date_left is null then
1273: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
1274: pay_core_utils.push_token('TOKEN', 'Date Left Previous Employer');
1275: l_arch := false;
1276: hr_utility.set_location('Date Left null',30);
1277: end if;

Line 1274: pay_core_utils.push_token('TOKEN', 'Date Left Previous Employer');

1270: close csr_student_loan;
1271:
1272: if l_p45_3_rec.date_left is null then
1273: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
1274: pay_core_utils.push_token('TOKEN', 'Date Left Previous Employer');
1275: l_arch := false;
1276: hr_utility.set_location('Date Left null',30);
1277: end if;
1278:

Line 1281: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

1277: end if;
1278:
1279: if to_number(p_tax_rec.prev_paid) > 999999.99 then
1280: l_arch := false;
1281: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1282: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');
1283: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1284: hr_utility.set_location('Prev Paid > 999999.99',10);
1285: end if;

Line 1282: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');

1278:
1279: if to_number(p_tax_rec.prev_paid) > 999999.99 then
1280: l_arch := false;
1281: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1282: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');
1283: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1284: hr_utility.set_location('Prev Paid > 999999.99',10);
1285: end if;
1286:

Line 1283: pay_core_utils.push_token('MAX_VALUE', '999999.99');

1279: if to_number(p_tax_rec.prev_paid) > 999999.99 then
1280: l_arch := false;
1281: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1282: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');
1283: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1284: hr_utility.set_location('Prev Paid > 999999.99',10);
1285: end if;
1286:
1287: if to_number(p_tax_rec.prev_tax) > 999999.99 then

Line 1289: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

1285: end if;
1286:
1287: if to_number(p_tax_rec.prev_tax) > 999999.99 then
1288: l_arch := false;
1289: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1290: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');
1291: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1292: hr_utility.set_location('Prev Tax > 999999.99',20);
1293: end if;

Line 1290: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');

1286:
1287: if to_number(p_tax_rec.prev_tax) > 999999.99 then
1288: l_arch := false;
1289: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1290: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');
1291: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1292: hr_utility.set_location('Prev Tax > 999999.99',20);
1293: end if;
1294:

Line 1291: pay_core_utils.push_token('MAX_VALUE', '999999.99');

1287: if to_number(p_tax_rec.prev_tax) > 999999.99 then
1288: l_arch := false;
1289: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1290: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');
1291: pay_core_utils.push_token('MAX_VALUE', '999999.99');
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 --

Line 1298: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

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);
1301: l_arch := false;
1302: hr_utility.set_location('Tax Code error',30);

Line 1299: pay_core_utils.push_token('INPUT_NAME', 'Previous Tax Code');

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);
1301: l_arch := false;
1302: hr_utility.set_location('Tax Code error',30);
1303: end if;

Line 1300: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

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);
1301: l_arch := false;
1302: hr_utility.set_location('Tax Code error',30);
1303: end if;
1304: */

Line 1307: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

1303: end if;
1304: */
1305: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1306: l_arch := false;
1307: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1308: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1309: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1310: hr_utility.set_location('Tax Code error',30);
1311: end if;

Line 1308: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');

1304: */
1305: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1306: l_arch := false;
1307: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1308: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1309: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1310: hr_utility.set_location('Tax Code error',30);
1311: end if;
1312:

Line 1309: pay_core_utils.push_token('MAX_VALUE', '6 characters');

1305: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1306: l_arch := false;
1307: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1308: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1309: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1310: hr_utility.set_location('Tax Code error',30);
1311: end if;
1312:
1313: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then

Line 1315: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

1311: end if;
1312:
1313: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then
1314: l_arch := false;
1315: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1316: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
1317: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1318: hr_utility.set_location('Prev Tax Code',40);
1319: end if;

Line 1316: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');

1312:
1313: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then
1314: l_arch := false;
1315: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1316: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
1317: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1318: hr_utility.set_location('Prev Tax Code',40);
1319: end if;
1320:

Line 1317: pay_core_utils.push_token('MAX_VALUE', '6 characters');

1313: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then
1314: l_arch := false;
1315: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1316: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
1317: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1318: hr_utility.set_location('Prev Tax Code',40);
1319: end if;
1320:
1321: if not validate_data(substr(ltrim(substr(l_p45_3_rec.prev_tax_district,4,8),'/'),1,7),'Previous Tax Reference','FULL_EDI') then

Line 1422: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

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);
1425: l_arch := false;
1426: hr_utility.set_location('Tax Code error',20);

Line 1423: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');

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);
1425: l_arch := false;
1426: hr_utility.set_location('Tax Code error',20);
1427: end if;

Line 1424: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

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);
1425: l_arch := false;
1426: hr_utility.set_location('Tax Code error',20);
1427: end if;
1428:

Line 1493: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

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);
1496: l_arch := false;
1497: hr_utility.set_location('Tax Code error',20);

Line 1494: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');

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);
1496: l_arch := false;
1497: hr_utility.set_location('Tax Code error',20);
1498: end if;*/

Line 1495: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

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);
1496: l_arch := false;
1497: hr_utility.set_location('Tax Code error',20);
1498: end if;*/
1499:

Line 2104: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

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);
2107: l_arch := false;
2108: hr_utility.set_location('Tax Code error',20);

Line 2105: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');

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);
2107: l_arch := false;
2108: hr_utility.set_location('Tax Code error',20);
2109: end if;*/

Line 2106: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);

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);
2107: l_arch := false;
2108: hr_utility.set_location('Tax Code error',20);
2109: end if;*/
2110:

Line 2180: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');

2176: end if;
2177:
2178: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
2179: l_arch := false;
2180: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
2181: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
2182: pay_core_utils.push_token('MAX_VALUE', '6 characters');
2183: hr_utility.set_location('Tax Code error',20);
2184: end if;

Line 2181: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');

2177:
2178: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
2179: l_arch := false;
2180: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
2181: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
2182: pay_core_utils.push_token('MAX_VALUE', '6 characters');
2183: hr_utility.set_location('Tax Code error',20);
2184: end if;
2185:

Line 2182: pay_core_utils.push_token('MAX_VALUE', '6 characters');

2178: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
2179: l_arch := false;
2180: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
2181: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
2182: pay_core_utils.push_token('MAX_VALUE', '6 characters');
2183: hr_utility.set_location('Tax Code error',20);
2184: end if;
2185:
2186: l_ovn := l_p46p_rec.object_version_number;

Line 2456: pay_core_utils.push_message(800, 'HR_78087_EDI_SENDER_ID_MISSING', 'F');

2452:
2453: END IF;
2454:
2455: if l_sender_id is null then
2456: pay_core_utils.push_message(800, 'HR_78087_EDI_SENDER_ID_MISSING', 'F');
2457: pay_core_utils.push_token('TAX_REF', l_tax_ref);
2458: l_err := true;
2459: else
2460: if (not validate_data(l_sender_id,'Sender ID','FULL_EDI')) then

Line 2457: pay_core_utils.push_token('TAX_REF', l_tax_ref);

2453: END IF;
2454:
2455: if l_sender_id is null then
2456: pay_core_utils.push_message(800, 'HR_78087_EDI_SENDER_ID_MISSING', 'F');
2457: pay_core_utils.push_token('TAX_REF', l_tax_ref);
2458: l_err := true;
2459: else
2460: if (not validate_data(l_sender_id,'Sender ID','FULL_EDI')) then
2461: l_err := true;

Line 2468: pay_core_utils.push_message(800, 'HR_GB_78049_INV_EMP_PAYE_REF', 'F');

2464:
2465: if pay_gb_eoy_magtape.validate_input(substr(l_tax_ref,1,3),'NUMBER') > 0
2466: OR
2467: pay_gb_eoy_magtape.validate_input(l_tax_ref,'FULL_EDI') > 0 then
2468: pay_core_utils.push_message(800, 'HR_GB_78049_INV_EMP_PAYE_REF', 'F');
2469: l_err := true;
2470: end if;
2471:
2472: if (not validate_data(l_tax_dist,'IR Office Name ','FULL_EDI')) then