90: lv_ni_name := NVL(lv_ni_name, 'Employee SS #');
91:
92:
93: lv_format1 :=
94: pay_us_payroll_utils.formated_data_string (p_input_string => 'Year '
95: ,p_bold => 'Y'
96: ,p_output_file_type => p_output_file_type) ;
97: if (p_pre_or_gre is not null) then
98: if p_pre_or_gre= 'PRE' then
95: ,p_bold => 'Y'
96: ,p_output_file_type => p_output_file_type) ;
97: if (p_pre_or_gre is not null) then
98: if p_pre_or_gre= 'PRE' then
99: lv_format1 := lv_format1 ||pay_us_payroll_utils.formated_data_string
100: (p_input_string => 'PRE '
101: ,p_bold => 'Y'
102: ,p_output_file_type => p_output_file_type);
103: elsif p_pre_or_gre = 'GRE' then
100: (p_input_string => 'PRE '
101: ,p_bold => 'Y'
102: ,p_output_file_type => p_output_file_type);
103: elsif p_pre_or_gre = 'GRE' then
104: lv_format1 := lv_format1 ||pay_us_payroll_utils.formated_data_string
105: (p_input_string => 'GRE '
106: ,p_bold => 'Y'
107: ,p_output_file_type => p_output_file_type);
108: end if;
106: ,p_bold => 'Y'
107: ,p_output_file_type => p_output_file_type);
108: end if;
109: else
110: lv_format1 := lv_format1 ||pay_us_payroll_utils.formated_data_string
111: (p_input_string => 'GRE '
112: ,p_bold => 'Y'
113: ,p_output_file_type => p_output_file_type);
114: end if;
112: ,p_bold => 'Y'
113: ,p_output_file_type => p_output_file_type);
114: end if;
115:
116: lv_format1 := lv_format1 || pay_us_payroll_utils.formated_data_string
117: (p_input_string => 'Employee Name '
118: ,p_bold => 'Y'
119: ,p_output_file_type => p_output_file_type) ||
120: pay_us_payroll_utils.formated_data_string (p_input_string => lv_ni_name||' '
116: lv_format1 := lv_format1 || pay_us_payroll_utils.formated_data_string
117: (p_input_string => 'Employee Name '
118: ,p_bold => 'Y'
119: ,p_output_file_type => p_output_file_type) ||
120: pay_us_payroll_utils.formated_data_string (p_input_string => lv_ni_name||' '
121: ,p_bold => 'Y'
122: ,p_output_file_type => p_output_file_type) ||
123: pay_us_payroll_utils.formated_data_string (p_input_string => 'Employee #'
124: ,p_bold => 'Y'
119: ,p_output_file_type => p_output_file_type) ||
120: pay_us_payroll_utils.formated_data_string (p_input_string => lv_ni_name||' '
121: ,p_bold => 'Y'
122: ,p_output_file_type => p_output_file_type) ||
123: pay_us_payroll_utils.formated_data_string (p_input_string => 'Employee #'
124: ,p_bold => 'Y'
125: ,p_output_file_type => p_output_file_type) ;
126:
127: hr_utility.trace('Static Label1 = ' || lv_format1);
155: BEGIN
156:
157: hr_utility.set_location(gv_package_name || '.formated_detail_string', 10);
158: lv_format1 :=
159: pay_us_payroll_utils.formated_data_string (p_input_string => p_year
160: ,p_bold => 'N'
161: ,p_output_file_type => p_output_file_type) ||
162: pay_us_payroll_utils.formated_data_string (p_input_string => p_gre
163: ,p_bold => 'N'
158: lv_format1 :=
159: pay_us_payroll_utils.formated_data_string (p_input_string => p_year
160: ,p_bold => 'N'
161: ,p_output_file_type => p_output_file_type) ||
162: pay_us_payroll_utils.formated_data_string (p_input_string => p_gre
163: ,p_bold => 'N'
164: ,p_output_file_type => p_output_file_type) ||
165: pay_us_payroll_utils.formated_data_string (p_input_string => p_employee_name
166: ,p_bold => 'N'
161: ,p_output_file_type => p_output_file_type) ||
162: pay_us_payroll_utils.formated_data_string (p_input_string => p_gre
163: ,p_bold => 'N'
164: ,p_output_file_type => p_output_file_type) ||
165: pay_us_payroll_utils.formated_data_string (p_input_string => p_employee_name
166: ,p_bold => 'N'
167: ,p_output_file_type => p_output_file_type) ||
168: pay_us_payroll_utils.formated_data_string (p_input_string => P_employee_ssn
169: ,p_bold => 'N'
164: ,p_output_file_type => p_output_file_type) ||
165: pay_us_payroll_utils.formated_data_string (p_input_string => p_employee_name
166: ,p_bold => 'N'
167: ,p_output_file_type => p_output_file_type) ||
168: pay_us_payroll_utils.formated_data_string (p_input_string => P_employee_ssn
169: ,p_bold => 'N'
170: ,p_output_file_type => p_output_file_type) ||
171: pay_us_payroll_utils.formated_data_string (p_input_string => p_emplyee_number
172: ,p_bold => 'N'
167: ,p_output_file_type => p_output_file_type) ||
168: pay_us_payroll_utils.formated_data_string (p_input_string => P_employee_ssn
169: ,p_bold => 'N'
170: ,p_output_file_type => p_output_file_type) ||
171: pay_us_payroll_utils.formated_data_string (p_input_string => p_emplyee_number
172: ,p_bold => 'N'
173: ,p_output_file_type => p_output_file_type);
174:
175:
196: lvc_message := 'No person was picked up based on selection parameters.' ||
197: ' The YEPP Archive for the GRE has no missing assignments.';
198: hr_utility.set_location(gv_package_name || '.formated_zero_count', 10);
199: FND_FILE.PUT_LINE(FND_FILE.OUTPUT,
200: pay_us_payroll_utils.formated_data_string (p_input_string => lvc_message
201: ,p_bold => 'N'
202: ,p_output_file_type => output_file_type));
203: hr_utility.set_location(gv_package_name || '.formated_zero_count', 20);
204: END;
234: FND_FILE.PUT_LINE(FND_FILE.OUTPUT, '