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.
62 lines
1.4 KiB
62 lines
1.4 KiB
1 year ago
|
1. ### 创建出货单ship 通过出货计划创建###
|
||
|
|
||
|
1、接口测试地址
|
||
|
方法:POST
|
||
|
URL: http://localhost:51967/Ship/CreateShip
|
||
|
|
||
|
---
|
||
|
单据头
|
||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 |
|
||
|
| --- | --- |--- | --- | --- | --- | --- |
|
||
|
| SPDocNo | 出货计划单号 | Datetime | yyyy-MM-dd HH:ss:mm | 是 |
|
||
|
| SPDate | 交易时间 | Datetime | yyyy-MM-dd HH:ss:mm | 是 |
|
||
|
| ShipConfirmDate | 出货确定日 | Datetime | yyyy-MM-dd HH:ss:mm | 是 |
|
||
|
| User| 业务员编码 | string | | 是 |
|
||
|
|
||
|
单据行 ShipPlanLines
|
||
|
|
||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 |
|
||
|
| --- | --- | --- | --- | --- |--- |--- |
|
||
|
| LineNumber | 行ID| long | | 是 |
|
||
|
| Qty | 数量 | decimal | | 是 |
|
||
|
| LotNo | 批号 | string | | 否|
|
||
|
| ShipLineLocationModels | 库位行 | string | |是 |
|
||
|
|
||
|
单据行 ShipLineLocationModels
|
||
|
| BinCode | 库位编码| string | | 是 |
|
||
|
| InvAmount | 数量 | decimal | | 是 |
|
||
|
|
||
|
返回参数
|
||
|
|
||
|
输入格式示例
|
||
|
```
|
||
|
{
|
||
|
"SPDocNo":"测试",
|
||
|
"SPDate":"2023-08-23",
|
||
|
"ShipConfirmDate":"2023-08-23",
|
||
|
"User":"admin",
|
||
|
"ShipPlanLines":[{
|
||
|
"LINENUMBER":"10",
|
||
|
"ID":1002308210000077,
|
||
|
"LotNo":"jk",
|
||
|
"QTY":1,
|
||
|
"ShipLineLocationModels":[{
|
||
|
"BinCode":"C06",
|
||
|
"InvAmount":1
|
||
|
}]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|
||
|
```
|
||
|
|
||
|
返回报文
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"status": true,
|
||
|
"Msg": "创建出货单成功",
|
||
|
"errorCode": null,
|
||
|
"Data": "SM2023080009"
|
||
|
}
|
||
|
```
|