[rowid$] |
SELECT TOP (1000) [rowid$] |
|
,[id] |
,[id] |
|
,[employee_id] |
,[employee_id] |
|
,[employee_person_id] |
,[employee_person_id] |
|
,[employee_name] |
,[employee_name] |
|
,[employee_employee_id] |
,[employee_employee_id] |
|
,[employee_tariff] |
,[employee_tariff] |
|
,[employee_amount] |
,[employee_amount] |
|
,[employee_declarable] |
,[employee_declarable] |
|
,[project_id] |
,[project_id] |
|
,[project_name] |
,[project_name] |
|
,[project_project_number] |
,[project_project_number] |
|
,[project_organization_id] |
,[project_organization_id] |
|
,[project_organization_name] |
,[project_organization_name] |
|
,[project_organization_relation_number] |
|
|
,[project_person_id] |
,[project_person_id] |
|
,[project_person_full_name] |
,[project_person_full_name] |
|
,[project_person_relation_number] |
|
|
,[project_project_manager_id] |
,[project_project_manager_id] |
|
,[project_project_manager_person_id] |
,[project_project_manager_person_id] |
|
,[project_project_manager_name] |
,[project_project_manager_name] |
|
,[project_project_manager_employee_id] |
,[project_project_manager_employee_id] |
|
,[project_project_manager_tariff] |
,[project_project_manager_tariff] |
|
,[project_project_manager_amount] |
,[project_project_manager_amount] |
|
,[project_project_manager_declarable] |
,[project_project_manager_declarable] |
|
,[project_has_register_mileage_enabled] |
|
,[project_separate_invoice_recipient_is_separate_invoice_recipient] |
,[projectservice_id] |
,[projectservice_id] |
|
,[projectservice_name] |
,[projectservice_name] |
|
,[projectservice_start_date] |
|
|
,[projectservice_until_date] |
|
|
,[projectservice_default_service_id] |
,[projectservice_default_service_id] |
|
,[projectservice_revenue_group_id] |
,[projectservice_revenue_group_id] |
|
,[type_id] |
,[type_id] |
,[projectservice_use_in_resource_planner] |
,[type_type] |
,[type_type] |
|
,[type_billable] |
,[type_billable] |
|
,[type_vatclass_id] |
,[type_vatclass_id] |
|
,[type_vatclass_code] |
,[type_vatclass_code] |
|
,[type_vatclass_name] |
,[type_vatclass_name] |
|
,[type_vatclass_label] |
,[type_vatclass_label] |
|
,[type_vatclass_percentage] |
,[type_vatclass_percentage] |
|
,[type_label] |
,[type_label] |
|
,[type_tariff] |
,[type_tariff] |
|
,[type_blocked] |
,[type_blocked] |
|
,[type_color] |
,[type_color] |
|
,[approvalstatus_id] |
,[approvalstatus_id] |
|
,[approvalstatus_label] |
,[approvalstatus_label] |
|
,[approvalstatus_description] |
,[approvalstatus_description] |
|
,[invoice_status] |
,[invoice_status] |
|
,[invoice_id] |
,[invoice_id] |
,[assignment_id] |
,[invoiceline_id] |
,[invoiceline_id] |
|
,[tariff] |
,[tariff] |
|
,[created_at] |
,[created_at] |
|
,[updated_at] |
,[updated_at] |
|
,[locked] |
,[locked] |
|
,[is_editable_value] |
,[is_editable_value] |
|
,[is_editable_reason_message] |
,[is_editable_reason_message] |
|
,[is_editable_reason_translated_message] |
,[is_editable_reason_translated_message] |
|
,[is_deletable_value] |
,[is_deletable_value] |
|
,[is_deletable_reason_message] |
,[is_deletable_reason_message] |
|
,[is_deletable_reason_translated_message] |
,[is_deletable_reason_translated_message] |
|
,[leave_status_id] |
,[leave_status_id] |
|
,[leave_status_label] |
,[leave_status_label] |
|
,[leave_id] |
,[leave_id] |
|
,[absence_id] |
,[absence_id] |
|
,[status] |
,[status] |
|
,[corrections_amount] |
,[corrections_amount] |
|
,[corrections_value] |
,[corrections_value] |
|
,[corrections_last_correction_date] |
,[corrections_last_correction_date] |
|
,[mileage_id] |
,[mileage_id] |
|
,[mileage_mileage] |
,[mileage_mileage] |
|
,[is_productive] |
,[is_productive] |
|
,[hours] |
,[hours] |
|
,[duration_in_minutes] |
|
|
,[start_date] |
,[start_date] |
|
,[end_date] |
,[end_date] |
|
,[is_time_defined] |
,[is_time_defined] |
|
,[is_recurring] |
,[is_recurring] |
|
,[recurrence_id] |
,[recurrence_id] |
|
,[recurrence_rrule_dtstart] |
,[recurrence_rrule_dtstart] |
|
,[recurrence_rrule_freq] |
,[recurrence_rrule_freq] |
|
,[recurrence_rrule_until] |
,[recurrence_rrule_until] |
|
,[recurrence_rrule_count] |
,[recurrence_rrule_count] |
|
,[recurrence_rrule_interval] |
,[recurrence_rrule_interval] |
|
,[recurrence_rrule_wkst] |
,[recurrence_rrule_wkst] |
|
,[recurrence_rrule_byday] |
,[recurrence_rrule_byday] |
|
,[recurrence_rrule_bysetpos] |
,[recurrence_rrule_bysetpos] |
|
,[recurrence_update] |
,[recurrence_update] |
|
,[is_external] |
,[is_external] |
|
,[billable] |
,[billable] |
|
,[note] |
,[note] |
|
,[address_type] |
|
|
,[address_line_1] |
|
|
,[address_line_2] |
|
|
,[address_postal_code] |
|
|
,[address_province] |
|
|
,[address_locality] |
|
|
,[address_country_code] |
|
|
,[address_country_id] |
|
|
,[assignment_id] |
|
|
,[should_sync_to_cronofy] |
,[should_sync_to_cronofy] |
|
,[source] |
,[source] |
|
FROM [dbo].[SP_HOURS_10_2022] |
FROM [dbo].[SP_HOURS_9_2022] |
|