jdy/pur/pur_rtn_save{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | billno | 单据编码 | string | {{order_no}} | Optional | 单据编码 |
| 2 | billdate | 单据日期 | datetime | {{consign_time|date}} | Required | 单据日期 |
| 3 | supplierid_id | 供应商 | string | _findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where number={{provider_no}} | Required | 供应商 |
| 4 | remark | 备注 | string | — | Optional | 备注 |
| 5 | totalunsettleamount | 本单未退 | string | — | Optional | 本单未退 |
| 6 | material_entity | 商品分录 | array | details_list | Required | 商品分录 |
| 6.1 | materialid_id | 商品 | string | _findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number={{detail_list.spec_no}} | Optional | 商品 |
| 6.2 | stockid_id | 仓库 | string | _findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where number={{warehouse_no}} | Optional | 仓库 |
| 6.3 | qty | 数量 | float | {{detail_list.goods_count}} | Optional | 数量 |
| 6.4 | batchno | 批次号 | string | — | Optional | 批次号 (批次商品必填) |
| 6.5 | price | 单价 | float | _function CASE when {{detail_list.sell_price}}> 0 then {{detail_list.sell_price}} else 0.01 end | Optional | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
| 6.6 | comment | 行备注 | string | — | Optional | 行备注 |
| 6.7 | srcbillno | 源单编码 | string | — | Optional | 源单编码 |
| 6.8 | srcbilltypeid_id | 源单类型 | string | — | Optional | 源单类型 |
| 6.9 | srcinterid | 源单内码 | string | — | Optional | 源单内码 |
| 6.10 | src_billdate | 源单日期 | datetime | — | Optional | 源单日期 |
| 6.11 | srcseq | 源单行号 | string | — | Optional | 源单行号 |
| 6.12 | srcentryid | 源单分录内码 | string | — | Optional | 源单分录内码 |
No parameter reference available
The 采购退货单保存-金蝶云星辰V1-资产建模后-资产建模 API (jdy/pur/pur_rtn_save) of 金蝶云星辰V1 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星辰V1 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.