Sales Order Sync in Practice: From JikuCloud to Kingdee Cloud Skylink Without Batch Numbers
What This Strategy Solves
In a real project with a retail enterprise, front-end stores and e-commerce channels share JikuCloud for order intake and dispatch, while back-end finance and inventory accounting run on Kingdee Cloud Skylink. Every day, hundreds of sales orders are created in JikuCloud and need to land as sales outbound orders in Kingdee to drive receivables, inventory deduction, and voucher generation. The challenge is not "sending the data over" but "keeping it stable, reconcilable, and replayable". We use the Qeasy Data Integration Platform to carry this flow, pushing orders into Kingdee on a defined cadence, with retryable and traceable exceptions.
Data Flow and Field Mapping
The overall chain is: JikuCloud (Sales Order) → Qeasy middle layer (cleansing, mapping, code conversion) → Kingdee Cloud Skylink (Sales Outbound Order, no batch number). The middle layer is the key stabilizer.
Key field mapping (for the no-batch-number scenario):
| Business Meaning | JikuCloud Source Field (Order) | Kingdee Target Field (Sales Outbound) | Notes |
|---|---|---|---|
| Document Number | bill_no | FBillNo | Platform order number, deduplicated in middle layer |
| Document Date | bill_date | FDate | Time zone unified to UTC+8 |
| Customer Code | customer_code | FCustId.FNumber | Resolved via customer master mapping |
| Warehouse Code | warehouse_code | FStockId.FNumber | Warehouse mapping maintained centrally |
| SKU Code | sku_code | FMaterialId.FNumber | Material code via unified mapping table |
| Quantity | qty | FQty | Keep two decimals |
| Tax-inclusive Price | tax_price | FTaxPrice | Pass through |
| Tax Rate | tax_rate | FTaxRate | Numeric, default 13% when null |
| Remark | remark | FNote | Truncated to target system's length limit |
Centralized code mapping is one of the most common patterns Qeasy customers adopt: customer, warehouse, and material code cross-references live in mapping tables maintained in Qeasy, edited once and reused by many strategies.
How to Configure in Qeasy
In the Qeasy Data Integration Platform, we use a "Strategy (SYNC)" to host this flow. There are four core configuration blocks:
- Data source connection: Configure the JikuCloud QiMen interface as the source and the Kingdee Cloud Skylink standard interface as the target. Credentials are kept in the Qeasy connector, not scattered across scripts.
- Field mapping: Map fields according to the table above. Header (FHead) and body (FEntry) fields are processed in phases—finish header mapping first, then line items, so that incomplete body lines do not fail the entire Kingdee document.
- Code converter: Customer, warehouse, and material codes go through mapping tables. Unmatched source codes land in an "exception list" for manual remediation by operations, without blocking the main flow.
- Write policy: The Kingdee target document uses a two-step "save + approve" pattern: save under FBillNo first, then trigger approval. This avoids dirty data caused by direct approval failures.
Implementation Steps
We break down the rollout into three scheduling phases:
- Incremental start point: Before the first go-live, run a full-volume initialization of historical orders in Qeasy (full-volume trigger) to write initial documents into Kingdee. After initialization completes, record the last successful timestamp as the incremental start point.
- Full-volume trigger: Only enabled during initialization or reconciliation days, otherwise disabled to prevent accidental overwrite of live documents.
- Scheduling frequency: Daily increment runs every 5 minutes; during peak dispatch windows it can be compressed to every minute. The Qeasy scheduler handles retry and resume; the typical policy is to alert after 3 failures, with alerts not blocking subsequent batches.
Phased header/body processing and the dual-track of incremental and full-volume are the engineering foundation that keeps this strategy stable.
Pitfall Retrospective
- Time zone and date format: JikuCloud returns timestamps that, if pushed directly, are interpreted by Kingdee as format exceptions. The robust approach is to truncate to "yyyy-MM-dd" in the middle layer and then apply time-zone correction.
- Missing codes failing entire documents: When a customer master is not yet set up in Kingdee, the entire batch stalls without a "skip + exception list" mechanism. The typical approach is to front-load code validation, route missing items to the exception list, and backfill them after batch creation.
- Duplicate pushes: When the same order is fetched multiple times by Qeasy, multiple outbound documents are created in Kingdee. The middle layer must use FBillNo as a deduplication key and enforce uniqueness before write.
- Approval timing: If save and approve are placed in a single call, network jitter leaves the document in "saved but not approved". The robust approach is to split them into two calls, with Qeasy's state machine managing the transition, so failures can resume from "saved".
Applicable and Non-applicable Scenarios
Applicable: retail and trading enterprises that need sales orders pushed to Kingdee in real time or near-real time for inventory and receivables accounting, with no batch management requirement. Not applicable: pharmaceutical or food industries with strict batch/lot management, which need a separate batch-number outbound strategy; nor scenarios requiring complex approval flows or custom workflows.