jdy/pur/pur_rtn_save{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | billno | 单据编码 | string | {{order_no}} | 可选 | 单据编码 |
| 2 | billdate | 单据日期 | datetime | {{consign_time|date}} | 必填 | 单据日期 |
| 3 | supplierid_id | 供应商 | string | _findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where number={{provider_no}} | 必填 | 供应商 |
| 4 | remark | 备注 | string | — | 可选 | 备注 |
| 5 | totalunsettleamount | 本单未退 | string | — | 可选 | 本单未退 |
| 6 | material_entity | 商品分录 | array | details_list | 必填 | 商品分录 |
| 6.1 | materialid_id | 商品 | string | _findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number={{detail_list.spec_no}} | 可选 | 商品 |
| 6.2 | stockid_id | 仓库 | string | _findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where number={{warehouse_no}} | 可选 | 仓库 |
| 6.3 | qty | 数量 | float | {{detail_list.goods_count}} | 可选 | 数量 |
| 6.4 | batchno | 批次号 | string | — | 可选 | 批次号 (批次商品必填) |
| 6.5 | price | 单价 | float | _function CASE when {{detail_list.sell_price}}> 0 then {{detail_list.sell_price}} else 0.01 end | 可选 | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
| 6.6 | comment | 行备注 | string | — | 可选 | 行备注 |
| 6.7 | srcbillno | 源单编码 | string | — | 可选 | 源单编码 |
| 6.8 | srcbilltypeid_id | 源单类型 | string | — | 可选 | 源单类型 |
| 6.9 | srcinterid | 源单内码 | string | — | 可选 | 源单内码 |
| 6.10 | src_billdate | 源单日期 | datetime | — | 可选 | 源单日期 |
| 6.11 | srcseq | 源单行号 | string | — | 可选 | 源单行号 |
| 6.12 | srcentryid | 源单分录内码 | string | — | 可选 | 源单分录内码 |
暂无参数说明
金蝶云星辰V1的接口:采购退货单保存-金蝶云星辰V1-资产建模后-资产建模(jdy/pur/pur_rtn_save),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V1版本更新同步更新。