Qeasy Cloud
Get Started

金蝶云星空 销售出库单保存-金蝶-资产建模后-资产建模 API

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

销售出库单保存-金蝶-资产建模后-资产建模

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

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1FBillTypeID单据类型stringXSCKD01_SYSRequired单据类型
2FBillNo单据编号string{{io_id}}Required单据编号
3FSaleOrgId销售组织string_function case when'{{shop_id}}' ='12948597' then '102' else '101' endRequired日期
4FDate日期string{{io_date}}Required销售组织
5FStockOrgId发货组织string_function case when'{{shop_id}}' ='12948597' then '102' else '101' endRequired客户 
6FCustomerID客户string_function case when'{{drp_co_id_from}}'='' then '{{new_shop_id}}' else '{{drp_co_id_from}}' endRequired发货组织
7FNote备注string{{remark}}Optional备注
8F_KLF_Assistant产品利润中心string_function case when'{{shop_id}}' ='12948597' then 'LY003' else 'LY004' endOptional备注
9F_KLF_Text聚水潭订单号string{{so_id}}Optional备注
10F_KLF_Text1聚水潭物流单号string{{l_id}}Optional备注
11FEntity明细信息arrayitemsOptional明细信息
11.1FMaterialId物料编码string{{items.sku_id}}Required物料编码
11.2FRealQty实发数量string{{items.qty}}Required实发数量
11.3FTaxPrice含税单价string{{items.sale_price}}Optional含税单价
11.4FIsFree是否赠品string_function case '{{items.sale_price}}' when '0' then true else false endOptional是否赠品
11.5FStockId仓库string{{wms_co_id}}Required仓库
11.6FEntrynote备注stringOptional备注
11.7F_sms_Text2触发更新string1Optional触发更新
12SubHeadEntity财务信息objectOptional财务信息
12.1FSettleOrgId结算组织string_function case when'{{shop_id}}' ='12948597' then '102' else '101' endOptional结算组织
12.2FSETTLECURRID结算币别string_function case when'{{shop_id}}' ='12948597' then 'PRE007' else 'PRE001' endRequired结算币别
12.3FAllDisCount整单折扣额string{{free_amount}}Optional整单折扣额
13FSaleDeptID销售部门string_function case when'{{shop_id}}' ='12948597' then '00003' else '00006' endOptional销售部门

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.