金蝶云星空 icon

金蝶云星空

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

Actions133

采购申请单 → 查看

AI-generated

Summary

Retrieves a purchase requisition using its document number (FNumber) or internal ID (FID). Each input item triggers a lookup; optional settings control the creator organization, detail-line sorting, batching, and request timeout.

Inputs

  • authentication — Selects application authorization (recommended and default) or the deprecated account-and-password credential. The selected credential is required.
  • queryType — Choose lookup by document number or internal ID; defaults to document number.
  • number (required) — Purchase requisition document number (FNumber), shown when querying by number.
  • id (required) — Purchase requisition internal ID (FID), shown when querying by ID. The UI describes it as an integer, but the field is a string.
  • createOrgId — Creator organization internal ID (FID); defaults to 0.
  • isSortBySeq — Whether to sort the document body by sequence number; defaults to false.
  • options — Optional batching settings enable concurrent per-item requests. Items per batch defaults to 50 (a configured 0 is treated as 1); batch interval defaults to 1000 ms in the UI, while the runtime uses 0 if omitted. Timeout defaults to 0, meaning no timeout.

Output shape

A list of n8n items containing the lookup response, typically one response per input item.

The implementation wraps ordinary responses as JSON items and attaches input-item metadata. With Continue On Fail enabled, errors are returned as items with an error field; otherwise an error is thrown. Batch mode runs requests concurrently.

Links

Discussion