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 company_id → company_id int create_date → create_date datetime2 name → name nvarchar title → title int parent_id → parent_id int user_id → user_id int state_id → state_id int country_id → country_id int industry_id → industry_id int color → color int commercial_partner_id → commercial_partner_id int create_uid → create_uid int write_uid → write_uid int complete_name → complete_name nvarchar ref → ref nvarchar lang → lang nvarchar tz → tz nvarchar vat → vat nvarchar company_registry → company_registry nvarchar website → website nvarchar function → function nvarchar type → type nvarchar street → street nvarchar street2 → street2 nvarchar zip → zip nvarchar city → city nvarchar email → email nvarchar phone → phone nvarchar mobile → mobile nvarchar commercial_company_name → commercial_company_name nvarchar company_name → company_name nvarchar barcode → barcode nvarchar comment → comment nvarchar partner_latitude → partner_latitude decimal partner_longitude → partner_longitude decimal active → active bit employee → employee bit is_company → is_company bit partner_share → partner_share bit write_date → write_date datetime2 message_bounce → message_bounce int email_normalized → email_normalized nvarchar signup_type → signup_type nvarchar specific_property_product_pricelist → specific_property_product_pricelist nvarchar partner_gid → partner_gid int additional_info → additional_info nvarchar phone_sanitized → phone_sanitized nvarchar invoice_template_pdf_report_id → invoice_template_pdf_report_id int supplier_rank → supplier_rank int customer_rank → customer_rank int invoice_warn → invoice_warn nvarchar autopost_bills → autopost_bills nvarchar credit_limit → credit_limit nvarchar property_account_payable_id → property_account_payable_id nvarchar property_account_receivable_id → property_account_receivable_id nvarchar property_account_position_id → property_account_position_id nvarchar property_payment_term_id → property_payment_term_id nvarchar property_supplier_payment_term_id → property_supplier_payment_term_id nvarchar trust → trust nvarchar ignore_abnormal_invoice_date → ignore_abnormal_invoice_date nvarchar ignore_abnormal_invoice_amount → ignore_abnormal_invoice_amount nvarchar invoice_sending_method → invoice_sending_method nvarchar invoice_edi_format_store → invoice_edi_format_store nvarchar property_outbound_payment_method_line_id → property_outbound_payment_method_line_id nvarchar property_inbound_payment_method_line_id → property_inbound_payment_method_line_id nvarchar invoice_warn_msg → invoice_warn_msg nvarchar debit_limit → debit_limit decimal peppol_endpoint → peppol_endpoint nvarchar peppol_eas → peppol_eas nvarchar sale_warn → sale_warn nvarchar sale_warn_msg → sale_warn_msg nvarchar website_id → website_id int is_published → is_published bit uc_parent_company_id → uc_parent_company_id int uc_root_company_id → uc_root_company_id int uc_credit_relation_type → uc_credit_relation_type nvarchar uc_credit_note → uc_credit_note nvarchar uc_share_credit_limit → uc_share_credit_limit bit uc_enforce_credit_limit → uc_enforce_credit_limit bit employee_code → employee_code nvarchar x_oms_slp_code → x_oms_slp_code nvarchar uc_legal_representative → uc_legal_representative nvarchar uc_invoice_recipient_email → uc_invoice_recipient_email nvarchar uc_debt_notification_email → uc_debt_notification_email nvarchar uc_portal_salesperson_name → uc_portal_salesperson_name nvarchar uc_portal_salesperson_phone → uc_portal_salesperson_phone nvarchar uc_portal_salesperson_email → uc_portal_salesperson_email nvarchar uc_portal_company_address → uc_portal_company_address nvarchar