SYNC JOB BUILDER

Chỉnh sửa sync job

Hệ thống sẽ đọc metadata nguồn và tự tạo mapping SQL Server khi lưu.

Quay lại
1

Thông tin job

Mã job là duy nhất trong hệ thống.

2

Nguồn dữ liệu

Table mode được khuyến nghị; custom SQL chỉ chấp nhận một câu SELECT.

3

Đích và incremental

Checkpoint dùng watermark + key; overlap đọc lùi để tránh bỏ sót.

Đang kiểm tra SQL Server đích...
Chọn bảng đã có hoặc nhập tên mới; bảng/cột còn thiếu sẽ được tạo theo nguồn khi chạy job.
Chọn cột thời gian cập nhật có thật ở nguồn.
Không có cột xóa mềm thì để trống.
4

Lịch chạy

Cron chuẩn 5 thành phần, mặc định chạy mỗi giờ.

Ví dụ: */15 * * * * mỗi 15 phút.
✓

Mapping hiện tại

Sẽ được cập nhật lại theo metadata khi lưu.

id → id int resource_id → resource_id int company_id → company_id int resource_calendar_id → resource_calendar_id int message_main_attachment_id → message_main_attachment_id int color → color int department_id → department_id int job_id → job_id int address_id → address_id int work_contact_id → work_contact_id int work_location_id → work_location_id int user_id → user_id int parent_id → parent_id int coach_id → coach_id int private_state_id → private_state_id int private_country_id → private_country_id int country_id → country_id int children → children int country_of_birth → country_of_birth int bank_account_id → bank_account_id int km_home_work → km_home_work int departure_reason_id → departure_reason_id int create_uid → create_uid int write_uid → write_uid int name → name nvarchar job_title → job_title nvarchar work_phone → work_phone nvarchar mobile_phone → mobile_phone nvarchar work_email → work_email nvarchar private_street → private_street nvarchar private_street2 → private_street2 nvarchar private_city → private_city nvarchar private_zip → private_zip nvarchar private_phone → private_phone nvarchar private_email → private_email nvarchar lang → lang nvarchar gender → gender nvarchar marital → marital nvarchar spouse_complete_name → spouse_complete_name nvarchar place_of_birth → place_of_birth nvarchar ssnid → ssnid nvarchar sinid → sinid nvarchar identification_id → identification_id nvarchar passport_id → passport_id nvarchar permit_no → permit_no nvarchar visa_no → visa_no nvarchar certificate → certificate nvarchar study_field → study_field nvarchar study_school → study_school nvarchar emergency_contact → emergency_contact nvarchar emergency_phone → emergency_phone nvarchar employee_type → employee_type nvarchar barcode → barcode nvarchar pin → pin nvarchar private_car_plate → private_car_plate nvarchar spouse_birthdate → spouse_birthdate date birthday → birthday date visa_expire → visa_expire date work_permit_expiration_date → work_permit_expiration_date date departure_date → departure_date date employee_properties → employee_properties nvarchar additional_note → additional_note nvarchar notes → notes nvarchar departure_description → departure_description nvarchar active → active bit work_permit_scheduled_activity → work_permit_scheduled_activity bit create_date → create_date datetime2 write_date → write_date datetime2 hourly_cost → hourly_cost decimal leave_manager_id → leave_manager_id int sap_slp_code → sap_slp_code int sap_work_shift → sap_work_shift int sap_hr_code → sap_hr_code nvarchar sap_position_hr → sap_position_hr nvarchar sap_department_hr → sap_department_hr nvarchar sap_business_area → sap_business_area nvarchar sap_user_name → sap_user_name nvarchar sap_branch → sap_branch nvarchar sap_update_date → sap_update_date datetime2