iostock.getList 查询出入库明细

详细描述

根据出入库时间来查询该时间段内的出入库明细

应用级参数

参数名称 是否必要 类型 描述
start_time date 开始时间 2012-12-08 18:50:30
end_time date 结束时间(同上)
branch_bn string 仓库编号
page_no number 页码,默认1 第一页
page_size number 每页数量,最大100

返回结果

注意: 已经做过特殊字符处理的字段如下: iostock_bn, branch_bn, branch_name, bn, name, type, memo, original_bn

XML数据,例:

成功

<response>
  <count>4</count>
  <iostock_price_num>19900.000</iostock_price_num>
  <unit_cost_num>0.000</unit_cost_num>
  <lists>
    <iostock_id>1441088465042587</iostock_id>
    <iostock_bn><![CDATA[I20150901000001]]></iostock_bn>
    <branch_bn><![CDATA[xck0101]]></branch_bn>
    <branch_name><![CDATA[新仓库测试]]></branch_name>
    <bn><![CDATA[h002]]></bn>
    <name><![CDATA[仙剑奇侠传6]]></name>
    <barcode><![CDATA[h002]]></barcode>
    <nums>100</nums>
    <type><![CDATA[采购入库]]></type>
    <iostock_time><![CDATA[2015-09-01 06:21:05]]></iostock_time>
    <memo><![CDATA[]]></memo>
    <original_bn><![CDATA[I20150901000001]]></original_bn>
    <iostock_price>50.000</iostock_price>
    <unit_cost>0.000</unit_cost>
    <iostock_id>1441088481252587</iostock_id>
    <iostock_bn><![CDATA[I20150901000002]]></iostock_bn>
    <branch_bn><![CDATA[xck0101]]></branch_bn>
    <branch_name><![CDATA[新仓库测试]]></branch_name>
    <bn><![CDATA[h003]]></bn>
    <name><![CDATA[仙剑玩偶]]></name>
    <barcode><![CDATA[h003]]></barcode>
    <nums>40</nums>
    <type><![CDATA[采购入库]]></type>
    <iostock_time><![CDATA[2015-09-01 06:21:21]]></iostock_time>
    <memo><![CDATA[]]></memo>
    <original_bn><![CDATA[I20150901000002]]></original_bn>
    <iostock_price>10.000</iostock_price>
    <unit_cost>0.000</unit_cost>
    <appropriation_no>S201512181125204</appropriation_no>
  </lists>
</response>
json数据,例:

成功

{
    "response": {
        "count": "2", 
        "iostock_price_num": "19900.000", 
        "unit_cost_num": "0.000", 
        "lists": [
            {
                "iostock_id": "1441088465042587", 
                "iostock_bn": "I20150901000001", 
                "branch_bn": "xck0101", 
                "branch_name": "新仓库测试", 
                "bn": "h002", 
                "name": "仙剑奇侠传6", 
                "barcode": "h002", 
                "nums": "100", 
                "type": "采购入库", 
                "iostock_time": "2015-09-01 06:21:05", 
                "memo": "", 
                "original_bn": "I20150901000001", 
                "iostock_price": "50.000", 
                "unit_cost": "0.000"
            }, 
            {
                "iostock_id": "1441088481252587", 
                "iostock_bn": "I20150901000002", 
                "branch_bn": "xck0101", 
                "branch_name": "新仓库测试", 
                "bn": "h003", 
                "name": "仙剑玩偶", 
                "barcode": "h003", 
                "nums": "40", 
                "type": "采购入库", 
                "iostock_time": "2015-09-01 06:21:21", 
                "memo": "", 
                "original_bn": "I20150901000002", 
                "iostock_price": "10.000", 
                "unit_cost": "0.000",
                "appropriation_no": "S201512181125204"
            }, 
        ]
    }
}

沪ICP备05002918号

© 2003-2017 ShopEx,Inc.All rights reserved.