maozw2018
1 year ago
committed by
Gitee
1 changed files with 75 additions and 0 deletions
@ -0,0 +1,75 @@ |
|||||
|
1. ### 创建调入单 ### |
||||
|
|
||||
|
1、接口测试地址 |
||||
|
方法:POST |
||||
|
URL: http://localhost:7889/TransferIn/CreateTransferInSV |
||||
|
|
||||
|
--- |
||||
|
单据头 |
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- |--- | --- | --- | --- | --- | |
||||
|
| BusinessDate | 交易时间 | Datetime | yyyy-MM-dd HH:ss:mm | 是 | |
||||
|
| DocType | 单据类型编码 | string | | 是 | |
||||
|
| Org | 组织 | string| | 是 | |
||||
|
| User | 用户 | long | | 否 | 修改填写 |
||||
|
|
||||
|
单据行 lines |
||||
|
|
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| Item| 料号| string | | 是 | |
||||
|
| Qty | 数量 | decimal | | 是 | |
||||
|
| Wh| 存储仓库 | string | | 是 | |
||||
|
| OutWh | 调出存储仓库 | string | | 是 | |
||||
|
| Bin | 调入库位 | string | | 否 | |
||||
|
| OutBin | 调出库位 | string | |是 | |
||||
|
| LotNo | 批号 | string | | 是 | |
||||
|
| Memo | 调入组织编码 | string | | 是 | |
||||
|
返回参数 |
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| DocID | 单据ID| int | | 是 | |
||||
|
|
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| Data | 单据号 | string | | 是 | |
||||
|
|
||||
|
|
||||
|
输入格式示例 |
||||
|
``` |
||||
|
{ |
||||
|
"BusinessDate":"2023-07-7 12:25:25", |
||||
|
"DocType":"", |
||||
|
"Org":"100", |
||||
|
"User":"IT", |
||||
|
"lines":[{ |
||||
|
"Item":"2.08.0.0001", |
||||
|
"Qty":1, |
||||
|
"Wh":"009", |
||||
|
"OutWh":"001", |
||||
|
"Bin":"MOD2", |
||||
|
"OutBin":"A07", |
||||
|
"LotNo":"P-0083230509001" |
||||
|
}] |
||||
|
} |
||||
|
|
||||
|
|
||||
|
``` |
||||
|
|
||||
|
返回报文 |
||||
|
Data |
||||
|
"Data": "Tra2023070002" |
||||
|
|
||||
|
|
||||
|
``` |
||||
|
{ |
||||
|
"status": true, |
||||
|
"Msg": null, |
||||
|
"errorCode": null, |
||||
|
"Data": "Tra2023070002" |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
|
||||
|
1. ### 修改杂收单 ### |
||||
|
同上 |
Loading…
Reference in new issue