Qeasy Cloud
Get Started

金蝶云星空 销售单对接(8:售后退货-退货)-资产建模 API

Type
EXECUTE
Effect
EXECUTE
API Version
1.0
Adapter
\Adapter\K3Cloud\K3CloudExecuteAdapter
Auth Mode
OTHER
Updated At
2023-03-16

销售单对接(8:售后退货-退货)-资产建模

POSTbatchSave
Factory
{
  "operation": {
    "method": "none"
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1FBillNo单据编号string{{tradeNo}}Optional单据编号
2FSaleOrgId销售组织string_function case '{{shopCode}}' when '10002480' then '104' else '103' endRequired组织
3FDate日期string{{consignTime_new}}Required日期
4FRetcustId退货客户string{{shopCode}}Required基础资料
5F_sht_Note备注string售后退货Optional多行文本
6FEntity明细信息arraydetailsOptional明细信息
6.1FMaterialId物料编码string{{details.goodsDetail_goodsNo}}Required基础资料
6.2FUnitID库存单位string_findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{details.goodsDetail_goodsNo}}Required数量
6.3FRealQty实退数量string_function {{details.goodsDetail_goodsDelivery_sendCount}}*(-1)Required数量
6.4FTaxPrice含税单价string_function {{details.goodsDetail_goodsDelivery_batchamount}}/{{details.goodsDetail_goodsDelivery_sendCount}}Optional单价
6.5FEntryTaxRate税率%string13Optional小数
6.6FOwnerTypeId货主类型stringBD_OwnerOrgOptional多类别基础资料列表
6.7FOwnerId货主string103Optional多类别基础资料
6.8FStockId仓库string{{warehouseCode}}Required基础资料
6.9FLot批次号string{{details.goodsDetail_goodsDelivery_batchNo}}Optional批次号
6.10FProduceDate生产日期string{{details.goodsDetail_goodsDelivery_productionDate}}Optional生产日期
6.11FNote备注stringOptional文本
6.12FOrderNo订单单号string{{sourceTradeNos}}Optional订单单号
7SubHeadEntity财务信息objectOptional财务信息
7.1FSettleOrgId结算组织string_function case '{{shopCode}}' when '10002480' then '104' else '103' endOptional组织
7.2FThirdBillNo第三方单据编号string{{tradeNo}}Optional第三方单据编号
7.3FThirdBillId第三方单据平台单号string{{sourceTradeNos}}Optional第三方单据平台单号

Response Parameters

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.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.