Authoritative Field Manual: Kingdee Cloud Skyline Supplier Query API
What This Interface Solves
In Kingdee Cloud Skyline to DingTalk master data integration scenarios, the source ExecuteBillQuery (FormId: BD_Supplier) plays the role of "supplier master data extraction" — it pulls supplier records (code, name, bank accounts, classification, org ownership) from Kingdee using an incremental window, providing an authoritative data source for downstream DingTalk supplier forms, purchase approvals, reconciliation, and contracts. A single mapping mistake here propagates into every downstream payment and reconciliation, so field mapping must be right the first time.
Interface Capability Overview
- Interface shape: Kingdee Cloud Skyline generic query
ExecuteBillQuery, FormIdBD_Supplier, pure QUERY mode, no writes back to Kingdee. - Authentication: Kingdee Cloud Skyline WebAPI auth (app ID / app secret / account set), uniformly managed by the adapter — no manual token maintenance.
- Request structure:
FormId=BD_Supplier,FieldKeyslists returned fields,FilterStringprovides filter conditions,Limit/StartRowpaginate. - Response structure: JSON array, each element a supplier record; reference fields return as
*.FNumber(code) and*.FDataValue(display name). - Incremental mode: Typical pattern
FAuditDate>='{{LAST_SYNC_TIME|dateTime}}', rolling-window by audit time, avoids full-table scans. - Pagination: Standard
Limit+StartRow, single page 1000–2000 rows recommended; oversized pages often cause Kingdee server timeouts. - Org filtering:
FCreateOrgId.FNumber in ('04','0402','401')is the multi-org whitelist we have reused across multiple projects. - Scheduling: crontab runs in off-peak hours (e.g.
49 3 * * *), avoiding business peaks.
Typical Field Mapping
| Field | Type | Meaning | Field Notes |
|---|---|---|---|
FSupplierId | string | Supplier primary key | Set as id in metadata; stable anchor for cross-system linkage |
FNumber | string | Supplier code | Master key on DingTalk side; enforce uniqueness |
FName | string | Supplier name | Display field on DingTalk form; normalize full/half-width and whitespace |
FCreateOrgId_FNumber | string | Create org code | Common filter field for multi-org scenarios |
FUseOrgId_FNumber | string | Use org code | When different from create org, base permissions on use org |
FCorrespondOrgId_FNumber | string | Corresponding org | Used for cross-entity supplier mapping |
FShortName | string | Short name | Better for list/mobile display |
FSupplierClassify_FNumber / FSupplierClassify | string | Supplier classification code | Same source; prefer _FNumber |
FSupplierClassify_FDataValue | string | Supplier classification name | Display only — never use as a business key |
FSupplierGrade_FNumber | string | Supplier grade (A/B/C) | Basis for procurement strategy and evaluation |
FSupplyClassify | string | Supply category (material/service) | Distinguishes procurement type |
FGroup | string | Supplier group | Custom grouping management |
FPayCurrencyId_FNumber | string | Settlement currency code | Critical for cross-border payments |
FSettleTypeId_FNumber | string | Settlement type | Wire, L/C, acceptance draft, etc. |
FPayCondition_FNumber | string | Payment terms | Net N days, COD, etc. |
FSettleId_FNumber | string | Settling party code | Receiving entity in multi-account setups |
FInvoiceType | string | Invoice type | VAT special / general, etc. |
FProviderId_FNumber | string | Provider code | Supplier-of-record when overlapping with customers |
FRegisterAddress | string | Registered address | Used in contract/invoice title validation |
FDeptId_FNumber / FStaffId_FNumber | string | Responsible dept / staff | Procurement ownership |
FBankCode | string | Bank account number | Required for payment and reconciliation |
FBankHolder | string | Account holder | Must strictly match the registered entity — otherwise returns |
FOpenBankName | string | Opening bank | Reference for cross-bank clearing |
FCNAPS | string | CNAPS code | 12 digits, basis for interbank clearing |
FBusinessStatus | string | Business status | Draft/Approved; downstream should typically filter Approved only |
FStartDate / FEndDate | string | Effective / expiry date | After expiry, downstream sync should be disabled |
FCompanyClassify_FNumber / FCompanyNature_FNumber / FCompanyScale_FNumber | string | Company category / nature / scale | Qualification review and reporting |
FCountry_FNumber / FProvincial_FNumber | string | Country / region code | Watch code systems in cross-border cases |
How to Configure on Qeasy
On the Qeasy Data Integration Platform, Kingdee Cloud Skyline uses the built-in Kingdee adapter — simply selecting the FormId (BD_Supplier) automatically fetches the field list, no manual FieldKeys assembly required.
- Source configuration: Fill in Kingdee Cloud Skyline's WebAPI address, app ID / secret / account set; the platform handles token lifecycle.
- Field mapper: Qeasy builds a field tree from
BD_Suppliermetadata, auto-expanding*.FNumberand*.FDataValue; drag-and-drop to map to DingTalk supplier form fields. - Incremental setup: In the filter area, write
FAuditDate>='{{LAST_SYNC_TIME|dateTime}}'; platform variables are auto-substituted — no custom scripts. - Pagination & rate limiting: Adapter defaults to
Limit=2000+StartRow; on timeout it retries and resumes from the last checkpoint. - Sink side: DingTalk uses its open form API; the DingTalk connector handles auth, type conversion, and error replay.
- Observability: Each run exposes record count, success rate, and failure details in the Qeasy monitor, with one-click re-run for failed rows.
Cross-Scenario Best Practices
- Prefer
*.FNumberover*.FDataValue: Names change; codes don't. Cross-system matching must use codes. - Always pre-filter by org dimension: Multi-org customers (especially group + subsidiaries) must add
FCreateOrgId.FNumber in (...)toFilterString, otherwise group-wide suppliers flood downstream. - Use
FAuditDateas the incremental key:FCreateDateonly covers creates, missing renames / reclassifications;FAuditDatecovers all post-audit changes. - Sync the full bank quartet together:
FBankCode/FBankHolder/FOpenBankName/FCNAPS— missing any one causes cross-bank returns. - Filter by status for safety: Downstream typically only needs approved suppliers — add
FBusinessStatus='A'(Approved) to keep draft dirty data out. - Respect the expiry date: When
FEndDateis non-empty and earlier than today, disable (don't delete) the downstream record to preserve audit trail.
Troubleshooting Playbook
- Code mapping misalignment: Used
FSupplierClassify_FDataValue(display name) as the mapping key, giving only ~30% match rate on DingTalk. Fix: Always use*_FNumber. - Payment failures from missing CNAPS: Only synced
FBankCode, notFCNAPS, causing frequent cross-bank returns. Fix: Treat the bank quartet as one mapping group; error out if any is missing. - Full sync overwhelming Kingdee: No pagination / rate limiting — one
ExecuteBillQuerypulled tens of thousands of rows and triggered server throttling. Fix: Enable adapter defaults for paging and rate limiting in Qeasy. - Wrong incremental key: Used
FCreateDate, causing long-term inconsistency on DingTalk after renames / reclassifications. Fix: Switch toFAuditDate. - Org filter missed: Without
FCreateOrgId.FNumberfilter, test orgs and other entities' suppliers leaked into the target, drawing business complaints. Fix: Force an org whitelist inside the incremental filter and enforce it as a mandatory validation rule on Qeasy.
When to Use
Whenever a "Kingdee Cloud Skyline supplier master → external system (DingTalk / SRM / Contract / Expense)" sync is needed, prefer ExecuteBillQuery(BD_Supplier). If the need is only the supplier reference on a transaction (PO / receipt), don't run this interface — reuse _FNumber fields on the document interface directly. Note this interface is pure query — it triggers no write operations on the Kingdee side.