Lingxing
切换旧版

库存报表 - 本地仓 - 历史报表 - 汇总

POST/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseSummaryList

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/inventoryLog/WareHouseReport/getLocalWareHouseSummaryListHTTPSPOST1

请求参数

sys_widinteger
领星系统仓库id,多个用英文逗号分隔
start_datestring必填
开始时间,格式:Y-m-d
end_datestring必填
结束时间,格式:Y-m-d

请求示例

{
    "start_date": "2022-01-01",
    "end_date": "2022-08-05",
    "sys_wid": "1,5,8"
}

返回结果

Json Object

codeinteger必填
状态码, 0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 8D680B8B-3C6F-3E16-F055-73DC70EAD977
response_timestring必填
响应时间
示例 2020-05-18 11:23:47
dataarray<object>必填
返回数据
隐藏子属性
sys_widinteger必填
仓库id
示例 1
ware_house_namestring必填
仓库名称
示例 仓库1
day_early_countnumber必填
期初库存(数量)
示例 2450424
day_early_coststring必填
期初库存(成本)
示例 723024419.45
purchase_in_countnumber必填
采购入库(数量)
示例 30
purchase_in_coststring必填
采购入库(成本)
示例 22.50
allocation_in_countnumber必填
调拨入库(数量)
allocation_in_coststring必填
调拨入库(成本)
示例 0.00
return_goods_in_countnumber必填
退货入库(数量)
return_goods_in_coststring必填
退货入库(成本)
示例 0.00
other_in_countnumber必填
其他入库(数量)
示例 1000
other_in_coststring必填
其他入库(成本)
示例 0.00
inventory_surplus_in_countnumber必填
盘盈入库(数量)
inventory_surplus_in_coststring必填
盘盈入库(成本)
示例 0.00
adjustment_countnumber必填
库存调整(数量)
adjustment_coststring必填
库存调整(成本)
示例 0.00
fba_out_countnumber必填
FBA出库(数量)
fba_out_coststring必填
FBA出库(成本)
示例 0.00
fbm_out_countnumber必填
FBM出库(数量)
fbm_out_coststring必填
FBM出库(成本)
示例 0.00
allocation_out_countnumber必填
调拨出库(数量)
allocation_out_coststring必填
调拨出库(成本)
示例 0.00
purchase_return_countnumber必填
采购退货(数量)
purchase_return_coststring必填
采购退货(成本)
示例 0.00
other_out_countnumber必填
其他出库(数量)
other_out_coststring必填
其他出库(成本)
示例 0.00
inventory_deficit_out_countnumber必填
盘亏出库(数量)
inventory_deficit_out_coststring必填
盘亏出库(成本)
示例 0.00
wfs_out_countnumber必填
WFS出库(数量)
wfs_out_coststring必填
WFS出库(成本)
示例 0.00
allocation_in_transit_countnumber必填
期末在途(数量)
示例 1
allocation_in_transit_coststring必填
期末在途(成本)
示例 13.00
day_end_countnumber必填
期末库存(数量)
示例 2451454
day_end_coststring必填
期末库存(成本)
示例 723024441.95
rotation_rate_countstring必填
库存周转率(数量)
rotation_rate_coststring必填
库存周转率(成本)
示例 0.0000
rotation_day_countstring必填
库存周转天数(数量)
rotation_day_coststring必填
库存周转天数(成本)
sales_ratio_countstring必填
存销比(数量)
sales_ratio_coststring必填
存销比(成本)
cost_change_coststring必填
成本补录(成本)
示例 0.00
product_countnumber必填
商品种类
sales_ratenumber必填
动销率
totalinteger必填
总数
示例 1

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details":[],
    "request_id": "BDF6F403-1998-7E7F-62C2-369C15FEE14D",
    "response_time": "2022-12-21 18:44:54"
    "total": 1,
    "data": [
        {
            "sys_wid": 3879,
            "ware_house_name": "dabing-test",
            "day_early_count": 504,
            "day_early_cost": "11904.61",
            "purchase_in_count": 0,
            "purchase_in_cost": "0.00",
            "allocation_in_count": 0,
            "allocation_in_cost": "0.00",
            "return_goods_in_count": 0,
            "return_goods_in_cost": "0.00",
            "other_in_count": 0,
            "other_in_cost": "0.00",
            "inventory_surplus_in_count": 0,
            "inventory_surplus_in_cost": "0.00",
            "adjustment_count": 0,
            "adjustment_cost": "0.00",
            "fba_out_count": 0,
            "fba_out_cost": "0.00",
            "fbm_out_count": 0,
            "fbm_out_cost": "0.00",
            "allocation_out_count": 0,
            "allocation_out_cost": "0.00",
            "purchase_return_count": 0,
            "purchase_return_cost": "0.00",
            "other_out_count": 0,
            "other_out_cost": "0.00",
            "inventory_deficit_out_count": 0,
            "inventory_deficit_out_cost": "0.00",
            "wfs_out_count": 0,
            "wfs_out_cost": "0.00",
            "allocation_in_transit_count": 0,
            "allocation_in_transit_cost": "0.00",
            "day_end_count": 504,
            "day_end_cost": "11904.61",
            "rotation_rate_count": "0.0000",
            "rotation_rate_cost": "0.0000",
            "rotation_day_count": 0,
            "rotation_day_cost": "-",
            "sales_ratio_count": 0,
            "sales_ratio_cost": 0,
            "cost_change_cost": "0.00",
            "product_count": 11,
            "sales_rate": 0
        }
    ]
}