入库单保存
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://ip/webapi/api/Base/Execute?opeartion=save&amp;formId=TWOE_InStockMulti</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
&quot;IsDeleteEntry&quot;: &quot;false&quot;,
&quot;IsAutoSubmitAndAudit&quot;: &quot;true&quot;,
&quot;Model&quot;: {
&quot;FID&quot;: 114961,
&quot;FDepId&quot;: { //部门
&quot;FNUMBER&quot;: &quot;BM000006&quot;
},
&quot;FStocker&quot;: { //库管员
&quot;FName&quot;: &quot;谈涛&quot; //基础资料 人员编码
},
&quot;FEntity&quot;: [
{
&quot;FEntryID&quot;: 119765,
&quot;FTolerance&quot;: &quot;12&quot;, //公差
&quot;FWeight&quot;: 123, //重量
&quot;FWarehouseId&quot;: { //仓库
&quot;FNUMBER&quot;: &quot;03&quot; //基础资料仓库编码
}
}
]
}
}</code></pre>
<h5>返回示例</h5>
<pre><code>成功:
{
&quot;Result&quot;: {
&quot;ResponseStatus&quot;: {
&quot;IsSuccess&quot;: true,
&quot;Errors&quot;: [],
&quot;SuccessEntitys&quot;: [
{
&quot;Id&quot;: 114961,
&quot;Number&quot;: &quot;CPRKS2411001224&quot;,
&quot;DIndex&quot;: 0
}
],
&quot;SuccessMessages&quot;: [],
&quot;MsgCode&quot;: 0
},
&quot;Id&quot;: 114961,
&quot;Number&quot;: &quot;CPRKS2411001224&quot;,
&quot;NeedReturnData&quot;: [
{}
]
}
}
失败:
{
&quot;Result&quot;: {
&quot;ResponseStatus&quot;: {
&quot;ErrorCode&quot;: 500,
&quot;IsSuccess&quot;: false,
&quot;Errors&quot;: [
{
&quot;FieldName&quot;: &quot;FWarehouseId&quot;,
&quot;Message&quot;: &quot;单据体“单据体”第1行字段“仓库”是必填项&quot;,
&quot;DIndex&quot;: 0
}
],
&quot;SuccessEntitys&quot;: [],
&quot;SuccessMessages&quot;: [],
&quot;MsgCode&quot;: 11
},
&quot;Id&quot;: &quot;&quot;,
&quot;Number&quot;: &quot;&quot;,
&quot;NeedReturnData&quot;: [
{}
]
}
}</code></pre>