其他出库单查询
<p>[TOC]</p>
<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/i7/srcquery">http://ip:port/nccloud/api/ia/i7/srcquery</a></p>
<h5>3.3请求参数说明</h5>
<table>
<thead>
<tr>
<th>参数</th>
<th>参数描述</th>
<th>类型</th>
<th>是否必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>csrcid</td>
<td>来源单据主表主键</td>
<td>string[]</td>
<td>是</td>
<td>入参不需要加key值,详细见示例</td>
</tr>
</tbody>
</table>
<p>> 请求参数JSON示例</p>
<pre><code>[
&quot;1002Z810000000009QBL&quot;
]
</code></pre>
<h5>3.4返回值说明</h5>
<table>
<thead>
<tr>
<th>参数说明</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>Stirng</td>
<td>编码</td>
</tr>
<tr>
<td>success</td>
<td>string</td>
<td>是否成功</td>
</tr>
<tr>
<td>message</td>
<td>string</td>
<td>返回成功与否的原因</td>
</tr>
</tbody>
</table>
<h5>3.4.1 data</h5>
<p>其他出库单 (ia_i7bill) </p>
<table>
<thead>
<tr>
<th>参数说明</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>bconvertflag</td>
<td>boolean</td>
<td>折算标志</td>
</tr>
<tr>
<td>bestimateflag</td>
<td>boolean</td>
<td>暂估标记</td>
</tr>
<tr>
<td>billmaker</td>
<td>string</td>
<td>制单人</td>
</tr>
<tr>
<td>bsystemflag</td>
<td>boolean</td>
<td>系统单据标志</td>
</tr>
<tr>
<td>caccountperiod</td>
<td>string</td>
<td>会计期间</td>
</tr>
<tr>
<td>cbillid</td>
<td>string</td>
<td>其他出库单</td>
</tr>
<tr>
<td>cbiztypeid</td>
<td>string</td>
<td>业务类型</td>
</tr>
<tr>
<td>cdeptid</td>
<td>string</td>
<td>部门最新版本</td>
</tr>
<tr>
<td>cdeptvid</td>
<td>string</td>
<td>部门</td>
</tr>
<tr>
<td>cotherstockorgid</td>
<td>string</td>
<td>对方库存组织</td>
</tr>
<tr>
<td>cotherstockorgvid</td>
<td>string</td>
<td>对方库存组织最新版本</td>
</tr>
<tr>
<td>cotherstordocid</td>
<td>string</td>
<td>对方仓库主键</td>
</tr>
<tr>
<td>cpsnid</td>
<td>string</td>
<td>业务员</td>
</tr>
<tr>
<td>creationtime</td>
<td>string</td>
<td>创建时间</td>
</tr>
<tr>
<td>creator</td>
<td>string</td>
<td>创建人</td>
</tr>
<tr>
<td>csrcmodulecode</td>
<td>string</td>
<td>来源模块编码</td>
</tr>
<tr>
<td>cstockorgid</td>
<td>string</td>
<td>库存组织最新版本</td>
</tr>
<tr>
<td>cstockorgvid</td>
<td>string</td>
<td>库存组织</td>
</tr>
<tr>
<td>cstordocid</td>
<td>string</td>
<td>仓库</td>
</tr>
<tr>
<td>cstordocmanid</td>
<td>string</td>
<td>库管员</td>
</tr>
<tr>
<td>ctrantypeid</td>
<td>string</td>
<td>出入库类型</td>
</tr>
<tr>
<td>cvendorid</td>
<td>string</td>
<td>供应商</td>
</tr>
<tr>
<td>dbilldate</td>
<td>string</td>
<td>单据日期</td>
</tr>
<tr>
<td>dmakedate</td>
<td>string</td>
<td>制单日期</td>
</tr>
<tr>
<td>iprintcount</td>
<td>integer</td>
<td>打印次数</td>
</tr>
<tr>
<td>modifiedtime</td>
<td>string</td>
<td>修改时间</td>
</tr>
<tr>
<td>modifier</td>
<td>string</td>
<td>修改人</td>
</tr>
<tr>
<td>pk_book</td>
<td>string</td>
<td>所属账簿</td>
</tr>
<tr>
<td>pk_group</td>
<td>string</td>
<td>所属集团</td>
</tr>
<tr>
<td>pk_org</td>
<td>string</td>
<td>成本域</td>
</tr>
<tr>
<td>vbillcode</td>
<td>string</td>
<td>单据号</td>
</tr>
<tr>
<td>vdef1</td>
<td>string</td>
<td>自定义项1</td>
</tr>
<tr>
<td>vdef10</td>
<td>string</td>
<td>自定义项10</td>
</tr>
<tr>
<td>vdef11</td>
<td>string</td>
<td>自定义项11</td>
</tr>
<tr>
<td>vdef12</td>
<td>string</td>
<td>自定义项12</td>
</tr>
<tr>
<td>vdef13</td>
<td>string</td>
<td>自定义项13</td>
</tr>
<tr>
<td>vdef14</td>
<td>string</td>
<td>自定义项14</td>
</tr>
<tr>
<td>vdef15</td>
<td>string</td>
<td>自定义项15</td>
</tr>
<tr>
<td>vdef16</td>
<td>string</td>
<td>自定义项16</td>
</tr>
<tr>
<td>vdef17</td>
<td>string</td>
<td>自定义项17</td>
</tr>
<tr>
<td>vdef18</td>
<td>string</td>
<td>自定义项18</td>
</tr>
<tr>
<td>vdef19</td>
<td>string</td>
<td>自定义项19</td>
</tr>
<tr>
<td>vdef2</td>
<td>string</td>
<td>自定义项2</td>
</tr>
<tr>
<td>vdef20</td>
<td>string</td>
<td>自定义项20</td>
</tr>
<tr>
<td>vdef3</td>
<td>string</td>
<td>自定义项3</td>
</tr>
<tr>
<td>vdef4</td>
<td>string</td>
<td>自定义项4</td>
</tr>
<tr>
<td>vdef5</td>
<td>string</td>
<td>自定义项5</td>
</tr>
<tr>
<td>vdef6</td>
<td>string</td>
<td>自定义项6</td>
</tr>
<tr>
<td>vdef7</td>
<td>string</td>
<td>自定义项7</td>
</tr>
<tr>
<td>vdef8</td>
<td>string</td>
<td>自定义项8</td>
</tr>
<tr>
<td>vdef9</td>
<td>string</td>
<td>自定义项9</td>
</tr>
<tr>
<td>vnote</td>
<td>string</td>
<td>备注</td>
</tr>
</tbody>
</table>
<p>其他出库单明细 (ia_i7bill_b) </p>
<table>
<thead>
<tr>
<th>参数说明</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>approver</td>
<td>string</td>
<td>审核人</td>
</tr>
<tr>
<td>caccountperiod</td>
<td>string</td>
<td>会计期间</td>
</tr>
<tr>
<td>cadjustbillid</td>
<td>string</td>
<td>调整单据</td>
</tr>
<tr>
<td>cadjustbillitemid</td>
<td>string</td>
<td>调整单据分录</td>
</tr>
<tr>
<td>casscustid</td>
<td>string</td>
<td>客户</td>
</tr>
<tr>
<td>cbill_bid</td>
<td>string</td>
<td>其他出库单明细</td>
</tr>
<tr>
<td>ccalcid</td>
<td>string</td>
<td>计算关系</td>
</tr>
<tr>
<td>ccalcthreadid</td>
<td>string</td>
<td>计算线索</td>
</tr>
<tr>
<td>ccostcenterid</td>
<td>string</td>
<td>成本中心</td>
</tr>
<tr>
<td>ccurrencyid</td>
<td>string</td>
<td>本位币</td>
</tr>
<tr>
<td>cffileid</td>
<td>string</td>
<td>特征码</td>
</tr>
<tr>
<td>cfirstbid</td>
<td>string</td>
<td>源头单据分录</td>
</tr>
<tr>
<td>cfirstid</td>
<td>string</td>
<td>源头单据</td>
</tr>
<tr>
<td>cinvclassid</td>
<td>string</td>
<td>物料分类</td>
</tr>
<tr>
<td>cinventoryid</td>
<td>string</td>
<td>物料</td>
</tr>
<tr>
<td>cinventoryvid</td>
<td>string</td>
<td>物料版本</td>
</tr>
<tr>
<td>cprjtaskid</td>
<td>string</td>
<td>项目任务</td>
</tr>
<tr>
<td>cproductorid</td>
<td>string</td>
<td>生产厂商</td>
</tr>
<tr>
<td>cprofitcenterid</td>
<td>string</td>
<td>利润中心</td>
</tr>
<tr>
<td>cprofitcentervid</td>
<td>string</td>
<td>利润中心</td>
</tr>
<tr>
<td>cprojectid</td>
<td>string</td>
<td>项目</td>
</tr>
<tr>
<td>crowno</td>
<td>string</td>
<td>行标识</td>
</tr>
<tr>
<td>csrcbid</td>
<td>string</td>
<td>来源单据分录</td>
</tr>
<tr>
<td>csrcid</td>
<td>string</td>
<td>来源单据</td>
</tr>
<tr>
<td>cunitid</td>
<td>string</td>
<td>主单位</td>
</tr>
<tr>
<td>cworkcenterid</td>
<td>string</td>
<td>工作中心</td>
</tr>
<tr>
<td>daccountdate</td>
<td>string</td>
<td>会计期间计算日期</td>
</tr>
<tr>
<td>dbilldate</td>
<td>string</td>
<td>单据日期</td>
</tr>
<tr>
<td>dbizdate</td>
<td>string</td>
<td>业务日期</td>
</tr>
<tr>
<td>fcalcbizflag</td>
<td>int</td>
<td>计算关系的业务类型</td>
</tr>
<tr>
<td>fcalcthreadbizflag</td>
<td>int</td>
<td>计算线索的业务类型</td>
</tr>
<tr>
<td>nadjustnum</td>
<td>int</td>
<td>调整数量</td>
</tr>
<tr>
<td>nfactor1</td>
<td>double</td>
<td>成本要素1金额</td>
</tr>
<tr>
<td>nfactor2</td>
<td>double</td>
<td>成本要素2金额</td>
</tr>
<tr>
<td>nfactor3</td>
<td>double</td>
<td>成本要素3金额</td>
</tr>
<tr>
<td>nfactor4</td>
<td>double</td>
<td>成本要素4金额</td>
</tr>
<tr>
<td>nfactor5</td>
<td>double</td>
<td>成本要素5金额</td>
</tr>
<tr>
<td>nfactor6</td>
<td>double</td>
<td>成本要素6金额</td>
</tr>
<tr>
<td>nfactor7</td>
<td>double</td>
<td>成本要素7金额</td>
</tr>
<tr>
<td>nfactor8</td>
<td>double</td>
<td>成本要素8金额</td>
</tr>
<tr>
<td>nglobalexchgrate</td>
<td>double</td>
<td>全局本位币汇率</td>
</tr>
<tr>
<td>nglobalmny</td>
<td>double</td>
<td>全局本币无税金额</td>
</tr>
<tr>
<td>ngroupexchgrate</td>
<td>double</td>
<td>集团本位币汇率</td>
</tr>
<tr>
<td>ngroupmny</td>
<td>double</td>
<td>集团本币无税金额</td>
</tr>
<tr>
<td>nnum</td>
<td>double</td>
<td>数量</td>
</tr>
<tr>
<td>nplanedmny</td>
<td>double</td>
<td>计划金额</td>
</tr>
<tr>
<td>nreasonalwastmny</td>
<td>double</td>
<td>合理损耗金额</td>
</tr>
<tr>
<td>nreasonalwastnum</td>
<td>double</td>
<td>合理损耗数量</td>
</tr>
<tr>
<td>nreasonalwastprice</td>
<td>double</td>
<td>合理损耗单价</td>
</tr>
<tr>
<td>nvarymny</td>
<td>double</td>
<td>差异金额</td>
</tr>
<tr>
<td>pk_book</td>
<td>string</td>
<td>所属账簿</td>
</tr>
<tr>
<td>pk_group</td>
<td>string</td>
<td>所属集团</td>
</tr>
<tr>
<td>pk_org</td>
<td>string</td>
<td>成本域</td>
</tr>
<tr>
<td>taudittime</td>
<td>string</td>
<td>审核时间</td>
</tr>
<tr>
<td>vbatchcode</td>
<td>string</td>
<td>批次号</td>
</tr>
<tr>
<td>vbdef1</td>
<td>string</td>
<td>表体自定义项1</td>
</tr>
<tr>
<td>vbdef10</td>
<td>string</td>
<td>表体自定义项10</td>
</tr>
<tr>
<td>vbdef11</td>
<td>string</td>
<td>表体自定义项11</td>
</tr>
<tr>
<td>vbdef12</td>
<td>string</td>
<td>表体自定义项12</td>
</tr>
<tr>
<td>vbdef13</td>
<td>string</td>
<td>表体自定义项13</td>
</tr>
<tr>
<td>vbdef14</td>
<td>string</td>
<td>表体自定义项14</td>
</tr>
<tr>
<td>vbdef15</td>
<td>string</td>
<td>表体自定义项15</td>
</tr>
<tr>
<td>vbdef16</td>
<td>string</td>
<td>表体自定义项16</td>
</tr>
<tr>
<td>vbdef17</td>
<td>string</td>
<td>表体自定义项17</td>
</tr>
<tr>
<td>vbdef18</td>
<td>string</td>
<td>表体自定义项18</td>
</tr>
<tr>
<td>vbdef19</td>
<td>string</td>
<td>表体自定义项19</td>
</tr>
<tr>
<td>vbdef2</td>
<td>string</td>
<td>表体自定义项2</td>
</tr>
<tr>
<td>vbdef20</td>
<td>string</td>
<td>表体自定义项20</td>
</tr>
<tr>
<td>vbdef3</td>
<td>string</td>
<td>表体自定义项3</td>
</tr>
<tr>
<td>vbdef4</td>
<td>string</td>
<td>表体自定义项4</td>
</tr>
<tr>
<td>vbdef5</td>
<td>string</td>
<td>表体自定义项5</td>
</tr>
<tr>
<td>vbdef6</td>
<td>string</td>
<td>表体自定义项6</td>
</tr>
<tr>
<td>vbdef7</td>
<td>string</td>
<td>表体自定义项7</td>
</tr>
<tr>
<td>vbdef8</td>
<td>string</td>
<td>表体自定义项8</td>
</tr>
<tr>
<td>vbdef9</td>
<td>string</td>
<td>表体自定义项9</td>
</tr>
<tr>
<td>vfirstcode</td>
<td>string</td>
<td>源头单据号</td>
</tr>
<tr>
<td>vfirstrowno</td>
<td>string</td>
<td>源头单据行号</td>
</tr>
<tr>
<td>vfirsttrantype</td>
<td>string</td>
<td>源头交易类型</td>
</tr>
<tr>
<td>vfirsttype</td>
<td>string</td>
<td>源头单据类型</td>
</tr>
<tr>
<td>vfree1</td>
<td>string</td>
<td>自由辅助属性1</td>
</tr>
<tr>
<td>vfree10</td>
<td>string</td>
<td>自由辅助属性10</td>
</tr>
<tr>
<td>vfree2</td>
<td>string</td>
<td>自由辅助属性2</td>
</tr>
<tr>
<td>vfree3</td>
<td>string</td>
<td>自由辅助属性3</td>
</tr>
<tr>
<td>vfree4</td>
<td>string</td>
<td>自由辅助属性4</td>
</tr>
<tr>
<td>vfree5</td>
<td>string</td>
<td>自由辅助属性5</td>
</tr>
<tr>
<td>vfree6</td>
<td>string</td>
<td>自由辅助属性6</td>
</tr>
<tr>
<td>vfree7</td>
<td>string</td>
<td>自由辅助属性7</td>
</tr>
<tr>
<td>vfree8</td>
<td>string</td>
<td>自由辅助属性8</td>
</tr>
<tr>
<td>vfree9</td>
<td>string</td>
<td>自由辅助属性9</td>
</tr>
<tr>
<td>vproducebatch</td>
<td>string</td>
<td>成本对象生产批次号</td>
</tr>
<tr>
<td>vproduceordercode</td>
<td>string</td>
<td>生产订单号</td>
</tr>
<tr>
<td>vsrccode</td>
<td>string</td>
<td>来源单据号</td>
</tr>
<tr>
<td>vsrcrowno</td>
<td>string</td>
<td>来源单据行号</td>
</tr>
<tr>
<td>vsrctrantype</td>
<td>string</td>
<td>来源交易类型</td>
</tr>
<tr>
<td>vsrctype</td>
<td>string</td>
<td>来源单据类型</td>
</tr>
</tbody>
</table>
<p>> 返回值JSON示例: </p>
<pre><code>{
&quot;code&quot;: 1,
&quot;data&quot;: [
{
&quot;ia.ia_i7bill&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;zhangllb&quot;,
&quot;name&quot;: &quot;zhangllb&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006N7T&quot;
},
&quot;caccountperiod&quot;: &quot;2019-07&quot;,
&quot;pk_org&quot;: {
&quot;code&quot;: &quot;lp01&quot;,
&quot;name&quot;: &quot;明教成本域&quot;,
&quot;pk&quot;: &quot;100211100000000000WP&quot;
},
&quot;bconvertflag&quot;: &quot;N&quot;,
&quot;pk_book&quot;: {
&quot;code&quot;: &quot;lp0001-0001&quot;,
&quot;name&quot;: &quot;明教-基准账簿&quot;,
&quot;pk&quot;: &quot;100211100000000000WI&quot;
},
&quot;bsystemflag&quot;: &quot;N&quot;,
&quot;dmakedate&quot;: &quot;2019-07-13 15:19:58&quot;,
&quot;billmaker&quot;: {
&quot;code&quot;: &quot;zhangllb&quot;,
&quot;name&quot;: &quot;zhangllb&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006N7T&quot;
},
&quot;cbillid&quot;: &quot;1002Z810000000009QBG&quot;,
&quot;creationtime&quot;: &quot;2019-07-13 15:19:58&quot;,
&quot;dbilldate&quot;: &quot;2019-07-13 15:19:47&quot;,
&quot;modifiedtime&quot;: &quot;2019-07-13 15:19:58&quot;,
&quot;creator&quot;: {
&quot;code&quot;: &quot;zhangllb&quot;,
&quot;name&quot;: &quot;zhangllb&quot;,
&quot;pk&quot;: &quot;1002ZZ10000000006N7T&quot;
},
&quot;csrcmodulecode&quot;: &quot;IA&quot;,
&quot;vbillcode&quot;: &quot;I72019071300000001&quot;,
&quot;ts&quot;: &quot;2019-07-13 15:19:59&quot;
},
&quot;ia.ia_i7bill_b&quot;: [
{
&quot;csrcid&quot;: &quot;1002Z810000000009QBL&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;lp0001-0001&quot;,
&quot;name&quot;: &quot;明教-基准账簿&quot;,
&quot;pk&quot;: &quot;100211100000000000WI&quot;
},
&quot;cunitid&quot;: {
&quot;code&quot;: &quot;CMT&quot;,
&quot;name&quot;: &quot;厘米&quot;,
&quot;pk&quot;: &quot;0001Z0100000000000XN&quot;
},
&quot;fcalcthreadbizflag&quot;: 1,
&quot;bincometaxflag&quot;: &quot;N&quot;,
&quot;dbilldate&quot;: &quot;2019-07-13 15:19:47&quot;,
&quot;nnum&quot;: &quot;12&quot;,
&quot;dbizdate&quot;: &quot;2019-07-13 15:19:47&quot;,
&quot;daccountdate&quot;: &quot;2019-07-13 15:19:51&quot;,
&quot;ts&quot;: &quot;2019-07-13 15:19:59&quot;,
&quot;pk_group&quot;: {
&quot;code&quot;: &quot;lp&quot;,
&quot;name&quot;: &quot;屠龙方便面集团&quot;,
&quot;pk&quot;: &quot;00011110000000003K0R&quot;
},
&quot;pk_org&quot;: {
&quot;code&quot;: &quot;lp01&quot;,
&quot;name&quot;: &quot;明教成本域&quot;,
&quot;pk&quot;: &quot;100211100000000000WP&quot;
},
&quot;cinventoryid&quot;: {
&quot;code&quot;: &quot;004&quot;,
&quot;name&quot;: &quot;采购件&quot;,
&quot;pk&quot;: &quot;100211100000000007VA&quot;
},
&quot;cbill_bid&quot;: &quot;1002Z810000000009QBH&quot;,
&quot;cbillid&quot;: &quot;1002Z810000000009QBG&quot;,
&quot;cinventoryvid&quot;: {
&quot;code&quot;: &quot;004&quot;,
&quot;name&quot;: &quot;采购件&quot;,
&quot;pk&quot;: &quot;100211100000000007VA&quot;
},
&quot;fcalcbizflag&quot;: 1,
&quot;blargessflag&quot;: &quot;N&quot;,
&quot;crowno&quot;: &quot;10&quot;
}
]
}
],
&quot;success&quot;: true,
&quot;message&quot;: &quot;其他出库单查询成功&quot;
}
</code></pre>