jdy/basedata/material_batch_save{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | id | id | string | 1 | 可选 | 商品id(修改商品时必填) |
| 2 | number | number | string | 1 | 可选 | 商品编码,不传递则由后台生成(不设置有编码规则和更新时必传) |
| 3 | name | name | string | 1 | 必填 | 商品名称 |
| 4 | baseunitid_id | baseunitid_id | string | 1 | 必填 | 计量单位id |
| 5 | parent_id | parent_id | string | 1 | 必填 | 商品类别id |
| 6 | mullabel_number | mullabel_number | string | 1 | 可选 | 商品标签编码,多个标签使用英文逗号分隔 |
| 7 | barcode | barcode | string | 1 | 可选 | 条形码 |
| 8 | model | model | string | 1 | 可选 | 规格型号 |
| 9 | brandid_id | brandid_id | string | 1 | 可选 | 品牌 |
| 10 | producingpace | producingpace | string | 1 | 可选 | 产地 |
| 11 | helpcode | helpcode | string | 1 | 可选 | 助记码 |
| 12 | remark | remark | string | 1 | 可选 | 商品描述 |
| 13 | ismulti_unit | ismulti_unit | string | 1 | 可选 | 是否启用多单位,不启用 |
| 14 | fixunit1_id | fixunit1_id | string | 1 | 可选 | 辅助单位1,启动多单位,才需要传递 |
| 15 | coefficient1 | coefficient1 | string | 1 | 可选 | 换算率1 |
| 16 | conversionunitid1_id | conversionunitid1_id | string | 1 | 可选 | 换算单位1 |
| 17 | fixunit2_id | fixunit2_id | string | 1 | 可选 | 辅助单位2 |
| 18 | coefficient2 | coefficient2 | string | 1 | 可选 | 换算率2 |
| 19 | conversionunitid2_id | conversionunitid2_id | string | 1 | 可选 | 换算单位2 |
| 20 | fixunit3_id | fixunit3_id | string | 1 | 可选 | 辅助单位3 |
| 21 | coefficient3 | coefficient3 | string | 1 | 可选 | 换算率3 |
| 22 | conversionunitid3_id | conversionunitid3_id | string | 1 | 可选 | 换算单位3 |
| 23 | purchaseunitid_id | purchaseunitid_id | string | 1 | 可选 | 采购单位,单单位时传递计量单位 |
| 24 | saleunitid_id | saleunitid_id | string | 1 | 可选 | 销售单位,单单位时传递计量单位 |
| 25 | storeunitid_id | storeunitid_id | string | 1 | 可选 | 库存单位,单单位时传递计量单位 |
| 26 | auxunitid_id | auxunitid_id | string | 1 | 可选 | 报表辅助单位,单单位时传递计量单位 |
| 27 | isweight | isweight | string | 1 | 可选 | 是否启用称重 |
| 28 | isserial | isserial | string | 1 | 可选 | 是否启用序列号管理 |
| 29 | isbatch | isbatch | string | 1 | 可选 | 是否启用批次管理 |
| 30 | issale | issale | string | 1 | 可选 | 是否可销售 |
| 31 | ispurchase | ispurchase | string | 1 | 可选 | 是否可采购 |
| 32 | issubpart | issubpart | string | 1 | 可选 | 是否可为子件 |
| 33 | isassembly | isassembly | string | 1 | 可选 | 是否可为组件 |
| 34 | iskfperiod | iskfperiod | string | 1 | 可选 | 是否启用保质期 |
| 35 | kfperiodtype | kfperiodtype | string | 1 | 可选 | 保质期单位,1:天,2:月,3:年 |
| 36 | kfperiod | kfperiod | string | 1 | 可选 | 保质期 |
| 37 | alarmday | alarmday | string | 1 | 可选 | 预警天数 |
| 38 | isasstattr | isasstattr | string | 1 | 可选 | 是否启用辅助属性 |
| 39 | auxentity | auxentity | string | 1 | 可选 | 辅助属性 |
| 40 | barcodeentity | barcodeentity | string | 1 | 可选 | 商品条码 |
| 41 | priceentity | priceentity | string | 1 | 可选 | 商品价格 |
| 42 | inv_mgr_type | inv_mgr_type | string | 1 | 可选 | 库存管理方式,0:统一库存,1:分仓库存,默认统一库存 |
| 43 | mininventoryqty | mininventoryqty | string | 1 | 可选 | 最低库存 |
| 44 | maxinventoryqty | maxinventoryqty | string | 1 | 可选 | 最高库存 |
| 45 | secinventoryqty | secinventoryqty | string | 1 | 可选 | 预警库存 |
| 46 | costmethod | costmethod | string | 1 | 可选 | 成本计算方法,默认为移动平均法,1:移动平均法,2:加权平均法,3:先进先出法 |
| 47 | fetchcategoryid_id | fetchcategoryid_id | string | 1 | 可选 | 税收分类编码 |
| 48 | taxrate | taxrate | string | 1 | 可选 | 税率 |
| 49 | stockid_id | stockid_id | string | 1 | 可选 | 默认仓库 |
| 50 | spaceid_id | spaceid_id | string | 1 | 可选 | 默认仓位 |
| 51 | venderid_id | venderid_id | string | 1 | 可选 | 默认供应商 |
| 52 | purchaseid_id | purchaseid_id | string | 1 | 可选 | 采购员 |
| 53 | refistrationnumber | refistrationnumber | string | 1 | 可选 | 注册证号 |
| 54 | prolicense | prolicense | string | 1 | 可选 | 生产许可证 |
| 55 | gross_weight | gross_weight | string | 1 | 可选 | 毛重 |
| 56 | net_weight | net_weight | string | 1 | 可选 | 净重 |
| 57 | weight_unit_id | weight_unit_id | string | 1 | 可选 | 重量单位 |
| 58 | length | length | string | 1 | 可选 | 长 |
| 59 | wide | wide | string | 1 | 可选 | 宽 |
| 60 | high | high | string | 1 | 可选 | 高 |
| 61 | volume | volume | string | 1 | 可选 | 体积 |
| 62 | volume_unit_id | volume_unit_id | string | 1 | 可选 | 体积单位 |
| 63 | images | images | string | 1 | 可选 | 商品图片,商品图片服务器连接(上传图片接口的返回值)的集合,多个用英文逗号分隔 |
| 64 | removeimages | removeimages | string | 1 | 可选 | 删除的商品图片 |
| 65 | ignorewarn | ignorewarn | string | 1 | 可选 | 是否忽略告警信息(如:商品名称已存在)保存商品,true:忽略 |
暂无参数说明
金蝶云星辰V1的接口:商品新增_v1(jdy/basedata/material_batch_save),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V1版本更新同步更新。