- 批次生产
- 项目接口
- 产品接口
- 批次7.0(对内)
- 指令单【作废】时调用(批量)
- 获取配方下所有工序-工作单元-程序组合信息
- 指令单【作废】时调用
- 获取默认配方
- 删除Batch工单消费者调度
- 工厂架构启用接口(校验子节点)
- 获取工单详细信息
- 更新工厂架构
- 停止工单
- 同步direct公式组及公式
- Direct请检
- 新增节点和移动节点是需要进行校验
- 获取需要批次手动绑定设备的Unit步以及设备信息
- 新增工厂架构
- 删除物料
- 外部系统生成生产订单接口
- 放弃工单
- 新增普通配方
- 外部系统生成计划工单接口(webservice)
- 获取direct报警信息附件
- 修改Batch中某个Phase的设定参数值
- 工厂节点移动接口(划拨业务)
- Direct删除工单
- 获取仓库(货位)、源仓库(源货位)
- 活动确认
- 质量追溯数据同步接口
- 修改Batch中某个Phase的设定参数值(修改工单活动计划数量)
- 车间仓库数据迁移
- 指令单信息更新
- 工厂架构外围系统映射接口
- 修改正在运行批次下的Unit的绑定装置
- 指令单报工状态修改为已报工
- 暂停工单
- 工厂架构停用接口(包含子节点)
- 启动工单
- 删除工厂节点
- 指令单【运行】时调用
- 指令单【完成】时调用
- 通过外部系统编码获取用户ID
- 获取当前应用项目
- 修改物料
- 更新工单
- 不良品处理回填
- 同步程序组态
- 修改工厂节点
- 获取组态物料参数
- 重启工单
- 新增工单
- 删除工单
- 删除BOM
- 继续工单
- 质量结果回填
- 保持工单
- 程序实例执行反馈
- 新增BOM
- 指令单【运行】时调用(批量)
- 新增物料
- 修改BOM
- Direct删除程序
- 指令单【完成】时调用(批量)
- 新增Batch工单消费者调度
- 新增工厂节点
- 设置并绑定应用项目
- 同步direct公式组
- 指令单备料状态回填
- 同步direct公式组公式
- 修改未运行批次下的Unit的绑定装置
- 批次7.0(对外)
- 批次7.0(对内)
- 连续生产
- 产品接口
- ODS
- 公用
- 平稳率组态/vxods-psa/ConfigBase/IndexMgt
- 联锁组态/msService/vxods-ica/interlockProgram-41
- 平稳率组态/inter-api/psa/setting/findFormula/type
- 登录请求验证
- 屏蔽管理/inter-api/flow-service/v1/task/pending/total-146
- 登录/portal/js/1_065adc39f779ac6c0170.bundle.js.map-92
- 屏蔽管理/inter-api/psa/quotaConfig/device-154
- 屏蔽管理/inter-api/auth/v1/getCurrentLoginInfo-151
- 报表/msService/vxods-ica/interlockStat/dayStat-111
- 屏蔽管理/inter-api/supplant-license/v1/licenseDetection-148
- ods/inter-api/psa/quotaConfig/findByFilter
- 屏蔽管理/inter-api/notification-${username}/v1/notice/message/stationLetter/unreadnum-147
- 联锁实时/msService/vxods-ica/localeResource-31
- HTTP登录请求获取token
- 屏蔽管理/inter-api/psa/excludeManagement/findExclude-155
- 登录/portal/js/0_065adc39f779ac6c0170.bundle.js.map-91
- 登录/portal/js/2_065adc39f779ac6c0170.bundle.js.map-90
- 联锁实时/msService/vxcommon-basic-setting/factory/factoryStructs-93
- 指标管理页面导出默认根节点下全部指标
- 平稳率组态/inter-api/vxcommon-basic-setting/factory/factoryStructs
- 联锁分钟历史/msService/vxods-ica/history/time-54
- 报表/inter-api/ods-scada/tags/filters-110
- 平稳率组态/inter-api/rbac/v1/menus/operateRecord
- 平稳率组态/inter-api/psa/quotaType/findAllQuotaType
- 联锁实时/msService/vxods-ica/global-34
- 联锁组态/msService/vxods-ica/interlockController-46
- 屏蔽管理/inter-api/psa/setting/findFormula/flag-153
- 联锁组态/msService/vxcommon-basic-setting/getOperateAuth-42
- 报表/msService/vxods-ica/interlockStat/teamStat-109
- 联锁实时/inter-api/notification-admin/v1/notice/message/stationLetter/unreadnum-100
- 联锁实时/msService/vxods-ica/current/status-94
- 联锁实时/msService/vxods-ica/interlockType-33
- 联锁组态/msService/vxods-ica/interlockLevel-43
- 平稳率
- 公用
- ODS
- 项目接口
- 产品接口
- 生产安全
- WMS产品
- 定制接口
- 未规划接口
- 项目接口
- 乳源东阳光
- 万华
- 融科
- 山西兰花
- 华峰
- 长青
- 华峰
- 蜀能
- 连云港碱业
- 硅宝
- 人员定位
- 产品接口
- 未命名接口GET
- 未命名接口POST
- 未命名接口POST
- 未命名接口POST
- 未命名接口POST
- 未命名接口POST
- 未命名接口POST
- 未命名接口POST
- 公用基础
生产入库单
开发中
POST
/msService/public/material/produceInSingles/produceInSingl/generateProductInSingle
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
companyCode
string
公司编码
userName
string
用户名
redBlue
string
红蓝字
deptCode
string
部门编码
staffCode
string
人员编码
srcID
string
上游单据ID
comeType
string
入库类型
workflowStateSetCode
string
工作流编码
storageDate
string
入库日期
wareCode
string
仓库编码
taskReportNo
string
报工单编码
saleOutSort
integer
销售出库单明细行号
saleOutNo
string
销售出库单单号
handRemarks
string
备注
flag
string
修改状态
customerCode
string
客户编码
headCustomMap
object
自定义字段信息
erpSalDelivery
string
ERP销售发货单
sortNo
integer
包装任务单行号
detailList
array [object {12}]
表体明细
goodCode
string
物料编码
quantity
string
入库数量
batchText
string
物料批次
pruductDate
string
生产日期
detailMemo
string
备注
placeSetCode
string
货位
checkResult
string
检验结论
grossWeight
string
毛重
bodyCustomMap
object
标题自定义字段
receiveDetailId
string
入库需求单明细ID
fillingPorts
string
包装口
fillingTime
string
包装时间
tableNo
string
待删除单据编号
autoEffect
string
自动生效
示例
{
"companyCode": "default_org_company",
"userName": "施熙瑶",
"redBlue": "blue",
"deptCode": "standard_department",
"staffCode": "32",
"srcID": "79",
"comeType": "produceIn",
"workflowStateSetCode": "productInSingleFlw",
"storageDate": "2025-12-13",
"wareCode": "30",
"taskReportNo": "veniam irure eu voluptate",
"saleOutSort": 89,
"saleOutNo": "deserunt",
"handRemarks": "Excepteur eiusmod mollit non aute",
"flag": "1",
"customerCode": "46",
"headCustomMap": {
"erpSalDelivery": "labore ex amet do",
"sortNo": 16
},
"detailList": [
{
"goodCode": "30",
"quantity": "90",
"batchText": "dolore exercitation est",
"pruductDate": "2024-08-14",
"detailMemo": "est mollit anim",
"placeSetCode": "27",
"checkResult": "BaseSet_checkResult/qualified",
"grossWeight": "ut",
"bodyCustomMap": {
"plannedInventory": 20
},
"receiveDetailId": "84",
"fillingPorts": "est nulla proident",
"fillingTime": "2024-07-04 03:53:54"
}
],
"tableNo": "",
"autoEffect": "1"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/msService/public/material/produceInSingles/produceInSingl/generateProductInSingle' \
--header 'Content-Type: application/json' \
--data-raw '{
"companyCode": "default_org_company",
"userName": "施熙瑶",
"redBlue": "blue",
"deptCode": "standard_department",
"staffCode": "32",
"srcID": "79",
"comeType": "produceIn",
"workflowStateSetCode": "productInSingleFlw",
"storageDate": "2025-12-13",
"wareCode": "30",
"taskReportNo": "veniam irure eu voluptate",
"saleOutSort": 89,
"saleOutNo": "deserunt",
"handRemarks": "Excepteur eiusmod mollit non aute",
"flag": "1",
"customerCode": "46",
"headCustomMap": {
"erpSalDelivery": "labore ex amet do",
"sortNo": 16
},
"detailList": [
{
"goodCode": "30",
"quantity": "90",
"batchText": "dolore exercitation est",
"pruductDate": "2024-08-14",
"detailMemo": "est mollit anim",
"placeSetCode": "27",
"checkResult": "BaseSet_checkResult/qualified",
"grossWeight": "ut",
"bodyCustomMap": {
"plannedInventory": 20
},
"receiveDetailId": "84",
"fillingPorts": "est nulla proident",
"fillingTime": "2024-07-04 03:53:54"
}
],
"tableNo": "",
"autoEffect": "1"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
result
string
必需
tableURL
string
必需
resFlag
string
必需
tableNO
string
必需
errorMsg
string
必需
message
string
必需
示例
{
"code": 200,
"data": {
"result": "单据生成成功!",
"tableURL": "",
"resFlag": "SUCCESS",
"tableNO": "produceInSingles_20240223_001",
"errorMsg": ""
},
"message": "操作成功"
}
修改于 2025-05-14 02:27:01