From 44d4db7e38bfca9e22b14ca55658b655863f6df1 Mon Sep 17 00:00:00 2001 From: maozw2018 <244424185@qq.com> Date: Mon, 17 Jul 2023 02:34:54 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9D=82=E5=8F=91=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: maozw2018 <244424185@qq.com> --- 杂发出库/杂发出库接口.md | 86 ++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 杂发出库/杂发出库接口.md diff --git a/杂发出库/杂发出库接口.md b/杂发出库/杂发出库接口.md new file mode 100644 index 0000000..b288379 --- /dev/null +++ b/杂发出库/杂发出库接口.md @@ -0,0 +1,86 @@ +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 | | 是 | +| Bin | 库位编码 | string | |是 | +| wh | 仓库编码 | string | | 是 | +| WhMan | 库管员 | string | | 否 | +| LotNo | 批号 | string | | 否| +| MoDocNo | 生产订单号 | string | | 否 | +| IsZeroCost | 零成本 | int | | 否 | 选中传1,不选传0 +| BenefitOwnerOrg | 受益货主组织 | string | | 是| +| BenefitPsn | 受益人 | string | | 是| +| BenefitDept | 受益部门 | string | | 是| +| BenefitOrg | 受益组织 | string | | 是| +| Project | 项目 | string | | 是| +| Memo | 备注 | string | | 否| + + + + +输入格式示例 +``` +{ + "BusinessDate":"2023-07-14 14:23:23", + "DocType":"MiscRcv001", + "ORGCode":"100", + "User":"WD001", + "lines":[{ + "DocLineNo":"10", + "Item":"1.01.0.0332", + "QTY":1.0, + "Bin":"SP", + "wh":"003", + "WhMan":"99", + "MoDocNo":"", + "IsZeroCost":1, + "BenefitPsn":"", + "BenefitDept":"21", + "Project":"", + "LotNo":"" + }] +} +``` + +返回报文 +Data +``` +{ + "DocID":0, 单据ID + "lines":[{ + "DocLineNo":"10", 行号 + "DocLineID":"101", 单据行ID + }] +} +``` + + +``` +{ + "status": true, + "Msg": null, + "errorCode": null, + "Data": "Mis2023070005" +} +``` + + +1. ### 修改杂发单 ### +同上 \ No newline at end of file