- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 生产订单
- 生产投料单
- 生产汇报单
- 生产入库单
- 生产领料单
- 生产补料单
- 生产退料单
- 生产退库
- 生产退库查询引用上面的生产入库查询
- 生产退库单保存/审核POST
- 生产退库单查询POST
- 员工计件工资单
- 看板POST
- 委外管理
- 销售管理
- 非标生产
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
生产退库单保存/审核
开发中
POST
/mxoc_pom/pomsaveandaudit
请求参数
Query 参数
access_token
string
必需
默认值:
{{access_token}}
Header 参数
groupName
string
必需
默认值:
{{groupName}}
Content-Type
string
必需
默认值:
{{Content-Type}}
accountid
string
必需
默认值:
{{accountId}}
X-GW-Router-Addr
string
必需
默认值:
{{X-GW-Router-Addr}}
Body 参数application/json
object {0}
示例
{
"operation": "save",
"formid": "mxoc_pom_retstocknew",
"billdata": {
"billtypeid_name": "生产退库单",
"mxoc_inmorpt": false,
"deptid_name": "",
"totalinsfinalamountfor": "0",
"empid_id": "0",
"accountchecktime": "",
"invoicedamount": "0",
"payment_entry": [],
"settle_customerid_id": "0",
"totalunsettleamount": "0",
"settlestatus": "A",
"mxoc_businessstatus": "",
"wf_currentnode": null,
"totalunsettleamountfor": "0",
"creatorid_name": "问瑞娜",
"id": "1919534905990075392",
"settle_supplierid_number": "",
"deptid_number": "",
"audittime": "",
"currencyid_name": "人民币",
"billstatus": "Z",
"mxoc_biztype_id": "1898657711566886917",
"inputcoefficient_option": "",
"auditorid_name": "",
"material_entity": [
{
"baseunit_number": "39G",
"spid_id": "0",
"stockid_name": "CXL产成品仓",
"auxunitid_name": "",
"srcentryid": "1919015561203949568",
"orderentryid": "1919014787161924608",
"snlistid": "0",
"mxoc_supporting2_id": "0",
"mxoc_product_code": "",
"id": "1919534905998468096",
"checkid": "0",
"proregno": "",
"unittype": "0",
"mxoc_strmodel": "",
"row_state": "0",
"baseunit_id": "1902059946992730112",
"businessstatuss": "1",
"mxoc_excessbaseqty": "0",
"deffloatunitid_name": "",
"auxpropname": "",
"auxid2_id": "0",
"auxid1_number": "",
"mxoc_product_model": "",
"mullabel": [
{
"number": "BQNZ0002",
"name": "滞销",
"id": "2"
}
],
"materialid_brandid": null,
"auxid5_number": "",
"inputcoefficient": "0",
"mxoc_sourcebillno": "",
"auxunitid_number": "",
"auxid3_number": "",
"auxid2_name": "",
"batchno": "",
"mxoc_orderseq": "1",
"srcseq": "1",
"checkentryid": "0",
"mxoc_selectorder_name": "",
"auxid5_id": "0",
"src_billdate": "",
"auxcoefficient": "0",
"stockid_id": "1898609596977765376",
"sn": "",
"mxoc_billtype": "1",
"unit_id": "1902059946992730112",
"caculatecoefficient": "0",
"auxqty": "0",
"materialid_mxoc_remark1": "",
"seq": "1",
"kfperiod": "0",
"materialid_name": "CXL工序倒冲",
"mxoc_supporting1_id": "0",
"baseqty": "5",
"deffloatunitid_id": "0",
"package1": "",
"auxunittype": "0",
"package0": "",
"package3": "",
"stockid_number": "214",
"package2": "",
"validdate": "",
"mxoc_numerical1": "0",
"settleamountfor": "0",
"mxoc_numerical2": "0",
"auxid2_number": "",
"mxoc_supporting3_number": "",
"kftype": "",
"mxoc_supporting3_name": "",
"auxid5_name": "",
"materialid_number": "0053",
"materialid_model": "",
"auxpropid_name": "",
"auxid3_id": "0",
"unsettleamountfor": "0",
"sn_list": "",
"srcbilltypeid_name": "生产入库单",
"mxoc_businessstatuse": "",
"mxoc_selectorder_number": "",
"deffloatunitid_number": "",
"mxoc_productworkshop_name": "二楼生产车间-A",
"unit_number": "39G",
"serialqty": "0",
"auxid4_name": "",
"mxoc_datefield": "",
"auxpropid_id": "0",
"barcode": "",
"spid_number": "",
"package": "",
"allamountfor": "0",
"auxpropid_number": "",
"proplace": "",
"entrysettlestatus": "A",
"mxoc_remarkentry": "",
"mxoc_excessqty": "0",
"srcbillno": "SCRK-20240401-0005",
"mxoc_supporting3_id": "0",
"unit_name": "39G",
"baseunit_name": "39G",
"mxoc_shouldreturnbaseqty": "5",
"qty": "5.0000000000",
"coefficient": "1",
"materialid_helpcode": "CXLgxdc",
"auxid3_name": "",
"deffloatqty": "0",
"settleamount": "0",
"mxoc_supporting2_number": "",
"mxoc_supporting2_name": "",
"mxoc_productworkshop_number": "000001",
"auxid1_id": "0",
"morptid": "1919015288439854080",
"mxoc_releasedate": "",
"unitcost": "0",
"mxoc_sourcetype": "",
"mxoc_shouldreturnqty": "5",
"mxoc_selectorder_id": "0",
"srcbilltypeid_id": "mxoc_pom_instocknew",
"mxoc_orderno": "SCDD-20240401-0030",
"material_entity_lk": [
{
"material_entity_lk_sbillid": "1919015478676710400",
"id": "1919534905998464000",
"material_entity_lk_stableid": "6286892556791333418",
"seq": "1",
"material_entity_lk_sid": "1919015561203949568"
}
],
"srcbilltypeid_number": "mxoc_pom_instocknew",
"srcinterid": "1919015478676710400",
"mxoc_barcode": "",
"mxoc_productworkshop_id": "1891250700776731648",
"auxunitid_id": "0",
"mxoc_iscombinedproduct": false,
"prolicense": "",
"auxid1_name": "",
"mxoc_product_barcode": "",
"cost": "0",
"morptentryid": "1919015412951966720",
"orderid": "1919014787161923584",
"mxoc_product_name": "",
"kfdate": "",
"mxoc_supporting1_name": "",
"mxoc_stockqty": "0",
"auxid4_id": "0",
"spid_name": "",
"mxoc_remark3": "",
"allamount": "0",
"mxoc_remark2": "",
"mxoc_remark1": "",
"unsettleamount": "0",
"auxid4_number": "",
"conversionrate": "",
"mxoc_sourcebillseq": "",
"mxoc_supporting1_number": "",
"materialid_id": "1919007205739318272"
}
],
"requiredinvoice": true,
"billhead_lk": [],
"currencyid_number": "CNY",
"deptid_id": "0",
"settle_customerid_number": "",
"mxoc_remarks": "",
"creatorid_number": "multicorp_3714185_-647689090",
"mxoc_remarks1": "",
"accountchecker_number": "",
"mxoc_remarks2": "",
"totalamount": "0",
"auditorid_number": "",
"billdate": "2024-04-02 00:00:00",
"basecurrency_number": "CNY",
"supplierid_id": "0",
"supplierid_name": "",
"accountcheck": "0",
"billno": "SCTK-20240402-0001",
"billsource": "ISV",
"mxoc_voucherno": "",
"basecurrency_name": "人民币",
"totalpreamount": "0",
"bill_dis_amount": "0",
"invoicestatus": "1",
"empid_number": "",
"accountchecker_id": "0",
"supplierid_number": "",
"attachments": "0",
"modifytime": "2024-04-18 13:52:32",
"exchangerate": "1",
"empid_name": "",
"mxoc_biztype_name": "CXL生产业务方案",
"mxoc_project_name": "",
"remark": null,
"totalinsfinalamount": "0",
"settle_supplierid_id": "0",
"mxoc_isaccounting": false,
"accountchecker_name": "",
"wf_progress": "",
"customerid_number": "",
"uninvoiceamount": "0",
"totalamountfor": "0",
"customerid_name": "",
"wf_previoushandler": null,
"mxoc_project_id": "0",
"mxoc_failinstock": false,
"bill_dis_rate": "0",
"creatorid_id": "12885999",
"modifierid_name": "张亚楠",
"customerid_id": "0",
"createtime": "2024-04-02 10:52:52",
"mxoc_biztype_number": "SCYWLX-20240304-0002",
"modifierid_number": "u17349178237",
"billtypeid_number": "mxoc_pom_retstocknew",
"billtypeid_id": "mxoc_pom_retstocknew",
"basecurrency_id": "1297339258264157184",
"totalsettleamountfor": "0",
"mxoc_project_number": "",
"currencyid_id": "1297339258264157184",
"settle_supplierid_name": "",
"modifierid_id": "9861690",
"diffamount": "0",
"totalsettleamount": "0",
"auditorid_id": "0",
"settle_customerid_name": "",
"mxoc_combusinessstatus": "",
"voucherid": "0",
"duedate": "",
"diffamountfor": "0",
"totalpreamountfor": "0",
"printcount": 0
}
}
示例代码
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 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation": "save",
"formid": "mxoc_pom_retstocknew",
"billdata": {
"billtypeid_name": "生产退库单",
"mxoc_inmorpt": false,
"deptid_name": "",
"totalinsfinalamountfor": "0",
"empid_id": "0",
"accountchecktime": "",
"invoicedamount": "0",
"payment_entry": [],
"settle_customerid_id": "0",
"totalunsettleamount": "0",
"settlestatus": "A",
"mxoc_businessstatus": "",
"wf_currentnode": null,
"totalunsettleamountfor": "0",
"creatorid_name": "问瑞娜",
"id": "1919534905990075392",
"settle_supplierid_number": "",
"deptid_number": "",
"audittime": "",
"currencyid_name": "人民币",
"billstatus": "Z",
"mxoc_biztype_id": "1898657711566886917",
"inputcoefficient_option": "",
"auditorid_name": "",
"material_entity": [
{
"baseunit_number": "39G",
"spid_id": "0",
"stockid_name": "CXL产成品仓",
"auxunitid_name": "",
"srcentryid": "1919015561203949568",
"orderentryid": "1919014787161924608",
"snlistid": "0",
"mxoc_supporting2_id": "0",
"mxoc_product_code": "",
"id": "1919534905998468096",
"checkid": "0",
"proregno": "",
"unittype": "0",
"mxoc_strmodel": "",
"row_state": "0",
"baseunit_id": "1902059946992730112",
"businessstatuss": "1",
"mxoc_excessbaseqty": "0",
"deffloatunitid_name": "",
"auxpropname": "",
"auxid2_id": "0",
"auxid1_number": "",
"mxoc_product_model": "",
"mullabel": [
{
"number": "BQNZ0002",
"name": "滞销",
"id": "2"
}
],
"materialid_brandid": null,
"auxid5_number": "",
"inputcoefficient": "0",
"mxoc_sourcebillno": "",
"auxunitid_number": "",
"auxid3_number": "",
"auxid2_name": "",
"batchno": "",
"mxoc_orderseq": "1",
"srcseq": "1",
"checkentryid": "0",
"mxoc_selectorder_name": "",
"auxid5_id": "0",
"src_billdate": "",
"auxcoefficient": "0",
"stockid_id": "1898609596977765376",
"sn": "",
"mxoc_billtype": "1",
"unit_id": "1902059946992730112",
"caculatecoefficient": "0",
"auxqty": "0",
"materialid_mxoc_remark1": "",
"seq": "1",
"kfperiod": "0",
"materialid_name": "CXL工序倒冲",
"mxoc_supporting1_id": "0",
"baseqty": "5",
"deffloatunitid_id": "0",
"package1": "",
"auxunittype": "0",
"package0": "",
"package3": "",
"stockid_number": "214",
"package2": "",
"validdate": "",
"mxoc_numerical1": "0",
"settleamountfor": "0",
"mxoc_numerical2": "0",
"auxid2_number": "",
"mxoc_supporting3_number": "",
"kftype": "",
"mxoc_supporting3_name": "",
"auxid5_name": "",
"materialid_number": "0053",
"materialid_model": "",
"auxpropid_name": "",
"auxid3_id": "0",
"unsettleamountfor": "0",
"sn_list": "",
"srcbilltypeid_name": "生产入库单",
"mxoc_businessstatuse": "",
"mxoc_selectorder_number": "",
"deffloatunitid_number": "",
"mxoc_productworkshop_name": "二楼生产车间-A",
"unit_number": "39G",
"serialqty": "0",
"auxid4_name": "",
"mxoc_datefield": "",
"auxpropid_id": "0",
"barcode": "",
"spid_number": "",
"package": "",
"allamountfor": "0",
"auxpropid_number": "",
"proplace": "",
"entrysettlestatus": "A",
"mxoc_remarkentry": "",
"mxoc_excessqty": "0",
"srcbillno": "SCRK-20240401-0005",
"mxoc_supporting3_id": "0",
"unit_name": "39G",
"baseunit_name": "39G",
"mxoc_shouldreturnbaseqty": "5",
"qty": "5.0000000000",
"coefficient": "1",
"materialid_helpcode": "CXLgxdc",
"auxid3_name": "",
"deffloatqty": "0",
"settleamount": "0",
"mxoc_supporting2_number": "",
"mxoc_supporting2_name": "",
"mxoc_productworkshop_number": "000001",
"auxid1_id": "0",
"morptid": "1919015288439854080",
"mxoc_releasedate": "",
"unitcost": "0",
"mxoc_sourcetype": "",
"mxoc_shouldreturnqty": "5",
"mxoc_selectorder_id": "0",
"srcbilltypeid_id": "mxoc_pom_instocknew",
"mxoc_orderno": "SCDD-20240401-0030",
"material_entity_lk": [
{
"material_entity_lk_sbillid": "1919015478676710400",
"id": "1919534905998464000",
"material_entity_lk_stableid": "6286892556791333418",
"seq": "1",
"material_entity_lk_sid": "1919015561203949568"
}
],
"srcbilltypeid_number": "mxoc_pom_instocknew",
"srcinterid": "1919015478676710400",
"mxoc_barcode": "",
"mxoc_productworkshop_id": "1891250700776731648",
"auxunitid_id": "0",
"mxoc_iscombinedproduct": false,
"prolicense": "",
"auxid1_name": "",
"mxoc_product_barcode": "",
"cost": "0",
"morptentryid": "1919015412951966720",
"orderid": "1919014787161923584",
"mxoc_product_name": "",
"kfdate": "",
"mxoc_supporting1_name": "",
"mxoc_stockqty": "0",
"auxid4_id": "0",
"spid_name": "",
"mxoc_remark3": "",
"allamount": "0",
"mxoc_remark2": "",
"mxoc_remark1": "",
"unsettleamount": "0",
"auxid4_number": "",
"conversionrate": "",
"mxoc_sourcebillseq": "",
"mxoc_supporting1_number": "",
"materialid_id": "1919007205739318272"
}
],
"requiredinvoice": true,
"billhead_lk": [],
"currencyid_number": "CNY",
"deptid_id": "0",
"settle_customerid_number": "",
"mxoc_remarks": "",
"creatorid_number": "multicorp_3714185_-647689090",
"mxoc_remarks1": "",
"accountchecker_number": "",
"mxoc_remarks2": "",
"totalamount": "0",
"auditorid_number": "",
"billdate": "2024-04-02 00:00:00",
"basecurrency_number": "CNY",
"supplierid_id": "0",
"supplierid_name": "",
"accountcheck": "0",
"billno": "SCTK-20240402-0001",
"billsource": "ISV",
"mxoc_voucherno": "",
"basecurrency_name": "人民币",
"totalpreamount": "0",
"bill_dis_amount": "0",
"invoicestatus": "1",
"empid_number": "",
"accountchecker_id": "0",
"supplierid_number": "",
"attachments": "0",
"modifytime": "2024-04-18 13:52:32",
"exchangerate": "1",
"empid_name": "",
"mxoc_biztype_name": "CXL生产业务方案",
"mxoc_project_name": "",
"remark": null,
"totalinsfinalamount": "0",
"settle_supplierid_id": "0",
"mxoc_isaccounting": false,
"accountchecker_name": "",
"wf_progress": "",
"customerid_number": "",
"uninvoiceamount": "0",
"totalamountfor": "0",
"customerid_name": "",
"wf_previoushandler": null,
"mxoc_project_id": "0",
"mxoc_failinstock": false,
"bill_dis_rate": "0",
"creatorid_id": "12885999",
"modifierid_name": "张亚楠",
"customerid_id": "0",
"createtime": "2024-04-02 10:52:52",
"mxoc_biztype_number": "SCYWLX-20240304-0002",
"modifierid_number": "u17349178237",
"billtypeid_number": "mxoc_pom_retstocknew",
"billtypeid_id": "mxoc_pom_retstocknew",
"basecurrency_id": "1297339258264157184",
"totalsettleamountfor": "0",
"mxoc_project_number": "",
"currencyid_id": "1297339258264157184",
"settle_supplierid_name": "",
"modifierid_id": "9861690",
"diffamount": "0",
"totalsettleamount": "0",
"auditorid_id": "0",
"settle_customerid_name": "",
"mxoc_combusinessstatus": "",
"voucherid": "0",
"duedate": "",
"diffamountfor": "0",
"totalpreamountfor": "0",
"printcount": 0
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"data": {
"id": "1919534905990075392"
},
"errorCode": "success",
"status": true,
"success": true
}
🟢200异常示例
修改于 2024-04-18 06:35:46