maozw2018
1 year ago
committed by
Gitee
1 changed files with 92 additions and 0 deletions
@ -0,0 +1,92 @@ |
|||||
|
1. ### 创建杂发出库单 Ship ### |
||||
|
|
||||
|
1、接口测试地址 |
||||
|
方法:POST |
||||
|
URL: http://localhost:7889/Misc/CreateMiscShipSV |
||||
|
|
||||
|
--- |
||||
|
单据头 |
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- |--- | --- | --- | --- | --- | |
||||
|
| BusinessDate | 交易时间 | Datetime | yyyy-MM-dd HH:ss:mm | 是 | |
||||
|
| DocType | 单据类型编码 | string | | 是 | |
||||
|
| Org | 组织编码 | string | | 是 | |
||||
|
| User| 业务员编码 | string | | 是 | |
||||
|
|
||||
|
单据行 lines |
||||
|
|
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| Item| 料号| string | | 是 | |
||||
|
| QTY | 数量 | decimal | | 是 | |
||||
|
| UNITPRICE | 单价 | decimal | | 否 | |
||||
|
| BINCODE | 库位编码 | string | |是 | |
||||
|
| WHCODE | 仓库编码 | string | | 是 | |
||||
|
| MODOCNO | 生产订单号 | string | | 否 | |
||||
|
| PRODUCTITEMCODE | 产成品编码 | string | | 否 | |
||||
|
| ISZEROCOST | 零成本 | int | | 否 | 选中传1,不选传0 |
||||
|
| BELONGORG | 业务归属组织 | string | | 是| |
||||
|
| DocLineID | 单据行ID | long | | 否 | |
||||
|
|
||||
|
返回参数 |
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| DocID | 单据ID| int | | 是 | |
||||
|
|
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| DocLineID | 单据行ID | decimal | | 是 | |
||||
|
| DocLineNo | 料号| string | | 是 | |
||||
|
|
||||
|
|
||||
|
输入格式示例 |
||||
|
``` |
||||
|
{ |
||||
|
"ARRIVEDTIME":"2022-03-26 14:23:23", 交易时间 |
||||
|
"DOCTYPE":"MiscRcv001", 单据类型编码 |
||||
|
"ORGCODE":"101", 组织编码 |
||||
|
"USERCODE":"RH0003", 业务员编码 |
||||
|
"BENEFITPSN":"RH0003", 受益人编码 |
||||
|
"BENEFITDEPT":"106", 受益部门 |
||||
|
"DocID":0, 单据ID |
||||
|
"lines":[{ |
||||
|
"DocLineNo":"10", 行号 |
||||
|
"ITEMCODE":"CADC-0010101", 料号 |
||||
|
"QTY":1.0, 数量 |
||||
|
"UNITPRICE":10.0, 单价 |
||||
|
"BINCODE":"", 库位编码 |
||||
|
"WHCODE":"001", 仓库编码 |
||||
|
"MODOCNO":"MO-0019", 生产订单号 |
||||
|
"PRODUCTITEMCODE":"CASC-156EUR0", 产成品编码 |
||||
|
"ISZEROCOST":1, 零成本 选中传1,不选传0 |
||||
|
"BELONGORG":"101", 业务归属组织 |
||||
|
"DocLineID":"101", 单据行ID |
||||
|
}] |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
返回报文 |
||||
|
Data |
||||
|
``` |
||||
|
{ |
||||
|
"DocID":0, 单据ID |
||||
|
"lines":[{ |
||||
|
"DocLineNo":"10", 行号 |
||||
|
"DocLineID":"101", 单据行ID |
||||
|
}] |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
|
||||
|
``` |
||||
|
{ |
||||
|
"status": true, 请求状态 |
||||
|
"Msg": null, 错误信息 |
||||
|
"errorCode":null, 错误编码 |
||||
|
"Data": Data |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
|
||||
|
1. ### 修改杂发单 ### |
||||
|
同上 |
Loading…
Reference in new issue