batchSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | DSXSTHD07 | Required | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{order_no}} | Required | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | _findCollection find FUseOrgID from 08313512-4ecd-37b1-9945-be9366662e85 where FWDTDCName={{fenxiao_nick}} | Required | 组织 |
| 4 | FStockOrgId | 库存组织 | string | 106 | Required | 组织 |
| 5 | FDate | 日期 | string | {{modified}} | Required | 日期 |
| 6 | FRetcustId | 退货客户 | string | _findCollection find FCustID from 08313512-4ecd-37b1-9945-be9366662e85 where FWDTDCName={{fenxiao_nick}} | Required | 基础资料 |
| 7 | FSaledeptid | 销售部门 | string | Optional | 基础资料 | |
| 8 | FSettleCurrId | 结算币别 | string | PRE001 | Optional | 基础资料 |
| 9 | FBranchId | 销售门店 | string | Optional | 基础资料 | |
| 10 | FReturnReason | 退货原因 | string | Optional | 单选辅助资料列表 | |
| 11 | FCorrespondOrgId | 对应组织 | string | Optional | 组织 | |
| 12 | FHeadNote | 备注 | string | {{remark}} | Optional | 多行文本 |
| 13 | FPayCustId | 付款方 | string | Optional | 基础资料 | |
| 14 | FEntity | 明细信息 | array | details_list | Optional | 明细信息 |
| 14.1 | FMaterialId | 物料编码 | string | {{details_list.goods_no}} | Required | 基础资料 |
| 14.2 | FBarcode | 零售条形码 | string | Optional | 文本 | |
| 14.3 | FRealQty | 实退数量 | string | {{details_list.num}} | Required | 数量 |
| 14.4 | FPrice | 单价 | string | Optional | 单价 | |
| 14.5 | FTaxPrice | 含税单价 | string | {{details_list.refund_order_detail_list.0.price}} | Optional | 单价 |
| 14.6 | FIsFree | 是否赠品 | string | Optional | 复选框 | |
| 14.7 | FEntryTaxRate | 税率% | string | 13 | Optional | 小数 |
| 14.8 | FReturnType | 退货类型 | string | Optional | 单选辅助资料列表 | |
| 14.9 | FOwnerTypeId | 货主类型 | string | BD_OwnerOrg | Optional | 多类别基础资料列表 |
| 14.10 | FOwnerId | 货主 | string | 100 | Optional | 多类别基础资料 |
| 14.11 | FStockId | 仓库 | string | _findCollection find FNumber from 9c02adb6-7e63-326e-b5b3-dea634490062 where F_KD_WDTSTOCK={{warehouse_no}} | Required | 基础资料 |
| 14.12 | FDeliveryDate | 退货日期 | string | {{created_time|datetime}} | Optional | 长日期 |
| 14.13 | FNote | 备注 | string | {{details_list.remark}} | Optional | 文本 |
| 14.14 | FSoorDerno | 原始单号 | string | {{tid_list}} | Optional | 原始单号 |
| 14.15 | FETHIRDBILLNO | 第三方平台单号 | string | {{trade_no_list}} | Optional | 第三方平台单号 |
| 14.16 | FFXSoorDerno | 分销订单号 | string | {{tid_list}} | Optional | 分销订单号 |
| 15 | Freamount | 退货金额 | string | {{actual_refund_amount}} | Optional | 退货金额 |
| 16 | FBuyerNo | 客户编码 | string | {{customer_no}} | Optional | 客户编码 |
| 17 | FLogisticsNos | 物流单号 | string | {{logistics_no}} | Optional | 物流单号 |
| 18 | FLogComName | 物流公司 | string | {{logistics_name}} | Optional | 物流公司 |
| 19 | FThirdBillNo | 第三方单据编号 | string | {{refund_no}} | Optional | 第三方单据编号 |
| 20 | Ffenxiao_nick | 分销商昵称 | string | {{fenxiao_nick}} | Optional | 分销商昵称 |
No parameter reference available
The 分销销售退货单集成方案-P新增-资产建模 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.