库存查询Json
账面库存余额查询
ParamKey字段: GoodsStocks
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| KUserCode | 否 | string | 仓库编号 支持模糊查询 |
| KFullName | 否 | string | 仓库全名 支持模糊查询 |
| PUserCodeStr | 否 | string | 多个存货编号英文逗号分割 支持模糊查询 |
| PFullNameStr | 否 | string | 多个存货全名英文逗号分割 支持模糊查询 |
Note
当库存为0时,不会返回数据。
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"KtypeID": "仓库唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"Qty": "库存数量",
"QtyOther": "库存副单位数量",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"KUserCode": "仓库编号",
"KFullName": "仓库全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名"
}
]
}
委托库存余额查询
ParamKey字段: CommissionStock
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| BUserCode | 否 | string | 客户编号 支持模糊查询 |
| BFullName | 否 | string | 客户全名 支持模糊查询 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"BtypeID": "客户唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"Qty": "库存数量",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"BUserCode": "客户编号",
"BFullName": "客户全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名"
}
]
}
车间库存余额查询
ParamKey字段: GoodsStocksSC
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| WUserCode | 否 | string | 车间编号 支持模糊查询 |
| WFullName | 否 | string | 车间全名 支持模糊查询 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"WtypeID": "车间唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"Qty": "库存数量",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"WUserCode": "车间编号",
"WFullName": "车间全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名"
}
]
}
委外库存余额查询
ParamKey字段: ConsignStock
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| BUserCode | 否 | string | 加工单位编号 支持模糊查询 |
| BFullName | 否 | string | 加工单位全名 支持模糊查询 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"BtypeID": "加工单位唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"Qty": "库存数量",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"BUserCode": "加工单位编号",
"BFullName": "加工单位全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名"
}
]
}
实物仓库库存余额查询
ParamKey字段: FactGoodsStocks
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| KUserCode | 否 | string | 仓库编号 支持模糊查询 |
| KFullName | 否 | string | 仓库全名 支持模糊查询 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"KtypeID": "仓库唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"Qty": "库存数量",
"QtyOther": "库存副单位数量",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"KUserCode": "仓库编号",
"KFullName": "仓库全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名",
"PSUserCode": "货位编号",
"PSFullName": "货位全名",
}
]
}
序列号账面库存余额查询
ParamKey字段: GoodsStocksSN
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| KUserCode | 否 | string | 仓库编号 支持模糊查询 |
| KFullName | 否 | string | 仓库全名 支持模糊查询 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"KtypeID": "仓库唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"KUserCode": "仓库编号",
"KFullName": "仓库全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名",
"SN":"序列号",
"Comment":"序列号备注"
}
]
}
序列号实物仓库余额查询
ParamKey字段: FactGoodsStocksSN
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PageSize | 是 | int | 每页返回个数 最大200 |
| PageIndex | 是 | int | 页码 |
| PUserCode | 否 | string | 存货编号 支持模糊查询 |
| PFullName | 否 | string | 存货全名 支持模糊查询 |
| KUserCode | 否 | string | 仓库编号 支持模糊查询 |
| KFullName | 否 | string | 仓库全名 支持模糊查询 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"RowNum": "行号",
"PtypeId": "存货唯一标识",
"KtypeID": "仓库唯一标识",
"BlockNo": "批号",
"ProDate": "到期日期",
"Custom1": "存货自定义1唯一标识",
"Custom2": "存货自定义2唯一标识",
"Custom3": "存货自定义3",
"Custom4": "存货自定义4",
"PUserCode": "存货编号",
"PFullName": "存货全名",
"KUserCode": "仓库编号",
"KFullName": "仓库全名",
"C1UserCode": "存货自定义1编号",
"C1FullName": "存货自定义1全名",
"C2UserCode": "存货自定义2编号",
"C2FullName": "存货自定义2全名",
"PSUserCode": "货位编号",
"PSFullName": "货位全名",
"SN":"序列号",
"Comment":"序列号备注"
}
]
}
