DBA Data[Home] [Help]

APPS.PAY_GB_MOVDED_EDI dependencies on PAY_CORE_UTILS

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

150: BEGIN
151: hr_utility.set_location('Entering: '||l_proc,1);
152: if pay_gb_eoy_magtape.validate_input(UPPER(p_value),p_mode) > 0 then
153: hr_utility.set_location('Name/Value : ' || p_name || '/' || p_value ,10);
154: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
155: pay_core_utils.push_token('INPUT_NAME', p_name);
156: pay_core_utils.push_token('INPUT_VALUE', p_value);
157: return false;
158: end if;

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

151: hr_utility.set_location('Entering: '||l_proc,1);
152: if pay_gb_eoy_magtape.validate_input(UPPER(p_value),p_mode) > 0 then
153: hr_utility.set_location('Name/Value : ' || p_name || '/' || p_value ,10);
154: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
155: pay_core_utils.push_token('INPUT_NAME', p_name);
156: pay_core_utils.push_token('INPUT_VALUE', p_value);
157: return false;
158: end if;
159: hr_utility.set_location('Leaving: '||l_proc,999);

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

152: if pay_gb_eoy_magtape.validate_input(UPPER(p_value),p_mode) > 0 then
153: hr_utility.set_location('Name/Value : ' || p_name || '/' || p_value ,10);
154: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
155: pay_core_utils.push_token('INPUT_NAME', p_name);
156: pay_core_utils.push_token('INPUT_VALUE', p_value);
157: return false;
158: end if;
159: hr_utility.set_location('Leaving: '||l_proc,999);
160: return true;

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

512:
513:
514: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
515: --l_arch := false;
516: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
517: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
518: pay_core_utils.push_token('MAX_VALUE', '6 characters');
519: hr_utility.set_location('Tax Code error',20);
520: fnd_file.put_line(fnd_file.LOG,'l_arch3: ');

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

513:
514: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
515: --l_arch := false;
516: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
517: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
518: pay_core_utils.push_token('MAX_VALUE', '6 characters');
519: hr_utility.set_location('Tax Code error',20);
520: fnd_file.put_line(fnd_file.LOG,'l_arch3: ');
521:

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

514: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
515: --l_arch := false;
516: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
517: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
518: pay_core_utils.push_token('MAX_VALUE', '6 characters');
519: hr_utility.set_location('Tax Code error',20);
520: fnd_file.put_line(fnd_file.LOG,'l_arch3: ');
521:
522: end if;

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

521:
522: end if;
523: if length(ltrim(l_45_46_pennot_rec.prev_tax_code,'S')) > 6 then
524: --l_arch := false;
525: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
526: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
527: pay_core_utils.push_token('MAX_VALUE', '6 characters');
528: hr_utility.set_location('Prev Tax Code',40);
529: fnd_file.put_line(fnd_file.LOG,'l_arch4: ');

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

522: end if;
523: if length(ltrim(l_45_46_pennot_rec.prev_tax_code,'S')) > 6 then
524: --l_arch := false;
525: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
526: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
527: pay_core_utils.push_token('MAX_VALUE', '6 characters');
528: hr_utility.set_location('Prev Tax Code',40);
529: fnd_file.put_line(fnd_file.LOG,'l_arch4: ');
530: end if;

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

523: if length(ltrim(l_45_46_pennot_rec.prev_tax_code,'S')) > 6 then
524: --l_arch := false;
525: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
526: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
527: pay_core_utils.push_token('MAX_VALUE', '6 characters');
528: hr_utility.set_location('Prev Tax Code',40);
529: fnd_file.put_line(fnd_file.LOG,'l_arch4: ');
530: end if;
531:

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

819: l_addr_rec.addr3 || ' ' || l_addr_rec.town_or_city ||
820: l_addr_rec.county;
821:
822: if l_addr_rec.addr1 is null then
823: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
824: pay_core_utils.push_token('TOKEN', 'Address');
825: l_arch := false;
826: hr_utility.set_location('Address missing',10);
827: end if;

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

820: l_addr_rec.county;
821:
822: if l_addr_rec.addr1 is null then
823: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
824: pay_core_utils.push_token('TOKEN', 'Address');
825: l_arch := false;
826: hr_utility.set_location('Address missing',10);
827: end if;
828:

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

964: end if;
965:
966: if l_person_rec.national_identifier is not null and
967: hr_gb_utility.ni_validate(l_person_rec.national_identifier,sysdate) <> 0 then
968: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
969: pay_core_utils.push_token('INPUT_NAME', 'NI Number');
970: pay_core_utils.push_token('INPUT_VALUE', l_person_rec.national_identifier);
971: l_arch := false;
972: hr_utility.set_location('NI error',60);

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

965:
966: if l_person_rec.national_identifier is not null and
967: hr_gb_utility.ni_validate(l_person_rec.national_identifier,sysdate) <> 0 then
968: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
969: pay_core_utils.push_token('INPUT_NAME', 'NI Number');
970: pay_core_utils.push_token('INPUT_VALUE', l_person_rec.national_identifier);
971: l_arch := false;
972: hr_utility.set_location('NI error',60);
973: end if;

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

966: if l_person_rec.national_identifier is not null and
967: hr_gb_utility.ni_validate(l_person_rec.national_identifier,sysdate) <> 0 then
968: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
969: pay_core_utils.push_token('INPUT_NAME', 'NI Number');
970: pay_core_utils.push_token('INPUT_VALUE', l_person_rec.national_identifier);
971: l_arch := false;
972: hr_utility.set_location('NI error',60);
973: end if;
974:

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

974:
975: /** -- NO Tax code validation yet as it is different between P45(3),P46 and P46P --**
976: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,l_person_rec.assignment_id);
977: if l_temp <> ' ' then
978: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
979: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
980: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
981: l_arch := false;
982: hr_utility.set_location('Tax Code error',30);

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

975: /** -- NO Tax code validation yet as it is different between P45(3),P46 and P46P --**
976: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,l_person_rec.assignment_id);
977: if l_temp <> ' ' then
978: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
979: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
980: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
981: l_arch := false;
982: hr_utility.set_location('Tax Code error',30);
983: end if;

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

976: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,l_person_rec.assignment_id);
977: if l_temp <> ' ' then
978: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
979: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
980: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
981: l_arch := false;
982: hr_utility.set_location('Tax Code error',30);
983: end if;
984: */

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

1068: fetch csr_student_loan into l_student_rec;
1069: close csr_student_loan;
1070:
1071: if l_p45_3_rec.date_left is null then
1072: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
1073: pay_core_utils.push_token('TOKEN', 'Date Left Previous Employer');
1074: l_arch := false;
1075: hr_utility.set_location('Date Left null',30);
1076: end if;

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

1069: close csr_student_loan;
1070:
1071: if l_p45_3_rec.date_left is null then
1072: pay_core_utils.push_message(800, 'HR_78088_MISSING_DATA_ERR', 'F');
1073: pay_core_utils.push_token('TOKEN', 'Date Left Previous Employer');
1074: l_arch := false;
1075: hr_utility.set_location('Date Left null',30);
1076: end if;
1077:

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

1076: end if;
1077:
1078: if to_number(p_tax_rec.prev_paid) > 999999.99 then
1079: l_arch := false;
1080: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1081: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');
1082: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1083: hr_utility.set_location('Prev Paid > 999999.99',10);
1084: end if;

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

1077:
1078: if to_number(p_tax_rec.prev_paid) > 999999.99 then
1079: l_arch := false;
1080: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1081: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');
1082: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1083: hr_utility.set_location('Prev Paid > 999999.99',10);
1084: end if;
1085:

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

1078: if to_number(p_tax_rec.prev_paid) > 999999.99 then
1079: l_arch := false;
1080: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1081: pay_core_utils.push_token('ITEM_NAME', 'Previous Pay');
1082: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1083: hr_utility.set_location('Prev Paid > 999999.99',10);
1084: end if;
1085:
1086: if to_number(p_tax_rec.prev_tax) > 999999.99 then

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

1084: end if;
1085:
1086: if to_number(p_tax_rec.prev_tax) > 999999.99 then
1087: l_arch := false;
1088: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1089: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');
1090: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1091: hr_utility.set_location('Prev Tax > 999999.99',20);
1092: end if;

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

1085:
1086: if to_number(p_tax_rec.prev_tax) > 999999.99 then
1087: l_arch := false;
1088: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1089: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');
1090: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1091: hr_utility.set_location('Prev Tax > 999999.99',20);
1092: end if;
1093:

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

1086: if to_number(p_tax_rec.prev_tax) > 999999.99 then
1087: l_arch := false;
1088: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1089: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax');
1090: pay_core_utils.push_token('MAX_VALUE', '999999.99');
1091: hr_utility.set_location('Prev Tax > 999999.99',20);
1092: end if;
1093:
1094: /** -- Validate using the orignal, will use new one when requirement comes out --

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

1093:
1094: /** -- Validate using the orignal, will use new one when requirement comes out --
1095: l_temp := hr_gb_utility.tax_code_validate(l_p45_3_rec.prev_tax_code,sysdate,p_person_rec.assignment_id);
1096: if l_temp <> ' ' then
1097: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1098: pay_core_utils.push_token('INPUT_NAME', 'Previous Tax Code');
1099: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1100: l_arch := false;
1101: hr_utility.set_location('Tax Code error',30);

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

1094: /** -- Validate using the orignal, will use new one when requirement comes out --
1095: l_temp := hr_gb_utility.tax_code_validate(l_p45_3_rec.prev_tax_code,sysdate,p_person_rec.assignment_id);
1096: if l_temp <> ' ' then
1097: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1098: pay_core_utils.push_token('INPUT_NAME', 'Previous Tax Code');
1099: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1100: l_arch := false;
1101: hr_utility.set_location('Tax Code error',30);
1102: end if;

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

1095: l_temp := hr_gb_utility.tax_code_validate(l_p45_3_rec.prev_tax_code,sysdate,p_person_rec.assignment_id);
1096: if l_temp <> ' ' then
1097: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1098: pay_core_utils.push_token('INPUT_NAME', 'Previous Tax Code');
1099: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1100: l_arch := false;
1101: hr_utility.set_location('Tax Code error',30);
1102: end if;
1103: */

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

1102: end if;
1103: */
1104: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1105: l_arch := false;
1106: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1107: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1108: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1109: hr_utility.set_location('Tax Code error',30);
1110: end if;

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

1103: */
1104: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1105: l_arch := false;
1106: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1107: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1108: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1109: hr_utility.set_location('Tax Code error',30);
1110: end if;
1111:

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

1104: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1105: l_arch := false;
1106: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1107: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1108: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1109: hr_utility.set_location('Tax Code error',30);
1110: end if;
1111:
1112: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then

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

1110: end if;
1111:
1112: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then
1113: l_arch := false;
1114: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1115: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
1116: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1117: hr_utility.set_location('Prev Tax Code',40);
1118: end if;

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

1111:
1112: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then
1113: l_arch := false;
1114: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1115: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
1116: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1117: hr_utility.set_location('Prev Tax Code',40);
1118: end if;
1119:

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

1112: if length(ltrim(l_p45_3_rec.prev_tax_code,'S')) > 6 then
1113: l_arch := false;
1114: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1115: pay_core_utils.push_token('ITEM_NAME', 'Previous Tax Code');
1116: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1117: hr_utility.set_location('Prev Tax Code',40);
1118: end if;
1119:
1120: 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 1221: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');

1217: end if;
1218:
1219: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1220: if l_temp <> ' ' then
1221: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1222: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1223: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1224: l_arch := false;
1225: hr_utility.set_location('Tax Code error',20);

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

1218:
1219: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1220: if l_temp <> ' ' then
1221: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1222: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1223: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1224: l_arch := false;
1225: hr_utility.set_location('Tax Code error',20);
1226: end if;

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

1219: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1220: if l_temp <> ' ' then
1221: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1222: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1223: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1224: l_arch := false;
1225: hr_utility.set_location('Tax Code error',20);
1226: end if;
1227:

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

1321: end if;
1322:
1323: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1324: if l_temp <> ' ' then
1325: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1326: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1327: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1328: l_arch := false;
1329: hr_utility.set_location('Tax Code error',20);

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

1322:
1323: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1324: if l_temp <> ' ' then
1325: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1326: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1327: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1328: l_arch := false;
1329: hr_utility.set_location('Tax Code error',20);
1330: end if;*/

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

1323: l_temp := hr_gb_utility.tax_code_validate(p_tax_rec.tax_code,sysdate,p_person_rec.assignment_id);
1324: if l_temp <> ' ' then
1325: pay_core_utils.push_message(800, 'HR_78057_GB_MAGTAPE_VAILDATION', 'F');
1326: pay_core_utils.push_token('INPUT_NAME', 'Tax Code');
1327: pay_core_utils.push_token('INPUT_VALUE', p_tax_rec.tax_code);
1328: l_arch := false;
1329: hr_utility.set_location('Tax Code error',20);
1330: end if;*/
1331:

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

1397: end if;
1398:
1399: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1400: l_arch := false;
1401: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1402: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1403: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1404: hr_utility.set_location('Tax Code error',20);
1405: end if;

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

1398:
1399: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1400: l_arch := false;
1401: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1402: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1403: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1404: hr_utility.set_location('Tax Code error',20);
1405: end if;
1406:

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

1399: if length(ltrim(p_tax_rec.tax_code,'S')) > 6 then
1400: l_arch := false;
1401: pay_core_utils.push_message(801, 'PAY_78034_VALUE_EXCEEDS_MAX', 'F');
1402: pay_core_utils.push_token('ITEM_NAME', 'Tax Code');
1403: pay_core_utils.push_token('MAX_VALUE', '6 characters');
1404: hr_utility.set_location('Tax Code error',20);
1405: end if;
1406:
1407: l_ovn := l_p46p_rec.object_version_number;

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

1528: fetch csr_sender_id into l_sender_id, l_tax_ref, l_tax_dist, l_employer_name, l_employer_addr;
1529: close csr_sender_id;
1530:
1531: if l_sender_id is null then
1532: pay_core_utils.push_message(800, 'HR_78087_EDI_SENDER_ID_MISSING', 'F');
1533: pay_core_utils.push_token('TAX_REF', l_tax_ref);
1534: l_err := true;
1535: else
1536: if (not validate_data(l_sender_id,'Sender ID','FULL_EDI')) then

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

1529: close csr_sender_id;
1530:
1531: if l_sender_id is null then
1532: pay_core_utils.push_message(800, 'HR_78087_EDI_SENDER_ID_MISSING', 'F');
1533: pay_core_utils.push_token('TAX_REF', l_tax_ref);
1534: l_err := true;
1535: else
1536: if (not validate_data(l_sender_id,'Sender ID','FULL_EDI')) then
1537: l_err := true;

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

1539: end if;
1540: if pay_gb_eoy_magtape.validate_input(substr(l_tax_ref,1,3),'NUMBER') > 0
1541: OR
1542: pay_gb_eoy_magtape.validate_input(l_tax_ref,'FULL_EDI') > 0 then
1543: pay_core_utils.push_message(800, 'HR_GB_78049_INV_EMP_PAYE_REF', 'F');
1544: l_err := true;
1545: end if;
1546:
1547: if (not validate_data(l_tax_dist,'IR Office Name ','FULL_EDI')) then