Qeasy Cloud
Get Started

金蝶云星空 销售退货单新增-金蝶-资产建模后-资产建模 API

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

销售退货单新增-金蝶-资产建模后-资产建模

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

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1FBillTypeID单据类型stringXSTHD01_SYSRequired单据类型
2FBillNo单据编号string{{as_id}}Required单据编号
3FSaleOrgId销售组织string_function case when'{{shop_id}}' ='12948597' then '102' else '101' endRequired销售组织
4FDate日期string{{as_date}}Required日期
5FStockOrgId库存组织string_function case when'{{shop_id}}' ='12948597' then '102' else '101' endRequired库存组织
6FRetcustId退货客户string_function case when'{{drp_co_id_from}}'='' then '{{new_shop_id}}' else '{{drp_co_id_from}}' endRequired退货客户
7FSettleCurrId结算币别string_function case when'{{shop_id}}' ='12948597' then 'PRE007' else 'PRE001' endOptional结算币别
8FHeadNote备注string{{as_id}}Optional备注
9FEntity明细信息arrayitemsOptional明细信息
9.1FMaterialId物料编码string{{items.sku_id}}Required物料编码
9.2FRealQty实退数量string{{items.r_qty}}Required实退数量
9.3FPrice单价string{{items.price}}Optional单价
9.4FTaxPrice含税单价string{{items.price}}Optional含税单价
9.5FIsFree是否赠品stringOptional是否赠品
9.6FEntryTaxRate税率%stringOptional税率%
9.7FReturnType退货类型stringTHLX01_SYSOptional退货类型
9.8FOwnerTypeId货主类型stringBD_OwnerOrgOptional货主类型
9.9FOwnerId货主stringOptional货主
9.10FStockId仓库 string{{wms_co_id}}Required仓库 
9.11FNote备注 stringOptional备注 
10SubHeadEntity财务信息objectOptional财务信息
10.1FSettleOrgId结算组织string_function case when'{{shop_id}}' ='12948597' then '102' else '101' endOptional结算组织
11F_KLF_Text1聚水潭物流单号string{{l_id}}Optional聚水潭物流单号
12F_KLF_Text聚水潭订单号string{{so_id}}Optional聚水潭订单号

Response Parameters

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.

Need to integrate this API?

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