## 普通仓物料库存信息
~~~[api]
post:/vcrm/script/api/exec
*string:apikey=hb.searchData#请求接口KEY
*string:pushType=getWarehouseInventory#推送类型
string:pushParams#推送参数,json,{"dataId":237,"goodsIdList":[1474],"goodsCode":"1022","goodsName":"中腰厚款四角裤","goodsCodeList":[1022]},dataId 值为 仓库id,goodsIdList 为物料id数组,goodsCode为物料编码(模糊查询),goodsName为物料名称(模糊查询),goodsCodeList为物料编码数组
int:pageIndex#分页索引,从 1 开始
int:pageSize#返回记录数,如果是 -1 表示所有数据,忽略 pageIndex 参数值
<<<
success
{
"status": "00000",
"sync": true,
"data": [
{"iCount":202,//去重后物料编码条数
"dataList":{
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"list":[
{
"pLineInventoryId":0, // 产线库存ID(弃用)
"warehouseId":270, // 普通仓库id
"pLineId":null, // 虚拟产线ID
"goodsId":4544, // 物料ID
"goodsCode":"1022", // 物料编码
"goodsName":"中腰厚款四角裤", // 物料名称
"goodsSpec":"纯色女人",// 物料规格
"goodsModelId":9261, // 物料特征ID
"goodsModelCode":"1022", // 物料特征编码
"goodsModelName":"默认特征", // 物料特征
"colorId":null, // 颜色ID
"colorName":null, // 颜色
"sizeId":null, // 尺码ID
"sizeName":null, // 尺码
"unitId":143, // 单位ID
"unitName":"件", // 单位名称
"wBatchNo":"0606", // 批次号
"supplierId":"1386", //供应商ID
"supplierName":"豹子", //供应商名称
"createFirmID":"1", //创建者公司ID
"useFirmID":"1", //所有者公司ID
"inventoryQuantity":\-22, // 库存数量
"unqualifiedCount":0 // 不合格品数量
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"0606",
"supplierId":"1395",
"supplierName":"522加工商",
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":1000,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"0629",
"supplierId":"0",
"supplierName":null,
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":230,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"1386",
"supplierId":"0",
"supplierName":null,
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":800,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"0",
"supplierName":null,
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":90,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"1388",
"supplierName":"0509供应商AAA",
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":0.02,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"1395",
"supplierName":"522加工商",
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":210,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":9261,
"goodsModelCode":"1022",
"goodsModelName":"默认特征",
"colorId":null,
"colorName":null,
"sizeId":null,
"sizeName":null,
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"1428",
"supplierName":"test0721-1",
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":10,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":10387,
"goodsModelCode":"1022",
"goodsModelName":"贝壳粉 均 ",
"colorId":"1321",
"colorName":"贝壳粉",
"sizeId":"1759",
"sizeName":"均码",
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"0",
"supplierName":null,
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":120,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":10388,
"goodsModelCode":"1022",
"goodsModelName":"丁香紫 均 ",
"colorId":"1672",
"colorName":"丁香紫",
"sizeId":"1759",
"sizeName":"均码",
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"0",
"supplierName":null,
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":140,
"unqualifiedCount":0
},
{
"pLineInventoryId":0,
"warehouseId":270,
"pLineId":null,
"goodsId":4544,
"goodsCode":"1022",
"goodsName":"中腰厚款四角裤",
"goodsSpec":"纯色女人",
"goodsModelId":10388,
"goodsModelCode":"1022",
"goodsModelName":"丁香紫 均 ",
"colorId":"1672",
"colorName":"丁香紫",
"sizeId":"1759",
"sizeName":"均码",
"unitId":143,
"unitName":"件",
"wBatchNo":"默认批次",
"supplierId":"1395",
"supplierName":"522加工商",
"createFirmID":"1",
"useFirmID":"1",
"inventoryQuantity":\-30,
"unqualifiedCount":0
}
]
}
}
]
}
<<<
error
{
"status": "10003",
"sync": true,
"data": {},
"info": "参数错误"
}
~~~
- 消息推送
- 查询接口
- 终端信息
- 字典管理
- 班组信息
- 车间信息
- 设备信息
- 工序工价(月度)
- 物料分类
- 工序信息
- 字典明细
- 物料信息
- 生产任务单
- 大货工艺单
- 物料领用清单(MRP运算)
- 物料领用清单(出库后)
- 质检方案
- 仓库信息
- 线边仓物料库存信息
- 委外类型
- 委外订单(新增/变更/返工完成/返工取消)
- 委外订单明细(暂不用)
- 委外报工统计
- 销售订单信息
- 包装订单单箱SKU信息
- 获取已扫描入库条码
- 普通仓物料库存信息
- 工时工价维护
- 委外报工统计V2
- 工时工价维护V2
- 获取发染色/回染数
- 物料领用清单(已出库汇总)
- 多版本款式需求查询
- 多版本款式工序查询
- 委托生产工单信息
- 委外收货质检结果
- 包装入库信息查询
- 委外收货发起入库分筐制码
- 织造下机参数录入
- 半检报工数据汇总
- 按照款式订单维度获取色纱信息
- 委外收货(筐)_瑞泽
- 领料出库单号推送
- 领料出库单明细
- 领料出库单条码