Qeasy Cloud
Get Started

Practical Guide: Distributor Address Master Data Sync from Field Operations Platform to Kingdee Cloud Cosmic Flagship Edition

· 吕修远· Integration Solutions· 12 views· 4 min read
勤策/外勤365金蝶云·星空旗舰版基础资料同步经销商主数据地址同步轻易云金蝶云·星空勤策/外勤365

What This Strategy Solves (Scenario and Value)

In a typical retail company, the frontline team uses a field operations platform to manage distributor profiles and visits, while the back-end finance and supply chain run on the Kingdee Cloud Cosmic Flagship Edition. Both sides have to maintain "customer address" as master data—one side entered by business, the other side serving as the root for orders, receivables, and reconciliation. When a distributor changes its shipping address and it is not pushed to the back-end in time, a classic problem arises: "the goods arrive at the warehouse, but the address on the document is still the old one."

This strategy addresses that: pushing address changes from the field operations platform to Kingdee's customer master in a traceable way, so downstream transactional documents always pick up the current address.

Data Flow and Field Mapping (Source → Middle Layer → Target)

The data flow is one-way: field operations platform → Qeasy integration platform (middle layer) → Kingdee Cloud Cosmic Flagship Edition. The middle layer only translates and keeps logs; it does not host business data.

Key field mapping:

Business meaningSource field (field ops platform, example)Middle-layer canonical fieldTarget field (Kingdee, example)
Customer codedistributor_codecustomer_codeFNumber
Customer namedistributor_namecustomer_nameFName
Recipientreceivercontact_personFContact
Phonephonecontact_phoneFPhone
Province / City / Districtregion_chainaddr_province / addr_city / addr_districtFProvince / FCity / FDistrict
Detailed addressdetail_addraddress_detailFAddress
Is defaultis_defaultis_default_addrFIsDefault
Last modified timemodify_timelast_modified_atFModifyDate

The most easily overlooked part is province/city/district. The field side usually provides a single concatenated string, while Kingdee expects split fields. The safe approach is to split administrative regions in the middle layer before writing.

How to Configure on Qeasy

Source side: use the field operations platform's open API (or its standard query interface) as the data source, pulling increments by modify_time.

Target side: writing Kingdee's customer master typically uses its standard save API. A common pattern among Qeasy customers is to handle header and body in phases—address belongs to the extended info tab of the customer master, so it is recommended to write it in the "body phase" to avoid coupling with basic fields in one call.

Middle mapping: in Qeasy's field mapping node, put all code and dictionary conversions in a single "mapping center." A typical pattern is "centralized code mapping management"—for example, the field platform's "customer type" and Kingdee's "customer category" are not the same system; centralizing them means future changes happen in one place rather than scattered across multiple strategies.

Scheduling: use "incremental + full dual-track"—incremental runs continuously, full is triggered on demand (see next section).

Implementation Steps

Step 1, define the incremental baseline. Our standard approach in the field: records where modify_time is greater than the last successful sync time are treated as increments; before first go-live, run a historical full sync as the baseline.

Step 2, full sync trigger. Full sync is not run daily after go-live—it is triggered manually via Qeasy's "manual trigger + task tag" mechanism at these moments: first go-live, batch cleanup on the source side, and pre-monthly reconciliation full check requested by the customer.

Step 3, scheduling frequency. This is master data—change frequency is not high, but it must take effect in time for accounting. A safe approach is incremental every 15 minutes, full on demand.

Step 4, retry and alerting. Configure Qeasy's "failure retry" node: auto-retry 3 times with backoff for network errors; route business errors (e.g., code conflict, missing required fields) directly to a human task queue instead of retrying endlessly.

Step 5, logging and reconciliation. Every sync record must keep source_id + target_id + sync_time in Qeasy for easy cross-side reconciliation.

Pitfall Recap

  1. Administrative regions not split before write. Classic mistake: stuffing the field side's province/city/district string directly into Kingdee's detailed address. Result: shipping labels and printed documents go wrong. Safe approach: split in the middle layer, with a default fallback for unknown regions.

  2. "Is default address" gets overwritten. The customer changes an address from default to non-default on the source, but the sync does a full overwrite, scrambling Kingdee's default flags. Safe approach: only sync the status of "this address"—do not change other addresses of the same customer on the side.

  3. Code mappings scattered across strategies. In one real project, the customer had 6–7 code mappings between field and Kingdee, scattered everywhere; changing one dictionary item took half a day to find. Centralized management basically eliminated this issue.

  4. Scheduled full sync hits API rate limits. Do not run full sync on a timer at dawn competing with increments. Full sync must use a separate channel and a separate rate-limit window.

  5. No baseline on first go-live. Going straight into increments with no historical data, three months later the numbers on both sides do not match. Safe approach: run a historical full sync before go-live, then switch to increments.

Applicable and Non-Applicable Scenarios

Applicable: customer master addresses maintained by the frontline team and required to take effect immediately in the back-end ERP; enterprises where master data changes infrequently but reconciliation accuracy is critical.

Not applicable: address changes are extremely frequent (per-minute), or the back-end has a separate customer master data management platform that distributes addresses downstream—in that case, use a "central master data platform pushes downstream" pattern instead.

Original content. Please credit the source when reposting: https://www.qeasy.cloud/insights/solutions/strat-365-p110c26-4875-ok-7b5ea251

Comments