采购入库单查询
<h5>1.接口说明</h5>
<p>采购入库单查询</p>
<h5>2.使用场景</h5>
<p>烟草系统存货核算根据来源查询采购入库单</p>
<h5>3.接口调用说明</h5>
<h5>3.1请求类型</h5>
<p>post</p>
<h5>3.2请求示例</h5>
<p>> <a href="http://ip:port/nccloud/api/ia/i2/query">http://ip:port/nccloud/api/ia/i2/query</a></p>
<h5>3.3请求URL参数说明</h5>
<table>
<thead>
<tr>
<th>参数</th>
<th>参数描述</th>
<th>类型</th>
<th>是否必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>csrcid</td>
<td>来源主表id</td>
<td>string</td>
<td>是</td>
<td>传来源单据主表主键</td>
</tr>
<tr>
<td>csrcbid</td>
<td>来源子表id</td>
<td>string</td>
<td>否</td>
<td>传来源单据子表主键</td>
</tr>
</tbody>
</table>
<p>> 请求参数JSON示例</p>
<pre><code>{
&quot;csrcid&quot;:&quot;1002Z8100000000093Y&quot;,
&quot;csrcbid&quot;:&quot;2002Z8100000000093Y&quot;
}
</code></pre>
<h5>3.4返回值说明</h5>
<table>
<thead>
<tr>
<th>参数说明</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>integer</td>
<td>参数</td>
</tr>
<tr>
<td>data</td>
<td>data</td>
<td>参数</td>
</tr>
<tr>
<td>success</td>
<td>boolean</td>
<td>参数</td>
</tr>
<tr>
<td>message</td>
<td>string</td>
<td>参数</td>
</tr>
</tbody>
</table>
<h5>3.5正确返回示例</h5>
<p>>返回值JSON示例: </p>
<pre><code>{
&quot;code&quot;: 0,
&quot;data&quot;: [
{
&quot;ia.ia_i2bill&quot;: {
&quot;pk_group&quot;: {
&quot;code&quot;: &quot;lp&quot;,
&quot;name&quot;: &quot;屠龙方便面集团&quot;,
&quot;pk&quot;: &quot;00011110000000003K0R&quot;
},
&quot;modifier&quot;: {
&quot;code&quot;: &quot;lh1&quot;,
&quot;name&quot;: &quot;lh1&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006OQR&quot;
},
&quot;caccountperiod&quot;: &quot;2019-07&quot;,
&quot;pk_org&quot;: {
&quot;code&quot;: &quot;lp0002&quot;,
&quot;name&quot;: &quot;分公司1成本域&quot;,
&quot;pk&quot;: &quot;100211100000000006IT&quot;
},
&quot;bconvertflag&quot;: &quot;N&quot;,
&quot;pk_book&quot;: {
&quot;code&quot;: &quot;lp0002-0001&quot;,
&quot;name&quot;: &quot;分公司1-基准账簿&quot;,
&quot;pk&quot;: &quot;100211100000000006IO&quot;
},
&quot;bsystemflag&quot;: &quot;N&quot;,
&quot;dmakedate&quot;: &quot;2019-07-15 14:02:17&quot;,
&quot;billmaker&quot;: {
&quot;code&quot;: &quot;lh1&quot;,
&quot;name&quot;: &quot;lh1&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006OQR&quot;
},
&quot;cbillid&quot;: &quot;1002Z810000000009YSP&quot;,
&quot;creationtime&quot;: &quot;2019-07-15 14:02:17&quot;,
&quot;dbilldate&quot;: &quot;2019-07-15 14:02:15&quot;,
&quot;modifiedtime&quot;: &quot;2019-07-15 14:02:16&quot;,
&quot;bestimateflag&quot;: &quot;N&quot;,
&quot;creator&quot;: {
&quot;code&quot;: &quot;lh1&quot;,
&quot;name&quot;: &quot;lh1&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006OQR&quot;
},
&quot;csrcmodulecode&quot;: &quot;IA&quot;,
&quot;vbillcode&quot;: &quot;I22019071500000016&quot;,
&quot;ts&quot;: &quot;2019-07-15 14:02:19&quot;
},
&quot;ia.ia_i2bill_b&quot;: [
{
&quot;csrcid&quot;: &quot;1002Z8100000000093Y&quot;,
&quot;csrcbid&quot;: &quot;2002Z8100000000093Y&quot;,
&quot;ccurrencyid&quot;: {
&quot;code&quot;: &quot;CNY&quot;,
&quot;name&quot;: &quot;人民币&quot;,
&quot;pk&quot;: &quot;1002Z0100000000001K1&quot;
},
&quot;caccountperiod&quot;: &quot;2019-07&quot;,
&quot;pk_book&quot;: {
&quot;code&quot;: &quot;lp0002-0001&quot;,
&quot;name&quot;: &quot;分公司1-基准账簿&quot;,
&quot;pk&quot;: &quot;100211100000000006IO&quot;
},
&quot;fcalcthreadbizflag&quot;: 1,
&quot;dbilldate&quot;: &quot;2019-07-15 14:02:15&quot;,
&quot;nnum&quot;: &quot;10&quot;,
&quot;dbizdate&quot;: &quot;2019-07-15 14:02:15&quot;,
&quot;daccountdate&quot;: &quot;2019-07-15 14:02:15&quot;,
&quot;ts&quot;: &quot;2019-07-15 14:02:19&quot;,
&quot;pk_group&quot;: {
&quot;code&quot;: &quot;lp&quot;,
&quot;name&quot;: &quot;屠龙方便面集团&quot;,
&quot;pk&quot;: &quot;00011110000000003K0R&quot;
},
&quot;nprice&quot;: &quot;10&quot;,
&quot;pk_org&quot;: {
&quot;code&quot;: &quot;lp0002&quot;,
&quot;name&quot;: &quot;分公司1成本域&quot;,
&quot;pk&quot;: &quot;100211100000000006IT&quot;
},
&quot;cinventoryid&quot;: {
&quot;code&quot;: &quot;005&quot;,
&quot;name&quot;: &quot;委外件&quot;,
&quot;pk&quot;: &quot;100211100000000007W2&quot;
},
&quot;cbill_bid&quot;: &quot;1002Z810000000009YSQ&quot;,
&quot;cbillid&quot;: &quot;1002Z810000000009YSP&quot;,
&quot;cinventoryvid&quot;: {
&quot;code&quot;: &quot;005&quot;,
&quot;name&quot;: &quot;委外件&quot;,
&quot;pk&quot;: &quot;100211100000000007W2&quot;
},
&quot;fcalcbizflag&quot;: 1,
&quot;blargessflag&quot;: &quot;N&quot;,
&quot;crowno&quot;: &quot;10&quot;,
&quot;nmny&quot;: &quot;100&quot;
}
]
},
{
&quot;ia.ia_i2bill&quot;: {
&quot;pk_group&quot;: {
&quot;code&quot;: &quot;lp&quot;,
&quot;name&quot;: &quot;屠龙方便面集团&quot;,
&quot;pk&quot;: &quot;00011110000000003K0R&quot;
},
&quot;modifier&quot;: {
&quot;code&quot;: &quot;lh1&quot;,
&quot;name&quot;: &quot;lh1&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006OQR&quot;
},
&quot;caccountperiod&quot;: &quot;2019-07&quot;,
&quot;pk_org&quot;: {
&quot;code&quot;: &quot;lp0002&quot;,
&quot;name&quot;: &quot;分公司1成本域&quot;,
&quot;pk&quot;: &quot;100211100000000006IT&quot;
},
&quot;bconvertflag&quot;: &quot;N&quot;,
&quot;pk_book&quot;: {
&quot;code&quot;: &quot;lp0002-0001&quot;,
&quot;name&quot;: &quot;分公司1-基准账簿&quot;,
&quot;pk&quot;: &quot;100211100000000006IO&quot;
},
&quot;bsystemflag&quot;: &quot;N&quot;,
&quot;dmakedate&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;billmaker&quot;: {
&quot;code&quot;: &quot;lh1&quot;,
&quot;name&quot;: &quot;lh1&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006OQR&quot;
},
&quot;cbillid&quot;: &quot;1002Z810000000009YSS&quot;,
&quot;creationtime&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;dbilldate&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;modifiedtime&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;bestimateflag&quot;: &quot;N&quot;,
&quot;creator&quot;: {
&quot;code&quot;: &quot;lh1&quot;,
&quot;name&quot;: &quot;lh1&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006OQR&quot;
},
&quot;csrcmodulecode&quot;: &quot;IA&quot;,
&quot;vbillcode&quot;: &quot;I22019071500000017&quot;,
&quot;ts&quot;: &quot;2019-07-15 14:03:46&quot;
},
&quot;ia.ia_i2bill_b&quot;: [
{
&quot;csrcid&quot;: &quot;1002Z8100000000093Y&quot;,
&quot;csrcbid&quot;: &quot;2002Z8100000000093Y&quot;,
&quot;ccurrencyid&quot;: {
&quot;code&quot;: &quot;CNY&quot;,
&quot;name&quot;: &quot;人民币&quot;,
&quot;pk&quot;: &quot;1002Z0100000000001K1&quot;
},
&quot;caccountperiod&quot;: &quot;2019-07&quot;,
&quot;pk_book&quot;: {
&quot;code&quot;: &quot;lp0002-0001&quot;,
&quot;name&quot;: &quot;分公司1-基准账簿&quot;,
&quot;pk&quot;: &quot;100211100000000006IO&quot;
},
&quot;fcalcthreadbizflag&quot;: 1,
&quot;dbilldate&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;nnum&quot;: &quot;10&quot;,
&quot;dbizdate&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;daccountdate&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;ts&quot;: &quot;2019-07-15 14:03:46&quot;,
&quot;pk_group&quot;: {
&quot;code&quot;: &quot;lp&quot;,
&quot;name&quot;: &quot;屠龙方便面集团&quot;,
&quot;pk&quot;: &quot;00011110000000003K0R&quot;
},
&quot;nprice&quot;: &quot;10&quot;,
&quot;pk_org&quot;: {
&quot;code&quot;: &quot;lp0002&quot;,
&quot;name&quot;: &quot;分公司1成本域&quot;,
&quot;pk&quot;: &quot;100211100000000006IT&quot;
},
&quot;cinventoryid&quot;: {
&quot;code&quot;: &quot;005&quot;,
&quot;name&quot;: &quot;委外件&quot;,
&quot;pk&quot;: &quot;100211100000000007W2&quot;
},
&quot;cbill_bid&quot;: &quot;1002Z810000000009YST&quot;,
&quot;cbillid&quot;: &quot;1002Z810000000009YSS&quot;,
&quot;cinventoryvid&quot;: {
&quot;code&quot;: &quot;005&quot;,
&quot;name&quot;: &quot;委外件&quot;,
&quot;pk&quot;: &quot;100211100000000007W2&quot;
},
&quot;fcalcbizflag&quot;: 1,
&quot;blargessflag&quot;: &quot;N&quot;,
&quot;crowno&quot;: &quot;10&quot;,
&quot;nmny&quot;: &quot;100&quot;
}
]
}
],
&quot;success&quot;: true,
&quot;message&quot;: &quot;存货采购入库单查询成功&quot;
}
</code></pre>