batchSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSTHD01_SYS | Required | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{as_id}} | Required | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | _function case when'{{shop_id}}' ='12948597' then '102' else '101' end | Required | 销售组织 |
| 4 | FDate | 日期 | string | {{as_date}} | Required | 日期 |
| 5 | FStockOrgId | 库存组织 | string | _function case when'{{shop_id}}' ='12948597' then '102' else '101' end | Required | 库存组织 |
| 6 | FRetcustId | 退货客户 | string | _function case when'{{drp_co_id_from}}'='' then '{{new_shop_id}}' else '{{drp_co_id_from}}' end | Required | 退货客户 |
| 7 | FSettleCurrId | 结算币别 | string | _function case when'{{shop_id}}' ='12948597' then 'PRE007' else 'PRE001' end | Optional | 结算币别 |
| 8 | FHeadNote | 备注 | string | {{as_id}} | Optional | 备注 |
| 9 | FEntity | 明细信息 | array | items | Optional | 明细信息 |
| 9.1 | FMaterialId | 物料编码 | string | {{items.sku_id}} | Required | 物料编码 |
| 9.2 | FRealQty | 实退数量 | string | {{items.r_qty}} | Required | 实退数量 |
| 9.3 | FPrice | 单价 | string | {{items.price}} | Optional | 单价 |
| 9.4 | FTaxPrice | 含税单价 | string | {{items.price}} | Optional | 含税单价 |
| 9.5 | FIsFree | 是否赠品 | string | Optional | 是否赠品 | |
| 9.6 | FEntryTaxRate | 税率% | string | Optional | 税率% | |
| 9.7 | FReturnType | 退货类型 | string | THLX01_SYS | Optional | 退货类型 |
| 9.8 | FOwnerTypeId | 货主类型 | string | BD_OwnerOrg | Optional | 货主类型 |
| 9.9 | FOwnerId | 货主 | string | Optional | 货主 | |
| 9.10 | FStockId | 仓库 | string | {{wms_co_id}} | Required | 仓库 |
| 9.11 | FNote | 备注 | string | Optional | 备注 | |
| 10 | SubHeadEntity | 财务信息 | object | Optional | 财务信息 | |
| 10.1 | FSettleOrgId | 结算组织 | string | _function case when'{{shop_id}}' ='12948597' then '102' else '101' end | Optional | 结算组织 |
| 11 | F_KLF_Text1 | 聚水潭物流单号 | string | {{l_id}} | Optional | 聚水潭物流单号 |
| 12 | F_KLF_Text | 聚水潭订单号 | string | {{so_id}} | Optional | 聚水潭订单号 |
No parameter reference available
The 销售退货单新增-金蝶-资产建模后-资产建模 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.