- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 生产订单
- 生产投料单
- 生产汇报单
- 生产 入库单
- 生产领料单
- 生产补料单
- 生产退料单
- 生产退库
- 员工计件工资单
- 看板POST
- 委外管理
- 销售管理
- 非标生产
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
生产订单保存/审核
POST
/mxoc_pom/pomsaveandaudit
请求参数
Query 参数
access_token
string
必需
默认值:
{{access_token}}
Header 参数
groupName
string
必需
Content-Type
string
必需
accountld
string
账套ID
X-GW-Router-Addr
string
必需
accountid
string
必需
默认值:
{{accountId}}
Body 参数application/json
operation
string
操作标识
formid
string
当前表单
billdata
object
单据数据
billtypeid_name
string
单据类型名称
mxoc_isreworkaccount
string
返工核算
productionwork_id
string
生产车间
mxoc_customfield3
string
自定义字段3
mxoc_customfield1
string
自定义字段1
mxoc_customfield2
string
自定义字段2
auditdate
string
审核时间
srcentrykey
string
可选
wf_currentnode
string
可选
mxoc_manualbackflush
boolean
手工倒冲
id
string
单据ID
completestand
string
可选
isconsiderloss
string
可选
inspection
string
可选
maxallowvalue
string
可选
billstatus
string
审核状态
currencyid_name
string
币别名称
createorderno
string
可选
changedate
string
变更日期
productionwork_number
string
生产车间编码
version
string
版本号
currencyid_number
string
币别编码
changestatus
string
变更状态
entry
array [object {189}]
单据体
mxoc_customerid_name
string
客户名称
mxoc_reportbackflush
string
汇报后倒冲领料
auditor_number
string
审核人编码
minallowvalue
string
超允百分比%
creator_id
string
制单人ID
billdate
string
单据日期
basecurrency_number
string
本位币编码
mxoc_customerid_number
string
客户编码
billno
string
单据编码
auditor_id
string
审核人ID
ismustset
string
可选
basecurrency_name
string
本位币名称
productionwork_name
string
生产车间名称
modifier_name
string
修改人名称
changer_id
string
变更人ID
isautostart
string
可选
attachments
string
附件数
auditor_name
string
审核人名称
modifytime
string
修改时间
mxoc_customerid_id
string
客户ID
changer_number
string
变更人编码
mxoc_project_name
string
项目名称
biztype_number
string
业务控制方案编码
mxoc_issalesorder
string
是否受托
isauditstock
string
可选
mxoc_isrelease
string
可选
wf_progress
string
可选
changer_name
string
变更人名称
createorderid
string
可选
wf_previoushandler
string
可选
mxoc_billsrc
string
单据来源
inmorpt
string
可选
mxoc_project_id
string
项目ID
mxoc_failinstock
string
可选
iswarehousquality
string
可选
isfrommrp
boolean
可选
iswarehousreport
string
可选
modifier_number
string
修改人编码
mxoc_type
string
单据类型
mxoc_controlcompletion
boolean
可选
creator_number
string
制单人
createtime
string
制单时间
autocomplete
string
可选
billtypeid_number
string
单据类型编码
biztype_id
string
业务控制方案ID
billtypeid_id
string
单据类型ID
basecurrency_id
string
本位币ID
mxoc_project_number
string
项目编码
currencyid_id
string
币别ID
mxoc_mulbilllabel
array[string]
单据标签
modifier_id
string
修改人ID
creator_name
string
制单人名称
comment
string
单据备注
allowvaluetype
string
可选
biztype_name
string
业务控制方案名称
printcount
integer
可选
fieldshowinfo
object
可选
示例
{
"operation": "save",
"formid": "mxoc_pom_mftorder",
"billdata": {
"allowvalue": "",
"allowvaluetype": "",
"auditdate": "",
"auditor_enable": "",
"auditor_id": "0",
"auditor_name": "",
"auditor_number": "",
"auditor_status": "",
"autocomplete": false,
"billno": "SCDD-20221020-0022",
"billstatus": "A",
"billtypeid_id": "mxoc_pom_mftorder",
"billtypeid_name": "生产订单",
"billtypeid_number": "mxoc_pom_mftorder",
"biztype_enable": "",
"biztype_id": "1297854996729091072",
"biztype_name": "",
"biztype_number": "",
"biztype_status": "",
"changedate": "",
"changer_enable": "",
"changer_id": "0",
"changer_name": "",
"changer_number": "",
"changer_status": "",
"changestatus": "A",
"completestand": "",
"createorderid": "",
"createorderno": "",
"createtime": "",
"creator_enable": "",
"creator_id": "0",
"creator_name": "",
"creator_number": "",
"creator_status": "",
"date": "2022-10-20",
"entry": [
{
"actualcompletiontime": "",
"actualstarttime": "",
"alrycale": false,
"asstattris": false,
"attributeis": false,
"baseqty": "0",
"baserptqty": "0",
"basespiltqty": "0",
"baseunit_enable": "",
"baseunit_id": "0",
"baseunit_name": "",
"baseunit_number": "",
"baseunit_status": "",
"batchis": false,
"billstatusfield": "",
"bomversion_enable": "",
"bomversion_id": "1386078009169027072",
"bomversion_name": "ZKF2013-5_v001",
"bomversion_number": "",
"bomversion_status": "",
"businessstatus": "",
"completedby_enable": "",
"completedby_id": "0",
"completedby_name": "",
"completedby_number": "",
"completedby_status": "",
"completiondate": "",
"driver_enable": "",
"driver_id": "0",
"driver_name": "",
"driver_number": "",
"driver_status": "",
"entrybillstatus": "",
"entrychangetype": "A",
"expendbomtime": "",
"headbillno": "",
"id": "0",
"instockbaseqty": "0",
"instockqty": "0",
"isserial": false,
"issuedby_enable": "",
"issuedby_id": "0",
"issuedby_name": "",
"issuedby_number": "",
"issuedby_status": "",
"material_enable": "",
"material_helpcode": "0.5m³dnbxgslsjj",
"material_id": "1471100580205184000",
"material_model": "配 11KW-4电机",
"material_name": "0.5m³低浓不锈钢水力碎浆机",
"material_number": "3202014",
"material_status": "",
"materialcost": "0",
"minqty": "0",
"moxc_remarks": "000",
"mxoc_auxcoefficient": "0",
"mxoc_auxpropid_enable": "",
"mxoc_auxpropid_id": "0",
"mxoc_auxpropid_name": "",
"mxoc_auxpropid_number": "",
"mxoc_auxpropid_status": "",
"mxoc_auxqty": "0",
"mxoc_auxunitid_enable": "",
"mxoc_auxunitid_id": "0",
"mxoc_auxunitid_name": "",
"mxoc_auxunitid_number": "",
"mxoc_auxunitid_status": "",
"mxoc_barcode": "",
"mxoc_baseminqty": "0",
"mxoc_batchno": "",
"mxoc_changenew": false,
"mxoc_closereason": "",
"mxoc_createtype": "",
"mxoc_datefield": "",
"mxoc_enablereplace": false,
"mxoc_excessbaseqty": "0",
"mxoc_excessqty": "0",
"mxoc_finishstatus": "",
"mxoc_inboundstatus": "",
"mxoc_instockbaseqtysave": "0",
"mxoc_instockqtysave": "0",
"mxoc_mrpstock": false,
"mxoc_numerical1": "0",
"mxoc_numerical2": "0",
"mxoc_orderbillno": "",
"mxoc_realitybasemaxqty": "0",
"mxoc_realitybaseminqty": "0",
"mxoc_realitymaxqty": "0",
"mxoc_realityminqty": "0",
"mxoc_remark1": "",
"mxoc_remark2": "",
"mxoc_remark3": "",
"mxoc_remarks1": "",
"mxoc_remarks2": "",
"mxoc_remarks3": "",
"mxoc_remarks4": "",
"mxoc_remarks5": "",
"mxoc_sourcebillentryid": "0",
"mxoc_sourcebillid": "0",
"mxoc_sourcebillno": "",
"mxoc_sourcebillseq": "",
"mxoc_srcbillno": "",
"mxoc_supporting1_enable": "",
"mxoc_supporting1_id": "0",
"mxoc_supporting1_name": "",
"mxoc_supporting1_number": "",
"mxoc_supporting1_status": "",
"mxoc_supporting2_enable": "",
"mxoc_supporting2_id": "0",
"mxoc_supporting2_name": "",
"mxoc_supporting2_number": "",
"mxoc_supporting2_status": "",
"mxoc_supporting3_enable": "",
"mxoc_supporting3_id": "0",
"mxoc_supporting3_name": "",
"mxoc_supporting3_number": "",
"mxoc_supporting3_status": "",
"orderseq": "0",
"pickingstatus": "",
"plannedcompletiontime": "2022-07-20 00:00:00",
"plannedstarttime": "2022-06-20 00:00:00",
"processroute_enable": "",
"processroute_id": "0",
"processroute_name": "",
"processroute_number": "",
"processroute_status": "",
"productionworkshop_enable": "",
"productionworkshop_id": "1343997194973217792",
"productionworkshop_name": "人力资源部",
"productionworkshop_number": "",
"productionworkshop_status": "",
"producttype": "",
"qty": "10",
"qualifiedbaseqty": "0",
"qualifiedqty": "0",
"releasedate": "2022-05-20 00:00:00",
"rptqty": "0",
"seq": "1",
"sn_list": "",
"sourcetype": "",
"splitqty": "0",
"srcbillentryid": "0",
"srcbillentryseq": "0",
"srcbillid": "0",
"unit_enable": "",
"unit_id": "1",
"unit_name": "个",
"unit_number": "",
"unit_status": "",
"unitrate": "0",
"validqty": "0"
},
{
"applypty": "",
"asstattris": false,
"batchis": false,
"bomversion_id": "1406402517318808576",
"bomversion_name": "ZKF2013-5_V0002",
"id": "0",
"isInspectionShow": false,
"isserial": false,
"material_helpcode": "#cswl",
"material_id": "1303643671693900800",
"material_model": "",
"material_name": "#测试物料",
"material_number": "04-00001##",
"materialid_id": "",
"materialid_name": "",
"materialid_number": "",
"mftorderno": "",
"mftorderseq": "",
"moxc_remarks": "555",
"mxoc_auxpropid_id": "",
"mxoc_auxpropid_name": "",
"mxoc_batchno": "",
"mxoc_costobjectgroup_id": "",
"mxoc_rejectedqty": "",
"plannedcompletiontime": "2022-10-20 00:00:00",
"plannedstarttime": "2022-09-20 00:00:00",
"processroute_id": "",
"processroute_name": "",
"produceddateis": false,
"productionworkshop_id": "1297855868397693952",
"productionworkshop_name": "生产部",
"qty": "12",
"releasedate": "2022-08-20 00:00:00",
"seq": 2,
"sn_list": "",
"spid_id": "",
"spid_name": "",
"stockid_id": "",
"stockid_name": "",
"unit_id": "1299366025833274368",
"unit_name": "p c s"
}
],
"id": "0",
"inmorpt": false,
"inspection": false,
"isauditstock": false,
"isautostart": false,
"iscollection": false,
"isconsiderloss": false,
"isfrommrp": false,
"ismustset": false,
"iswarehousquality": false,
"iswarehousreport": false,
"maxallowvalue": "0",
"minallowvalue": "0",
"modifier_enable": "",
"modifier_id": "0",
"modifier_name": "",
"modifier_number": "",
"modifier_status": "",
"modifytime": "",
"mxoc_controlcompletion": false,
"mxoc_customerid_enable": "",
"mxoc_customerid_id": "2",
"mxoc_customerid_name": "",
"mxoc_customerid_number": "",
"mxoc_customerid_status": "",
"mxoc_customfield1": "",
"mxoc_customfield2": "",
"mxoc_customfield3": "",
"mxoc_failinstock": false,
"mxoc_isrelease": false,
"mxoc_project_enable": "",
"mxoc_project_id": "1454342953433588736",
"mxoc_project_name": "标准",
"mxoc_project_number": "fzzl-20220630-00000005",
"mxoc_project_status": "",
"mxoc_type": "1",
"productionwork_enable": "",
"productionwork_id": "0",
"productionwork_name": "",
"productionwork_number": "",
"productionwork_status": "",
"remarks": "333",
"srcentrykey": "",
"version": ""
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/mxoc_pom/pomsaveandaudit?access_token=' \
--header 'groupName;' \
--header 'accountld;' \
--header 'X-GW-Router-Addr;' \
--header 'accountid;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation": "save",
"formid": "mxoc_pom_mftorder",
"billdata": {
"allowvalue": "",
"allowvaluetype": "",
"auditdate": "",
"auditor_enable": "",
"auditor_id": "0",
"auditor_name": "",
"auditor_number": "",
"auditor_status": "",
"autocomplete": false,
"billno": "SCDD-20221020-0022",
"billstatus": "A",
"billtypeid_id": "mxoc_pom_mftorder",
"billtypeid_name": "生产订单",
"billtypeid_number": "mxoc_pom_mftorder",
"biztype_enable": "",
"biztype_id": "1297854996729091072",
"biztype_name": "",
"biztype_number": "",
"biztype_status": "",
"changedate": "",
"changer_enable": "",
"changer_id": "0",
"changer_name": "",
"changer_number": "",
"changer_status": "",
"changestatus": "A",
"completestand": "",
"createorderid": "",
"createorderno": "",
"createtime": "",
"creator_enable": "",
"creator_id": "0",
"creator_name": "",
"creator_number": "",
"creator_status": "",
"date": "2022-10-20",
"entry": [
{
"actualcompletiontime": "",
"actualstarttime": "",
"alrycale": false,
"asstattris": false,
"attributeis": false,
"baseqty": "0",
"baserptqty": "0",
"basespiltqty": "0",
"baseunit_enable": "",
"baseunit_id": "0",
"baseunit_name": "",
"baseunit_number": "",
"baseunit_status": "",
"batchis": false,
"billstatusfield": "",
"bomversion_enable": "",
"bomversion_id": "1386078009169027072",
"bomversion_name": "ZKF2013-5_v001",
"bomversion_number": "",
"bomversion_status": "",
"businessstatus": "",
"completedby_enable": "",
"completedby_id": "0",
"completedby_name": "",
"completedby_number": "",
"completedby_status": "",
"completiondate": "",
"driver_enable": "",
"driver_id": "0",
"driver_name": "",
"driver_number": "",
"driver_status": "",
"entrybillstatus": "",
"entrychangetype": "A",
"expendbomtime": "",
"headbillno": "",
"id": "0",
"instockbaseqty": "0",
"instockqty": "0",
"isserial": false,
"issuedby_enable": "",
"issuedby_id": "0",
"issuedby_name": "",
"issuedby_number": "",
"issuedby_status": "",
"material_enable": "",
"material_helpcode": "0.5m³dnbxgslsjj",
"material_id": "1471100580205184000",
"material_model": "配 11KW-4电机",
"material_name": "0.5m³低浓不锈钢水力碎浆机",
"material_number": "3202014",
"material_status": "",
"materialcost": "0",
"minqty": "0",
"moxc_remarks": "000",
"mxoc_auxcoefficient": "0",
"mxoc_auxpropid_enable": "",
"mxoc_auxpropid_id": "0",
"mxoc_auxpropid_name": "",
"mxoc_auxpropid_number": "",
"mxoc_auxpropid_status": "",
"mxoc_auxqty": "0",
"mxoc_auxunitid_enable": "",
"mxoc_auxunitid_id": "0",
"mxoc_auxunitid_name": "",
"mxoc_auxunitid_number": "",
"mxoc_auxunitid_status": "",
"mxoc_barcode": "",
"mxoc_baseminqty": "0",
"mxoc_batchno": "",
"mxoc_changenew": false,
"mxoc_closereason": "",
"mxoc_createtype": "",
"mxoc_datefield": "",
"mxoc_enablereplace": false,
"mxoc_excessbaseqty": "0",
"mxoc_excessqty": "0",
"mxoc_finishstatus": "",
"mxoc_inboundstatus": "",
"mxoc_instockbaseqtysave": "0",
"mxoc_instockqtysave": "0",
"mxoc_mrpstock": false,
"mxoc_numerical1": "0",
"mxoc_numerical2": "0",
"mxoc_orderbillno": "",
"mxoc_realitybasemaxqty": "0",
"mxoc_realitybaseminqty": "0",
"mxoc_realitymaxqty": "0",
"mxoc_realityminqty": "0",
"mxoc_remark1": "",
"mxoc_remark2": "",
"mxoc_remark3": "",
"mxoc_remarks1": "",
"mxoc_remarks2": "",
"mxoc_remarks3": "",
"mxoc_remarks4": "",
"mxoc_remarks5": "",
"mxoc_sourcebillentryid": "0",
"mxoc_sourcebillid": "0",
"mxoc_sourcebillno": "",
"mxoc_sourcebillseq": "",
"mxoc_srcbillno": "",
"mxoc_supporting1_enable": "",
"mxoc_supporting1_id": "0",
"mxoc_supporting1_name": "",
"mxoc_supporting1_number": "",
"mxoc_supporting1_status": "",
"mxoc_supporting2_enable": "",
"mxoc_supporting2_id": "0",
"mxoc_supporting2_name": "",
"mxoc_supporting2_number": "",
"mxoc_supporting2_status": "",
"mxoc_supporting3_enable": "",
"mxoc_supporting3_id": "0",
"mxoc_supporting3_name": "",
"mxoc_supporting3_number": "",
"mxoc_supporting3_status": "",
"orderseq": "0",
"pickingstatus": "",
"plannedcompletiontime": "2022-07-20 00:00:00",
"plannedstarttime": "2022-06-20 00:00:00",
"processroute_enable": "",
"processroute_id": "0",
"processroute_name": "",
"processroute_number": "",
"processroute_status": "",
"productionworkshop_enable": "",
"productionworkshop_id": "1343997194973217792",
"productionworkshop_name": "人力资源部",
"productionworkshop_number": "",
"productionworkshop_status": "",
"producttype": "",
"qty": "10",
"qualifiedbaseqty": "0",
"qualifiedqty": "0",
"releasedate": "2022-05-20 00:00:00",
"rptqty": "0",
"seq": "1",
"sn_list": "",
"sourcetype": "",
"splitqty": "0",
"srcbillentryid": "0",
"srcbillentryseq": "0",
"srcbillid": "0",
"unit_enable": "",
"unit_id": "1",
"unit_name": "个",
"unit_number": "",
"unit_status": "",
"unitrate": "0",
"validqty": "0"
},
{
"applypty": "",
"asstattris": false,
"batchis": false,
"bomversion_id": "1406402517318808576",
"bomversion_name": "ZKF2013-5_V0002",
"id": "0",
"isInspectionShow": false,
"isserial": false,
"material_helpcode": "#cswl",
"material_id": "1303643671693900800",
"material_model": "",
"material_name": "#测试物料",
"material_number": "04-00001##",
"materialid_id": "",
"materialid_name": "",
"materialid_number": "",
"mftorderno": "",
"mftorderseq": "",
"moxc_remarks": "555",
"mxoc_auxpropid_id": "",
"mxoc_auxpropid_name": "",
"mxoc_batchno": "",
"mxoc_costobjectgroup_id": "",
"mxoc_rejectedqty": "",
"plannedcompletiontime": "2022-10-20 00:00:00",
"plannedstarttime": "2022-09-20 00:00:00",
"processroute_id": "",
"processroute_name": "",
"produceddateis": false,
"productionworkshop_id": "1297855868397693952",
"productionworkshop_name": "生产部",
"qty": "12",
"releasedate": "2022-08-20 00:00:00",
"seq": 2,
"sn_list": "",
"spid_id": "",
"spid_name": "",
"stockid_id": "",
"stockid_name": "",
"unit_id": "1299366025833274368",
"unit_name": "p c s"
}
],
"id": "0",
"inmorpt": false,
"inspection": false,
"isauditstock": false,
"isautostart": false,
"iscollection": false,
"isconsiderloss": false,
"isfrommrp": false,
"ismustset": false,
"iswarehousquality": false,
"iswarehousreport": false,
"maxallowvalue": "0",
"minallowvalue": "0",
"modifier_enable": "",
"modifier_id": "0",
"modifier_name": "",
"modifier_number": "",
"modifier_status": "",
"modifytime": "",
"mxoc_controlcompletion": false,
"mxoc_customerid_enable": "",
"mxoc_customerid_id": "2",
"mxoc_customerid_name": "",
"mxoc_customerid_number": "",
"mxoc_customerid_status": "",
"mxoc_customfield1": "",
"mxoc_customfield2": "",
"mxoc_customfield3": "",
"mxoc_failinstock": false,
"mxoc_isrelease": false,
"mxoc_project_enable": "",
"mxoc_project_id": "1454342953433588736",
"mxoc_project_name": "标准",
"mxoc_project_number": "fzzl-20220630-00000005",
"mxoc_project_status": "",
"mxoc_type": "1",
"productionwork_enable": "",
"productionwork_id": "0",
"productionwork_name": "",
"productionwork_number": "",
"productionwork_status": "",
"remarks": "333",
"srcentrykey": "",
"version": ""
}
}'
返回响应
🟢200成功
application/json
Body
success
boolean
响应状态
data
object
数据
id
string
保存成功的单据id
errorCode
string
响应状态
示例
{
"success": true,
"data": {
"id": "string"
},
"errorCode": "string"
}
🟢200异常示例