/jdy/v2/scm/sal_order{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | bill_no | 订单编码 | string | {{stockout_no}} | 可选 | 销售订单编码 |
| 2 | remark | 单据备注 | string | {{remark}} | 可选 | 备注 |
| 3 | customerid_id | 客户ID | string | — | 可选 | 旺店通订单上店铺编码 |
| 4 | bill_date | 订单日期 | string | {{consign_time}} | 可选 | 销售订单日期 |
| 5 | customer_number | 客户编码 | string | {{shop_no}} | 可选 | 单据来源 |
| 6 | material_entity | 分录明细 | array | details_list | 可选 | 分录明细 |
| 6.1 | material_number | 物料编码 | string | {{details_list.spec_no}} | 可选 | 物料编码 |
| 6.2 | qty | 数量 | string | {{details_list.goods_count}} | 可选 | 数量 |
| 6.3 | unit_id | 单位 | string | _mongoQuery b88a7889-af5d-3efd-aac4-d4960eae6748 findField=content.base_unit_id where={"content.number":{"$eq":"{{details_list.spec_no}}"}} | 可选 | 单位 |
| 6.4 | price | 单价 | string | {{details_list.sell_price}} | 可选 | 单价 |
| 6.5 | sp_id | 仓位ID | string | _function case '{{warehouse_no}}' when 'CK00001' then '1099179991205176320' else '' end | 可选 | 仓位ID |
| 6.6 | is_free | 是否赠品 | string | _function case '{{details_list.sell_price}}' when '0' then 'true' else 'false' end | 可选 | 是否赠品 |
| 6.7 | stock_id | 仓库id | string | _mongoQuery dcf15639-66d6-3904-821c-5bc5e2d89a62 findField=content.id where={"content.number":{"$eq":"{{warehouse_no}}"}} | 可选 | 仓库id |
暂无参数说明
金蝶云星辰V2的接口:销售订单新增 V3.0-资产建模(/jdy/v2/scm/sal_order),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V2版本更新同步更新。