jdy/pur/pur_inbound_save{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | ignoreconfirm | 忽略操作确认提示 | string | true | 可选 | 忽略操作确认提示,当price不传或等于0时ignoreconfirm需要为true |
| 2 | billno | 单据编码 | string | {{order_no}} | 可选 | 单据编码 |
| 3 | material_entity | 商品分录 | array | details_list | 必填 | 商品分录 |
| 3.1 | materialid_id | 商品 | string | _findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number={{details_list.spec_no}} | 可选 | 商品 |
| 3.2 | stockid_id | 仓库 | string | _findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where name={{warehouse_name}} | 可选 | 仓库 |
| 3.3 | is_free | 是否赠品 | string | _function case when {{details_list.tax_price}}> 0 then 'False' else 'True' end | 可选 | 是否赠品 |
| 3.4 | qty | 数量 | string | {{details_list.right_num}} | 可选 | 数量 |
| 3.5 | cost | 入库成本 | string | — | 可选 | 入库成本 |
| 3.6 | comment | 行备注 | string | — | 可选 | 行备注 |
| 3.7 | taxprice | 含税单价 | string | {{details_list.tax_price}} | 可选 | 含税单价 |
| 3.8 | cess | 税率 | string | {{details_list.tax}} | 可选 | 税率 |
| 4 | billdate | 单据日期 | string | {{created_time|date|}} | 必填 | 单据日期 |
| 5 | transtype | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 | string | 2 | 必填 | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 |
| 6 | remark | 备注 | string | {{remark}} | 可选 | 备注 |
| 7 | supplierid_id | 供应商 | string | _findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where number={{provider_no}} | 可选 | 供应商 |
暂无参数说明
金蝶云星辰V1的接口:采购入库单保存-金蝶云星辰-资产建模后-资产建模(jdy/pur/pur_inbound_save),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V1版本更新同步更新。