batchSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | FBillNo | 单据编号 | string | {{tradeNo}} | Optional | 单据编号 |
| 2 | FSaleOrgId | 销售组织 | string | _function case '{{shopCode}}' when '10002480' then '104' else '103' end | Required | 组织 |
| 3 | FDate | 日期 | string | {{consignTime_new}} | Required | 日期 |
| 4 | FRetcustId | 退货客户 | string | {{shopCode}} | Required | 基础资料 |
| 5 | F_sht_Note | 备注 | string | 售后退货 | Optional | 多行文本 |
| 6 | FEntity | 明细信息 | array | details | Optional | 明细信息 |
| 6.1 | FMaterialId | 物料编码 | string | {{details.goodsDetail_goodsNo}} | Required | 基础资料 |
| 6.2 | FUnitID | 库存单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{details.goodsDetail_goodsNo}} | Required | 数量 |
| 6.3 | FRealQty | 实退数量 | string | _function {{details.goodsDetail_goodsDelivery_sendCount}}*(-1) | Required | 数量 |
| 6.4 | FTaxPrice | 含税单价 | string | _function {{details.goodsDetail_goodsDelivery_batchamount}}/{{details.goodsDetail_goodsDelivery_sendCount}} | Optional | 单价 |
| 6.5 | FEntryTaxRate | 税率% | string | 13 | Optional | 小数 |
| 6.6 | FOwnerTypeId | 货主类型 | string | BD_OwnerOrg | Optional | 多类别基础资料列表 |
| 6.7 | FOwnerId | 货主 | string | 103 | Optional | 多类别基础资料 |
| 6.8 | FStockId | 仓库 | string | {{warehouseCode}} | Required | 基础资料 |
| 6.9 | FLot | 批次号 | string | {{details.goodsDetail_goodsDelivery_batchNo}} | Optional | 批次号 |
| 6.10 | FProduceDate | 生产日期 | string | {{details.goodsDetail_goodsDelivery_productionDate}} | Optional | 生产日期 |
| 6.11 | FNote | 备注 | string | — | Optional | 文本 |
| 6.12 | FOrderNo | 订单单号 | string | {{sourceTradeNos}} | Optional | 订单单号 |
| 7 | SubHeadEntity | 财务信息 | object | — | Optional | 财务信息 |
| 7.1 | FSettleOrgId | 结算组织 | string | _function case '{{shopCode}}' when '10002480' then '104' else '103' end | Optional | 组织 |
| 7.2 | FThirdBillNo | 第三方单据编号 | string | {{tradeNo}} | Optional | 第三方单据编号 |
| 7.3 | FThirdBillId | 第三方单据平台单号 | string | {{sourceTradeNos}} | Optional | 第三方单据平台单号 |
No parameter reference available
The 销售单对接(8:售后退货-退货)-资产建模 API (batchSave) of 金蝶云星空 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星空 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.