gy.erp.stock.count.add{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | warehouse_code | warehouse_code | string | 1 | 可选 | 111 |
| 2 | type_code | type_code | string | 1 | 可选 | 111 |
| 3 | note | note | string | 1 | 可选 | 111 |
| 4 | operator | operator | string | 1 | 可选 | 111 |
| 5 | details | details | string | 1 | 可选 | 111 |
| 6 | item_code | item_code | string | 1 | 可选 | 111 |
| 7 | sku_code | sku_code | string | 1 | 可选 | 111 |
| 8 | qty | qty | string | 1 | 可选 | 若当前商品为唯一码商品,忽略这个参数的传入值,程序固定取1。开启小数库存参数的情况下,支持以小数形式录入数量 |
| 9 | location_code | location_code | string | 1 | 可选 | 启用库位库存时,此参数必填 |
| 10 | uniqueCode | uniqueCode | string | 1 | 可选 | 若当前商品为唯一码的商品,此参数必填 |
| 11 | batchNumber | batchNumber | string | 1 | 可选 | 若当前商品为批次商品,此参数必填 |
| 12 | manufacturingDate | manufacturingDate | string | 1 | 可选 | ERP中不存在该批次,则默认当前时间。存在,则获取当时录入的生产日期。存在的情况下,若还指定生产日期,按指定的生产日期录入,但如果该生产日期与当时录入的不一致,会导致审核失败 |
| 13 | shelfLife | shelfLife | string | 1 | 可选 | ERP中不存在该批次,则默认0。存在,则获取当时录入的有效期。存在的情况下,若还指定有效期,按指定的有效期录入,但如果该有效期与当时录入的不一致,会导致审核失败 |
| 14 | stockDate | stockDate | string | 1 | 可选 | ERP中不存在该批次,则默认当前时间。存在,则获取当时录入的入库时间。存在的情况下,若还指定生产日期,按指定的生产日期录入 |
| 15 | note | note | string | 1 | 可选 | 111 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | success | success | string | 1 | 可选 | 111 |
| 2 | errorDesc | errorDesc | string | 1 | 可选 | 111 |
| 3 | subErrorCode | subErrorCode | string | 1 | 可选 | 111 |
管易云的接口:盘点单新增并审核_v1(gy.erp.stock.count.add),由轻易云数据集成平台 API 资产管理模块整理收纳,并随管易云版本更新同步更新。