maozw2018
1 year ago
committed by
Gitee
1 changed files with 83 additions and 0 deletions
@ -0,0 +1,83 @@ |
|||||
|
1. ### 创建完工报告CreateCompRptSrv ### |
||||
|
|
||||
|
1、接口测试地址 |
||||
|
方法:POST |
||||
|
URL: http://localhost:7889/MO/CreateCompRptSrv |
||||
|
|
||||
|
--- |
||||
|
单据头 |
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- |--- | --- | --- | --- | --- | |
||||
|
| BusinessDate | 交易时间 | Datetime | yyyy-MM-dd HH:ss:mm | 是 | |
||||
|
| completeDate | 完工时间 | Datetime | yyyy-MM-dd HH:ss:mm | 是 | |
||||
|
| HandlePerson | 入库人 | string | | 是 | |
||||
|
| handleDept | 入库部门 | string | | 是 | |
||||
|
| MO| 生产订单 | string | | 是 | |
||||
|
| ProductUOM | 生产单位 | string | | 是 | |
||||
|
| CompleteQty | 完工数量 | decimal| | 是 | |
||||
|
| RcvQtyByProductUOM | 实际入库量 | decimal | | 是 | |
||||
|
| EligibleQty | 合格数量 | decimal | | 是 | |
||||
|
| ScrapQty | 报废数量 | decimal | | 是 | |
||||
|
| OwnerOrg | 货主组织 | string | | 是 | |
||||
|
| RcvOrg | 入库组织 | string | | 否 | |
||||
|
| RcvWh | 存储地点 | string | | 否 | |
||||
|
| DocID | 单据ID | long | | 否 | 修改填写 |
||||
|
--- |
||||
|
单据行 lines |
||||
|
| 参数 | 含义 |类型 | 格式 | 是否必填 | 默认值 | 说明 | |
||||
|
| --- | --- | --- | --- | --- |--- |--- | |
||||
|
| DocLineNo| 行号| int | | 是 | 10,20 |
||||
|
| RcvQtyByProductUOM| 入库数量| decimal | | 是 | |
||||
|
| RcvLotNo| 批号| decimal | | 是 | |
||||
|
| DocLineID | 单据行ID | long | | 否 |修改填写 |
||||
|
|
||||
|
--- |
||||
|
输入格式示例 |
||||
|
``` |
||||
|
{ |
||||
|
"BusinessDate":"2023-03-26 14:23:23", 交易时间 |
||||
|
"completeDate":"2023-03-26 14:23:23", 完工时间 |
||||
|
"HandlePerson":"101", 入库人 |
||||
|
"handleDept":"101", 入库部门 |
||||
|
"MO":"101", 生产订单 |
||||
|
"ProductUOM":"101", 生产单位 |
||||
|
"CompleteQty":"1.0, 完工数量 |
||||
|
"RcvQtyByProductUOM":"1.0, 实际入库量 |
||||
|
"EligibleQty":1.0, 入库部门 |
||||
|
"ScrapQty":0, 报废数量 |
||||
|
"OwnerOrg":"106", 入库组织 |
||||
|
"RcvOrg":"106", 入库组织 |
||||
|
"RcvWh":"1001", 存储地点 |
||||
|
"lines":[{ |
||||
|
"DocLineNo":"10", 行号 |
||||
|
"RcvLotNo":"CADC-0010101", 料号 |
||||
|
"RcvQtyByProductUOM":1.0 数量 |
||||
|
}] |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
返回报文 |
||||
|
Data |
||||
|
``` |
||||
|
{ |
||||
|
"DocID":0, 单据ID |
||||
|
"lines":[{ |
||||
|
"DocLineNo":"10", 行号 |
||||
|
"DocLineID":"101", 单据行ID |
||||
|
}] |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
|
||||
|
``` |
||||
|
{ |
||||
|
"status": true, 请求状态 |
||||
|
"Msg": null, 错误信息 |
||||
|
"errorCode":null, 错误编码 |
||||
|
"Data": Data |
||||
|
} |
||||
|
``` |
||||
|
|
||||
|
|
||||
|
1. ### 修改杂收单 ### |
||||
|
同上 |
Loading…
Reference in new issue