INSERT `cb_payroll_headers` (`header_desc`, `header_key`, `is_calculated`, `is_emf`, `status`, `created_at`, `updated_at`, `updated_by`, `created_by`) VALUES ('Sub Department', 'sub_department', 1, 1, 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 1);
 
INSERT INTO `cb_payroll_headers_link` (`payroll_headers_id`, `payroll_headers_type_id`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`)
SELECT cph.payroll_headers_id, 9, 1, '2023-02-13 12:05:37', '2023-02-13 12:05:38', 1, 1
FROM cb_payroll_headers cph
WHERE cph.header_key = 'sub_department';

INSERT INTO `cb_payroll_headers` (`header_desc`, `header_key`, `is_calculated`, `is_emf`, `status`, `created_at`, `updated_at`, `updated_by`, `created_by`) VALUES ('Client ID', 'client_id', 1, 1, 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 1);
 
 
INSERT INTO `cb_payroll_headers_link` (`payroll_headers_id`, `payroll_headers_type_id`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`)
SELECT cph.payroll_headers_id, 9, 1, '2023-02-13 12:05:37', '2023-02-13 12:05:38', 1, 1
FROM cb_payroll_headers cph
WHERE cph.header_key = 'client_id';
