You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
3.4 KiB
132 lines
3.4 KiB
5 months ago
|
### 新增分布式调入、调出-原材料
|
||
|
此接口用于新增WMS中的分布式调入、调出
|
||
|
此接口需要认证,详情请查看《认证方式》。
|
||
|
|
||
|
---
|
||
|
|
||
|
### 基本信息
|
||
|
方法:POST
|
||
|
URL: http://localhost:8033/open/AddDistributedAllocation
|
||
|
|
||
|
---
|
||
|
|
||
|
### 请求
|
||
|
|
||
|
__请求参数__
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| profile | String | 是 | 厂区|
|
||
|
| BillInCode | String | 是 | 单据内码|
|
||
|
| AllotType | String | 是 | 调拨类型|
|
||
|
| BillNo | String | 是 | 单据编号|
|
||
|
| ApplyDate | String | 否 | 申请日期|
|
||
|
| ApplyOrg | String | 是 | 申请组织|
|
||
|
| CalloutOwnerType | String | 是 | 调出货主类型|
|
||
|
| CallinOwnerType | String | 是 | 调入货主类型|
|
||
|
| Status | String | 是 | 状态(0 禁用,1 启用)|
|
||
|
| Type | String | 是 | 类型(0 分布式调出,1 分布式调入)|
|
||
|
| Remark | String | 否 | 备注|
|
||
|
| WmsDistributeAllocationDetail | Array | 是 | 分布式调入、调出明细|
|
||
|
|
||
|
__WmsDistributeAllocationDetail字段__
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| LineId | String | 是 | 行内码|
|
||
|
| MaterialCode | String | 是 | 物料编码|
|
||
|
| FinalGrade | String | 否 | 等级|
|
||
|
| Color | String | 否 | 颜色|
|
||
|
| Efficient | String | 否 | 效率|
|
||
|
| PowerGrade | String | 否 | 功率|
|
||
|
| CurrentGrade | String | 否 | 电流|
|
||
|
| UnitId | String | 是 | 主单位|
|
||
|
| AstUnitId | String | 是 | 辅单位|
|
||
|
| ChangeRate | String | 是 | 换算率|
|
||
|
| ApplyNumber | String | 是 | 申请数量|
|
||
|
| BatchNo | String | 是 | 批号|
|
||
|
| SupplierId | String | 是 | 原厂供应商|
|
||
|
| AgentSupplierId | String | 是 | 入库供应商|
|
||
|
| ValidDays | String | 是 | 保质期(单位默认:天)|
|
||
|
| CalloutOrg | String | 是 | 调出组织|
|
||
|
| CalloutStock | String | 是 | 调出仓库|
|
||
|
| CalloutOwnerType | String | 是 | 调出货主类型|
|
||
|
| CalloutOwnerCode | String | 是 | 调出货主|
|
||
|
| CalloutInventoryStatus | String | 是 | 调出库存状态|
|
||
|
| CallinOrg | String | 是 | 调入组织|
|
||
|
| CallinStock | String | 是 | 调入仓库|
|
||
|
| CallinOwnerType | String | 是 | 调入货主类型|
|
||
|
| CallinOwnerCode | String | 是 | 调入货主|
|
||
|
| CallinInventoryStatus | String | 是 | 调入库存状态|
|
||
|
| Remark | String | 是 | 备注|
|
||
|
|
||
|
|
||
|
__请求示例:__
|
||
|
```
|
||
|
{
|
||
|
"data":{
|
||
|
"profile":"旭合测试100",
|
||
|
"BillInCode":"",
|
||
|
"AllotType":"",
|
||
|
"BillNo":"",
|
||
|
"ApplyDate":"",
|
||
|
"ApplyOrg":"",
|
||
|
"CalloutOwnerType":"",
|
||
|
"CallinOwnerType":"",
|
||
|
"Status":"",
|
||
|
"Type":"",
|
||
|
"Remark":"",
|
||
|
"WmsDistributeAllocationDetail":[
|
||
|
{
|
||
|
"LineId":"",
|
||
|
"MaterialCode":"",
|
||
|
"FinalGrade":"",
|
||
|
"Color":"",
|
||
|
"Efficient":"",
|
||
|
"PowerGrade":"",
|
||
|
"CurrentGrade":"",
|
||
|
"UnitId":"",
|
||
|
"AstUnitId":"",
|
||
|
"ChangeRate":"",
|
||
|
"ApplyNumber":"",
|
||
|
"BatchNo":"",
|
||
|
"SupplietId":"",
|
||
|
"AgentSupplierId":"",
|
||
|
"ValidDays":"",
|
||
|
"CalloutOrg":"",
|
||
|
"CalloutStock":"",
|
||
|
"CalloutOwnerType":"",
|
||
|
"CalloutOwnerCode":"",
|
||
|
"CalloutInventoryStatus":"",
|
||
|
"CallinOrg":"",
|
||
|
"CallinStock":"",
|
||
|
"CallinOwnerType":"",
|
||
|
"CallinOwnerCode":"",
|
||
|
"CallinInventoryStatus":"",
|
||
|
"Remark":"",
|
||
|
}
|
||
|
],
|
||
|
}
|
||
|
}
|
||
|
````
|
||
|
|
||
|
---
|
||
|
|
||
|
### 响应
|
||
|
__响应字段__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
| clock | string | 当前服务器时钟。 |
|
||
|
| status | string | 状态,ok:成功,error:错误,exception:异常 |
|
||
|
| data | object | 成功后返回具体内容 |
|
||
|
|
||
|
__data:__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
|
||
|
```
|
||
|
|
||
|
```
|
||
|
|
||
|
|