Qeasy Cloud
Get Started

Master Data Sync from Jushuitan to Kingdee Xingchen: A Single-Strategy Practical Guide

· 高金凤· Integration Solutions· 17 views· 4 min read
Jushuitan金蝶云星辰物料同步主数据治理轻易云供应链集成

What This Strategy Solves

Master data sync across systems is the first brick of supply chain integration. The source side is Jushuitan, common in e-commerce and distribution, while the target is Kingdee Xingchen, the financial and supply chain back office. Inconsistent coding rules, units of measure, and category definitions are the norm. We have seen projects that went live without centralized code mapping — three months later, inventory did not match, SKUs had one-to-many mappings, and the only option was a redo. This strategy is designed to ensure that product information is entered once and remains consistent on both sides.

Data Flow and Field Mapping

The full chain is Jushuitan → Qeasy Integration Platform → Kingdee Xingchen, triggered by product change events on the Jushuitan side. The middle layer stores no business data — it only performs field translation, cleansing, and code alignment.

Business MeaningJushuitan (Source)Kingdee Xingchen (Target)Mapping Notes
Product Codeitem_codeFNumber1:1, requires uniqueness check in Qeasy
Product Nameitem_nameFName1:1, truncate if length exceeds limit
SpecificationspecFModel1:1
Unit of MeasureunitFUnitIdUnit mapping table maintained in Qeasy
CategorycategoryFCategoryIdAlign category tree structure
BarcodebarcodeFBarcodeMulti-value field, concatenated by newline
Default Warehousedefault_warehouseFDefaultStockIdWarehouse code mapping
StatusenabledFUseOrg / enable flagLogical value conversion

The header is pushed first, while extended attributes (custom fields, auxiliary attributes) are delivered in body stages, which significantly reduces the first-screen failure rate.

How to Configure on Qeasy

We use the Qeasy Data Integration Platform to handle this strategy. There are four key configuration points:

  1. Source extraction: Use the built-in Jushuitan connector in Qeasy to pull increments based on modified_time > ${last_sync_time}. For the first full sync, set last_sync_time to 1970-01-01; once it completes, immediately switch to incremental mode.
  2. Field mapping: Maintain a complete mapping table in the Qeasy "Field Mapping" node, centralizing enum values such as units, warehouses, and categories. A common pattern we see on customer sites is "centralized code mapping management" — all custom mappings live in one mapping component, so changes only need to be made once.
  3. Target write: Call the Kingdee Xingchen material save interface. It is recommended to first run the strategy as "save and return" to confirm the status code, then complete the custom fields.
  4. Error handling: Configure error classification in Qeasy — network errors auto-retry up to 3 times, business errors (such as duplicate codes) are written to a manual handling queue to avoid blocking subsequent data.

Implementation Steps

We typically split the go-live into four phases, each with a clear deliverable.

  • Phase 1 — Historical full sync: Pull from the source in descending order of creation time, page by page; Qeasy performs cleansing and writes the full set to the target. It is recommended to trigger this at night to avoid consuming bandwidth during business peaks.
  • Phase 2 — Incremental start point: After the full sync completes, switch last_sync_time to the end time of the full sync and start a 5-minute incremental polling.
  • Phase 3 — Phased delivery: Once the header is stable, push the body (multi-units, multi-barcodes, custom fields). We call this "header and body phased", which keeps the rollback granularity small.
  • Phase 4 — Steady-state operation: The scheduling frequency converges to once every 1–5 minutes. Combined with Qeasy monitoring and alerts, watch the failure rate and latency.

Pitfall Review

Below are five pitfalls we have stepped on repeatedly at customer sites. Writing them down can save at least a week.

  1. Forgetting to switch to incremental and running "full every time" — A typical mistake is running the full sync script repeatedly as a scheduled task. The target system triggers uniqueness constraints due to duplicate writes. The safe approach is to run the full sync only once, then go incremental.
  2. Hardcoding unit/warehouse mappings in scripts — When business rules change later, you fix one place and forget ten. Centralized code mapping management is the right way.
  3. Writing multi-value barcode fields directly into a single line — One SKU in Jushuitan often has multiple barcodes, and if the target side only takes the first one, data is lost. Follow the target system's convention, either with newline or array expansion.
  4. Running before the category tree is aligned — The source category is a three-level flat structure, the target is a tree. Out-of-order alignment causes batch failures. Suggest aligning the category tree with a sample dataset first, then scaling up.
  5. Unlimited retry of failed tasks — Business errors (such as duplicate codes, length overflows) in an infinite retry loop will jam the queue. This is a place where things easily go wrong — the configuration must distinguish between "network retry" and "business manual handling".

Applicable and Non-Applicable Scenarios

Applicable: Mid-sized enterprises where e-commerce/distribution is the main business and product master data needs to be unified into the financial ERP; both sides have a designated master data owner. Not applicable: The source side frequently changes SKUs and codes are unstable; the target ERP is in the initialization phase and needs master data governance first; or neither side has a strong "unique material code" discipline in place.

Original content. Please credit the source when reposting: https://www.qeasy.cloud/insights/solutions/strat-jushuitan-kingdee-cloud-9521-n6afc0da2-1e409655

Comments