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 order_id → order_id int sequence → sequence int company_id → company_id int currency_id → currency_id int order_partner_id → order_partner_id int salesman_id → salesman_id int product_id → product_id int product_uom → product_uom int product_packaging_id → product_packaging_id int create_uid → create_uid int write_uid → write_uid int state → state nvarchar display_type → display_type nvarchar qty_delivered_method → qty_delivered_method nvarchar invoice_status → invoice_status nvarchar analytic_distribution → analytic_distribution nvarchar name → name nvarchar product_uom_qty → product_uom_qty decimal price_unit → price_unit decimal discount → discount decimal price_subtotal → price_subtotal decimal price_total → price_total decimal price_reduce_taxexcl → price_reduce_taxexcl decimal price_reduce_taxinc → price_reduce_taxinc decimal qty_delivered → qty_delivered decimal qty_invoiced → qty_invoiced decimal qty_to_invoice → qty_to_invoice decimal untaxed_amount_invoiced → untaxed_amount_invoiced decimal untaxed_amount_to_invoice → untaxed_amount_to_invoice decimal is_downpayment → is_downpayment bit is_expense → is_expense bit create_date → create_date datetime2 write_date → write_date datetime2 price_tax → price_tax float product_packaging_qty → product_packaging_qty float customer_lead → customer_lead float sap_wmonth → sap_wmonth int sap_is_discount → sap_is_discount nvarchar route_id → route_id int onhand_quantity → onhand_quantity float filler_warehouse_id → filler_warehouse_id int create_sap → create_sap bit ts_supply_side → ts_supply_side nvarchar lt_side_qty → lt_side_qty float lt_lt_qty → lt_lt_qty float lt_main_qty → lt_main_qty float ts_alloc_main_qty → ts_alloc_main_qty float ts_alloc_lt_qty → ts_alloc_lt_qty float lt_warehouse_code → lt_warehouse_code nvarchar manufacturer_warranty_month → manufacturer_warranty_month int sap_dxvt_created → sap_dxvt_created bit ts_source_order_id → ts_source_order_id int ts_source_ticket_id → ts_source_ticket_id int quotation_warranty_term → quotation_warranty_term nvarchar