Qeasy Cloud
Get Started

Pushing Jackyun Sales Orders to Yonyou NCC: A Single-Strategy Deep Dive into Free-Goods Sales Order Sync

· 吕修远· Integration Solutions· 19 views· 5 min read

What This Strategy Solves

In one real retail project, the online e-commerce warehouse ships free gifts (also called “gift-only orders”) together with customer parcels. These free-goods sales orders exist fully in Jackyun, but the finance side requires them to flow into Yonyou NCC's blue-letter sales order process so that revenue recognition, cost accounting, and invoicing conventions stay consistent. What we delivered is a single-point strategy: push Jackyun free-goods sales documents into Yonyou NCC blue-letter sales orders under a fixed set of rules.

What looks like “document movement” is hard in practice: free goods carry no revenue but still need to count as shipment, and the tax-inclusive/exclusive amounts need careful handling, plus the handoff with the third-party cloud warehouse has to be precise. The value of running this on the Qeasy (轻易云) data-integration platform is that scattered interface work is consolidated into one observable, replayable, and auditable sync unit.

Data Flow and Field Mapping

The overall direction is: Jackyun → Qeasy middleware → Yonyou NCC. Jackyun is the source of truth for the business event; Yonyou NCC is the financial and accounting target; the middleware handles cleaning, mapping, enrichment, and replay.

Key field mapping (simplified):

Business MeaningJackyun (Source)Qeasy MiddlewareYonyou NCC (Target)
Document numberSales order no.Pass-throughDocument no.
Document dateOrder timeNormalized to dateDocument date
Customer codeCustomer IDLookup in mapping tableCustomer master code
SKU codeSKU IDLookup in mapping tableInventory code
QuantitySold qtyPreserveQuantity
Tax-inclusive / exclusive amountTax-inclusive amountZero or offset per free-goods rulePrice-tax total, tax-exclusive amount
Tax rateDefaultPass-throughTax rate
WarehouseOutbound warehouseLookup in mapping tableInventory org warehouse
Doc typeSales orderTagged as free goodsSales order (blue)

Centralized mapping management is a common pattern among Qeasy customers: customer, SKU, and warehouse code mappings live in the middleware, so a change on either end only requires a single edit, never a strategy rewrite.

How to Configure on Qeasy

In the strategy configuration screen, work through these points in order:

  1. Source connector: choose Jackyun, configure app credentials and the available interface scope, and use the “Sales Order (Free Goods)” entry point. Make sure the filter condition includes a free-goods flag or doc-type tag so normal orders are not pulled in.
  2. Target connector: choose Yonyou NCC, configure tenant access and interface authorization, set the write target to “Sales Order (Blue)”, and disable the non-zero validation on tax-inclusive amounts in the preset fields.
  3. Field mapping: build the mapping per the table above; bind amount fields to the free-goods rule expression; bind code fields to the centralized mapping table.
  4. Idempotency and deduplication: use “source doc no. + line no.” as the unique key so re-triggers skip writes and avoid dirty-data accumulation.
  5. Failure handling: enable retry and a human-in-the-loop channel; set retry caps and intervals based on business volume. A common Qeasy pattern is to split out “third-party cloud warehouse acknowledgment failures” for easier post-mortem.

Implementation Steps

We usually split rollout into three phases to avoid one-shot risk:

Phase 1 — Incremental baseline. Pick a clear cutoff timestamp in Jackyun (e.g. after 00:00 of a specific date) and take only new orders from there. The goal of this phase is to validate connectivity and field mapping, getting a minimal viable path running.

Phase 2 — Full-volume trigger. Once incremental is stable, fire a one-time full backfill over a business-defined window (e.g. the last 30 days of free-goods orders). Running full and incremental in parallel is a common Qeasy pattern — keep the full task as a safety net after completion and run only incremental in steady state.

Phase 3 — Schedule and monitoring. Free-goods orders rarely spike but are tightly coupled to shipment timing, so a 5–15 minute sync interval is appropriate — close to real-time without stressing the source system. Wire three baseline metrics — order count, success rate, average latency — into a visual dashboard.

A staged header-then-line rollout is the safe approach: ship the header first to verify customer, date, and warehouse are correct, then open up line items. This avoids a single line failure bringing the entire document into an invalid state.

Pitfalls and Lessons Learned

  1. Mixing free-goods and normal orders at the source. This is where things break — without a source-side filter, amount fields get contaminated and finance reconciliation fails immediately. The safe pattern is to make the source filter explicitly carry the free-goods flag and double-check with “doc type” on the target side.
  2. Missing customer or SKU mapping. A typical mistake is writing the source code directly into Yonyou NCC, where the master has no matching record, so the document is rejected by default. Build a complete mapping table in the middleware and raise an alarm for missing entries — never silently skip.
  3. Third-party cloud warehouse acknowledgment latency misinterpreted as sync failure. Free-goods outbound depends on warehouse confirmation; blindly retrying can turn short delays into apparent business exceptions. Configure a longer timeout and tiered alerting specifically for warehouse acknowledgments.
  4. Re-sending documents already pushed during full backfill. Without an idempotency key, finance will see duplicate documents and month-end close gets messy. Always dedupe in the middleware and run a doc-number reconciliation check after the full task completes.
  5. Copying the normal sales order amount logic for free goods. The “no revenue, but counted as shipment” rule must be expressed explicitly in the middleware — never reuse a generic sales-order amount calculation script.

Applicable and Non-Applicable Scenarios

Applicable: e-commerce businesses that ship free gifts and need to bring the gifting behavior into financial accounting; organizations already using Jackyun as the front end and Yonyou NCC as the accounting back end.

Not applicable: scenarios where free-goods logic is too complex to handle with per-SKU/customer/campaign differentiation; or pure in-house use cases where Yonyou NCC is the only business entry point and there is no cross-system data movement.

Original content. Please credit the source when reposting: https://www.qeasy.cloud/insights/solutions/strat-p2ea595-ncc-3109-n0b88fa08-57cb9fd9

Comments