Master Data Sync from Jushuitan to Kingdee Xingchen: A Single-Strategy Practical Guide
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 Meaning | Jushuitan (Source) | Kingdee Xingchen (Target) | Mapping Notes |
|---|---|---|---|
| Product Code | item_code | FNumber | 1:1, requires uniqueness check in Qeasy |
| Product Name | item_name | FName | 1:1, truncate if length exceeds limit |
| Specification | spec | FModel | 1:1 |
| Unit of Measure | unit | FUnitId | Unit mapping table maintained in Qeasy |
| Category | category | FCategoryId | Align category tree structure |
| Barcode | barcode | FBarcode | Multi-value field, concatenated by newline |
| Default Warehouse | default_warehouse | FDefaultStockId | Warehouse code mapping |
| Status | enabled | FUseOrg / enable flag | Logical 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:
- 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, setlast_sync_timeto 1970-01-01; once it completes, immediately switch to incremental mode. - 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.
- 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.
- 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_timeto 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.
- 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.
- 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.
- 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.
- 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.
- 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.