68:
69: lv_gre_heading := hr_general.decode_lookup('PAY_CA_MISSING_ASG','GRE');
70:
71: lv_format1 :=
72: pay_us_payroll_utils.formated_data_string
73: (p_input_string => lv_year_heading
74: ,p_bold => 'Y'
75: ,p_output_file_type => p_output_file_type) ||
76: pay_us_payroll_utils.formated_data_string
72: pay_us_payroll_utils.formated_data_string
73: (p_input_string => lv_year_heading
74: ,p_bold => 'Y'
75: ,p_output_file_type => p_output_file_type) ||
76: pay_us_payroll_utils.formated_data_string
77: (p_input_string => lv_gre_heading
78: ,p_bold => 'Y'
79: ,p_output_file_type => p_output_file_type) ||
80: pay_us_payroll_utils.formated_data_string
76: pay_us_payroll_utils.formated_data_string
77: (p_input_string => lv_gre_heading
78: ,p_bold => 'Y'
79: ,p_output_file_type => p_output_file_type) ||
80: pay_us_payroll_utils.formated_data_string
81: (p_input_string => lv_emp_name_heading
82: ,p_bold => 'Y'
83: ,p_output_file_type => p_output_file_type) ||
84: pay_us_payroll_utils.formated_data_string
80: pay_us_payroll_utils.formated_data_string
81: (p_input_string => lv_emp_name_heading
82: ,p_bold => 'Y'
83: ,p_output_file_type => p_output_file_type) ||
84: pay_us_payroll_utils.formated_data_string
85: (p_input_string => lv_emp_sin_heading
86: ,p_bold => 'Y'
87: ,p_output_file_type => p_output_file_type) ||
88: pay_us_payroll_utils.formated_data_string
84: pay_us_payroll_utils.formated_data_string
85: (p_input_string => lv_emp_sin_heading
86: ,p_bold => 'Y'
87: ,p_output_file_type => p_output_file_type) ||
88: pay_us_payroll_utils.formated_data_string
89: (p_input_string => lv_emp_num_heading
90: ,p_bold => 'Y'
91: ,p_output_file_type => p_output_file_type);
92:
94:
95: lv_pre_heading := hr_general.decode_lookup('PAY_CA_MISSING_ASG','PRE');
96:
97: lv_format1 :=
98: pay_us_payroll_utils.formated_data_string
99: (p_input_string => lv_year_heading
100: ,p_bold => 'Y'
101: ,p_output_file_type => p_output_file_type) ||
102: pay_us_payroll_utils.formated_data_string
98: pay_us_payroll_utils.formated_data_string
99: (p_input_string => lv_year_heading
100: ,p_bold => 'Y'
101: ,p_output_file_type => p_output_file_type) ||
102: pay_us_payroll_utils.formated_data_string
103: (p_input_string => lv_pre_heading
104: ,p_bold => 'Y'
105: ,p_output_file_type => p_output_file_type) ||
106: pay_us_payroll_utils.formated_data_string
102: pay_us_payroll_utils.formated_data_string
103: (p_input_string => lv_pre_heading
104: ,p_bold => 'Y'
105: ,p_output_file_type => p_output_file_type) ||
106: pay_us_payroll_utils.formated_data_string
107: (p_input_string => lv_emp_name_heading
108: ,p_bold => 'Y'
109: ,p_output_file_type => p_output_file_type) ||
110: pay_us_payroll_utils.formated_data_string
106: pay_us_payroll_utils.formated_data_string
107: (p_input_string => lv_emp_name_heading
108: ,p_bold => 'Y'
109: ,p_output_file_type => p_output_file_type) ||
110: pay_us_payroll_utils.formated_data_string
111: (p_input_string => lv_emp_sin_heading
112: ,p_bold => 'Y'
113: ,p_output_file_type => p_output_file_type) ||
114: pay_us_payroll_utils.formated_data_string
110: pay_us_payroll_utils.formated_data_string
111: (p_input_string => lv_emp_sin_heading
112: ,p_bold => 'Y'
113: ,p_output_file_type => p_output_file_type) ||
114: pay_us_payroll_utils.formated_data_string
115: (p_input_string => lv_emp_num_heading
116: ,p_bold => 'Y'
117: ,p_output_file_type => p_output_file_type);
118: end if;
150:
151: if p_report_type in ('T4','T4A') then
152:
153: lv_format1 :=
154: pay_us_payroll_utils.formated_data_string
155: (p_input_string => p_year
156: ,p_bold => 'N'
157: ,p_output_file_type => p_output_file_type) ||
158: pay_us_payroll_utils.formated_data_string
154: pay_us_payroll_utils.formated_data_string
155: (p_input_string => p_year
156: ,p_bold => 'N'
157: ,p_output_file_type => p_output_file_type) ||
158: pay_us_payroll_utils.formated_data_string
159: (p_input_string => p_gre_name
160: ,p_bold => 'N'
161: ,p_output_file_type => p_output_file_type) ||
162: pay_us_payroll_utils.formated_data_string
158: pay_us_payroll_utils.formated_data_string
159: (p_input_string => p_gre_name
160: ,p_bold => 'N'
161: ,p_output_file_type => p_output_file_type) ||
162: pay_us_payroll_utils.formated_data_string
163: (p_input_string => p_employee_name
164: ,p_bold => 'N'
165: ,p_output_file_type => p_output_file_type) ||
166: pay_us_payroll_utils.formated_data_string
162: pay_us_payroll_utils.formated_data_string
163: (p_input_string => p_employee_name
164: ,p_bold => 'N'
165: ,p_output_file_type => p_output_file_type) ||
166: pay_us_payroll_utils.formated_data_string
167: (p_input_string => p_employee_sin
168: ,p_bold => 'N'
169: ,p_output_file_type => p_output_file_type) ||
170: pay_us_payroll_utils.formated_data_string
166: pay_us_payroll_utils.formated_data_string
167: (p_input_string => p_employee_sin
168: ,p_bold => 'N'
169: ,p_output_file_type => p_output_file_type) ||
170: pay_us_payroll_utils.formated_data_string
171: (p_input_string => p_employee_number
172: ,p_bold => 'N'
173: ,p_output_file_type => p_output_file_type);
174:
174:
175: elsif p_report_type in ('RL1','RL2') then
176:
177: lv_format1 :=
178: pay_us_payroll_utils.formated_data_string
179: (p_input_string => p_year
180: ,p_bold => 'N'
181: ,p_output_file_type => p_output_file_type) ||
182: pay_us_payroll_utils.formated_data_string
178: pay_us_payroll_utils.formated_data_string
179: (p_input_string => p_year
180: ,p_bold => 'N'
181: ,p_output_file_type => p_output_file_type) ||
182: pay_us_payroll_utils.formated_data_string
183: (p_input_string => p_pre_name
184: ,p_bold => 'N'
185: ,p_output_file_type => p_output_file_type) ||
186: pay_us_payroll_utils.formated_data_string
182: pay_us_payroll_utils.formated_data_string
183: (p_input_string => p_pre_name
184: ,p_bold => 'N'
185: ,p_output_file_type => p_output_file_type) ||
186: pay_us_payroll_utils.formated_data_string
187: (p_input_string => p_employee_name
188: ,p_bold => 'N'
189: ,p_output_file_type => p_output_file_type) ||
190: pay_us_payroll_utils.formated_data_string
186: pay_us_payroll_utils.formated_data_string
187: (p_input_string => p_employee_name
188: ,p_bold => 'N'
189: ,p_output_file_type => p_output_file_type) ||
190: pay_us_payroll_utils.formated_data_string
191: (p_input_string => p_employee_sin
192: ,p_bold => 'N'
193: ,p_output_file_type => p_output_file_type) ||
194: pay_us_payroll_utils.formated_data_string
190: pay_us_payroll_utils.formated_data_string
191: (p_input_string => p_employee_sin
192: ,p_bold => 'N'
193: ,p_output_file_type => p_output_file_type) ||
194: pay_us_payroll_utils.formated_data_string
195: (p_input_string => p_employee_number
196: ,p_bold => 'N'
197: ,p_output_file_type => p_output_file_type);
198:
1788:
1789: end if;
1790:
1791: fnd_file.put_line(fnd_file.output,
1792: pay_us_payroll_utils.formated_header_string(gv_title || ' - ' || p_report_type || ' ' ||
1793: to_char(l_effective_date,'YYYY'),p_output_file_type));
1794:
1795: if p_output_file_type ='HTML' then
1796: fnd_file.put_line(fnd_file.output, '
1806: fnd_file.put_line(fnd_file.output, '
1817: fnd_file.put_line(fnd_file.output, '