金蝶云星空 icon

金蝶云星空

金蝶云星空 WebAPI 集成,支持多种金蝶业务功能

Actions133

计量单位 → 单据查询

AI-generated

Summary

Query Kingdee Cloud Galaxy measurement unit records, selecting returned fields and optionally filtering and sorting the results.

Inputs

  • 凭证类型 (required) — Choose application authorization (recommended) or the deprecated account-password credential; provide the matching credential.
  • Return All — When enabled, requests all matching results. Otherwise, Limit sets the maximum number of results (default 50; range 1–2000).
  • 查询字段 — Fields to include in each record; defaults to unit ID, code, and name.
  • 过滤条件 — Optional SQL-style filter, such as FForbidStatus = 'A' or FName like '%个%'.
  • 排序字段 — Optional sort expression, such as FNumber ASC or FUnitId DESC.
  • Options — Timeout controls how long to wait for response headers in milliseconds; 0 means no timeout. Transform Data defaults to true and controls whether array responses are transformed to objects using the selected field keys.

Output shape

A list of measurement unit records, with each result returned as an n8n item.

The query is run for each incoming item. Errors stop execution unless Continue On Fail is enabled. The source pack does not include the query implementation, so it does not establish the exact response fields or pagination behavior.

Examples

Example 1: Find active units with names containing “个”, ordered by code.

Set 过滤条件 to FForbidStatus = 'A' AND FName like '%个%', 排序字段 to FNumber ASC, and select the desired 查询字段.

Links

Discussion