Qeasy Cloud
Get Started

Querying Kingdee Warehouse Master Data: A Single-Strategy Sync Tutorial

· 冯潇· Integration Solutions· 19 views· 3 min read
JushuitanKingdee Cloud仓库主数据轻易云集成平台基础资料同步供应链集成

What this strategy solves

Warehouse master data is the foundation of supply-chain integration. A retail company running both Jushuitan and Kingdee Cloud keeps its warehouse records in Kingdee; Jushuitan needs to reference warehouses by code for outbound document push. We need a minimal strategy that periodically queries Kingdee warehouse records and lands them in the Qeasy integration platform, serving as the unified dictionary source for downstream sync strategies (outbound, transfer, inventory counting).

Data flow and field mapping

Data flow: Kingdee Cloud → Qeasy Integration Platform. The source calls Kingdee executeBillQuery to fetch warehouse records; the target is a "no-op write" placeholder landing node.

Key field mapping:

Kingdee fieldMeaningQeasy side
FStockIdWarehouse primary keyid
FNumberWarehouse codeCode (downstream unique reference key)
FNameWarehouse nameName
FGroupGroupGroup (used for multi-org isolation)
FUseOrgId.FNumberUsing organization codeUsing organization

FNumber is the unique identifier at strategy level. On Qeasy it is usually paired with idCheck=true for idempotent deduplication, avoiding duplicate landing.

How to configure on Qeasy

On the Qeasy Data Integration Platform, this strategy is a pull-type with source query + target placeholder. Configuration highlights:

  1. Source platform: Select Kingdee Cloud, choose api as executeBillQuery, method=POST, and tick the request fields per the table above. Mark FNumber and FStockId as field identifiers for idempotency.
  2. Target platform: Select Qeasy datahub, use the "no-op write" API as the landing placeholder, set idCheck=true, and leave the request body empty.
  3. Mapping strategy: Map Kingdee FNumber to the "Code" field on Qeasy as the downstream reference key; for FUseOrgId.FNumber, use the .FNumber suffix to extract the organization code rather than the internal id, so it is recognizable across environments.
  4. Centralized mapping management: Put the warehouse → Jushuitan shop/bin code mapping into a unified mapping table on Qeasy, making it reusable by subsequent strategies.

Implementation steps

For master data like warehouses, we usually proceed in two phases: full sync first, then stable incremental sync.

  • Full trigger (first run): On go-live day, manually trigger once to sync all current Kingdee warehouses to Qeasy at once, then validate row counts and key fields on both sides.
  • Incremental start: The incremental strategy is typically based on FNumber dictionary order or modification time. The schedule expression 4 */3 * * * for this strategy means running at minute 4 every 3 hours, which is sufficient to cover master data changes.
  • Schedule frequency: Warehouse records change infrequently; a 3-hour cycle is a safe cadence. During early go-live it can be tightened to 1 hour for observation, then relaxed back to 3 hours once stable.
  • Dependency orchestration: This strategy should complete before business strategies such as outbound orders and transfers, acting as a dictionary warm-up.

Pitfalls recap

  • Do not use the internal id as the primary key: Kingdee returns both FStockId and FNumber; downstream references must use FNumber, otherwise alignment breaks when environments change.
  • Missing .FNumber suffix on FUseOrgId: Landing the organization internal id directly into Qeasy causes errors in multi-org isolation in downstream strategies; always extract the organization code.
  • Idempotency not enabled: Repeated warehouse landing creates duplicate dictionary rows in downstream strategies; remember to set idCheck=true.
  • Schedule frequency too high: Some teams set 5-minute cycles. Kingdee executeBillQuery returns by organization, so overly high frequency slows down the source system.
  • Target node written as a real business interface: The target of this strategy is only dictionary landing; use the "no-op write" placeholder, do not misconfigure it as a downstream business document interface.

Applicable and non-applicable scenarios

Applicable: Unidirectional sync of master data such as warehouses, customers, materials, and currencies from Kingdee to Qeasy as a unified dictionary for downstream business strategies. Not applicable: Scenarios requiring write-back to Kingdee, cross-org bidirectional sync, or high-frequency changing data such as inventory balances.

Original content. Please credit the source when reposting: https://www.qeasy.cloud/insights/solutions/strat-jushuitan-kingdee-cloud-8231-n332545ef-b7c538ff

Comments