- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 委外订单
- 收料通知单
- 委外入库单
- 委外投料单
- 委外发料单
- 委外退料单
- 委外订单业务查询
- 委外退库单
- 委外工序接收单
- 委外工序转出单
- 委外工序转入转出下推
- 销售管理
- 非标生产
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
收料通知单下推委外入库单
POST
/mxoc_om_ext/om_operate
请求参数
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
operation
string
下推操作
formid
string
当前表单标识
push
string
目标单标识
billdata
object
必需
id
string
当前表单id
示例
{
"operation": "push",
"formid": "mxoc_om_receiplist",
"push": "mxoc_om_instock",
"billdata": {
"id": "1504361460845790208"
}
}
示例代码
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_om_ext/om_operate?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation": "push",
"formid": "mxoc_om_receiplist",
"push": "mxoc_om_instock",
"billdata": {
"id": "1504361460845790208"
}
}'
返回响应
🟢200成功
application/json
Body
success
boolean
响应状态
data
object
数据实体
id
string
单据id
billno
string
表单单号
billdate
string
表单时间
billstatus
string
审核状态
currencyid_id
string
币别id
currencyid_name
string
币别名称
currencyid_number
string
币别编码
mxoc_biztype_id
string
委外业务控制方案id
mxoc_biztype_name
string
委外业务控制名称
mxoc_biztype_number
string
委外业务控制方案编码
supplierid_id
string
供应商id
supplierid_name
string
供应商名称
supplierid_number
string
供应商编码
exchangerate
string
汇率
remark
string
单据备注
createtime
string
创建时间
material_entity
array [object {45}]
单据体分录列表
errorCode
string
响应代码
示例
{
"success": true,
"reachPlugin": true,
"data": {
"mxoc_isinvoices": false,
"mxoc_biztype_ismaterialreport": false,
"currencyid_exctype": "2",
"accountchecktime": "",
"payment_entry": [],
"supplierid_remark": "",
"creatorid_masterid": "0",
"totalunsettleamount": "0",
"mxoc_biztype_aucclosing": false,
"settlestatus": "A",
"creatorid_name": "李瑞峰",
"mxoc_biztype_iswarehousquality": false,
"id": "0",
"supplierid_addr": "雁塔区154",
"currencyid_amtprecision": "4",
"mxoc_biztype_autocomplete": false,
"mxoc_biztype_ismaterialquality": false,
"mxoc_biztype_minallowvalue": "0",
"creatorid_phone": "18022007907",
"currencyid_name": "人民币",
"mxoc_biztype_id": "1297862090295357440",
"basecurrency_exctype": "2",
"inputcoefficient_option": null,
"material_entity": [
{
"baseunit_number": "包",
"materialid_seccoefficient": "0",
"spid_id": "",
"stockid_name": "",
"srcentryid": "1504361464637443072",
"checkentry": "0",
"snlistid": "0",
"materialid_net_weight": "0",
"mxoc_propricetax": "0",
"mxoc_costadjustamount": "0",
"mxoc_retstockqty": "0",
"materialid_refistrationnumber": "",
"id": "0",
"returnbaseqty": "0",
"materialid_iskfperiod": false,
"order": "1504355524781557760",
"morpt": "0",
"mxoc_materamount": "0",
"materialid_ispurchase": true,
"unittype": "0",
"materialid_wide": "0",
"mxoc_backflushno": "",
"baseunit_id": "5",
"materialid_isweight": false,
"auxpropname": null,
"mxoc_exchangeqty": "0",
"mullabel": [],
"modifyis": false,
"inputcoefficient": "0",
"mxoc_sourcebillno": "",
"materialid_costprice": "0",
"baseunit_precision": "2",
"materialid_barcode": "",
"materialid_prolicense": "",
"attributeis": false,
"materialid_issale": true,
"batchno": "",
"returnqty": "0",
"materialid_maxinventoryqty": "0",
"mxoc_orderseq": "2",
"mxoc_rateamount": "0",
"materialid_isasstattr": false,
"materialid_multicount": "0",
"srcseq": "1",
"mxoc_price": "0",
"materialid_secinventoryqty": "0",
"src_billdate": "2022-09-07",
"auxcoefficient": "0",
"stockid_id": "",
"isserial": false,
"baseunit_precisionaccount": "2",
"sn": null,
"mxoc_billtype": "1",
"materialid_tradeprice": "0",
"unit_id": "5",
"caculatecoefficient": "0",
"auxqty": "0",
"seq": "1",
"shelflifeis": false,
"kfperiod": "0",
"produceddateis": false,
"ismulti_unit": false,
"serialis": false,
"materialid_name": "计划测试半成品",
"baseqty": "666",
"package1": "",
"auxunittype": "0",
"package0": "",
"package3": "",
"allamountfor1": "0",
"package2": "",
"stockid_number": "",
"unit_precisionaccount": "2",
"materialid_gross_weight": "0",
"isbatch": false,
"materialid_entrust": false,
"mxoc_amount": "0",
"mxoc_receivqty": "666",
"validdate": "",
"materialid_high": "0",
"mxoc_uninvoiceaamount": "0",
"settleamountfor": "0",
"morptentry": "0",
"mxoc_provisionalprice": "0",
"materialid_costmethod": "1",
"kftype": null,
"orderentry": "1504355524781558785",
"mxoc_rate": "6",
"materialid_number": "0120",
"materialid_model": "",
"materialid_isbatch": false,
"materialid_maxpurchaseprice": "0",
"materialid_enable": "1",
"unsettleamountfor": "0",
"auxpropid_name": "",
"sn_list": "",
"mxoc_proamount": "0",
"unit_number": "包",
"serialqty": "0",
"materialid_kfperiodtype": "",
"auxpropid_id": "",
"iskfperiod": false,
"barcode": "",
"spid_number": "",
"materialid_length": "0",
"spaceis": false,
"unit_conversiontype": "1",
"package": " ",
"mxoc_materacost": "0",
"allamountfor": "0",
"mxoc_provisionalamount": "0",
"mxoc_uninvoiceaqty": "666",
"materialid_stockup_day": "0",
"auxpropid_number": "",
"check": "0",
"entrysettlestatus": "A",
"srcbillno": "SLTZ-20220907-0050",
"unit_name": "包",
"baseunit_name": "包",
"mxoc_invoiceaamount": "0",
"qty": "666.0000000000",
"coefficient": "1",
"pay_comment": "",
"expiringdateis": false,
"materialid_helpcode": "jhcsbcp",
"deffloatqty": "0",
"settleamount": "0",
"mxoc_invoiceaqty": "0",
"materialid_kfperiod": "0",
"materialid_purchaseprice": "0",
"unitcost": "0",
"mxoc_receivbaseqty": "666",
"mxoc_sourcetype": "",
"isasstattr": false,
"materialid_taxrate": "0",
"mxoc_orderno": "WWDD-20220907-0005",
"srcinterid": "0",
"materialid_fixunitcount": "0",
"materialid_retailprice": "0",
"mxoc_proamountfor": "0",
"materialid_leadtime": "0",
"materialid_checktype": "1",
"batchis": false,
"unit_precision": "2",
"cost": "0",
"mxoc_proprice": "0",
"kfdate": "",
"spid_name": "",
"allamount": "0",
"mxoc_provisionalqty": "666",
"materialid_isserial": false,
"mxoc_validqty": "0",
"materialid_ismulti_unit": false,
"unsettleamount": "0",
"mxoc_proamounttax": "0",
"materialid_volume": "0",
"baseunit_conversiontype": "1",
"materialid_minsalesprice": "0",
"materialid_producingpace": "",
"materialid_mininventoryqty": "0",
"conversionrate": "",
"materialid_remark": "",
"mxoc_taxamountfor": "0",
"mxoc_sourcebillseq": "",
"materialid_id": "1489788279153817600"
}
],
"requiredinvoice": true,
"mxoc_biztype_masterid": "1297862090295357440",
"currencyid_number": "CNY",
"mxoc_biztype_status": "C",
"creatorid_number": "18022007907",
"totalamount": "0",
"mxoc_biztype_completestand": "",
"mxoc_biztype_isauditstock": true,
"mxoc_biztype_isrelease": false,
"billdate": "2022-09-07",
"basecurrency_number": "CNY",
"currencyid_enable": "1",
"mxoc_biztype_ispricelist": true,
"mxoc_biztype_allowvalue": "A",
"basecurrency_enable": "1",
"basecurrency_convertmode": "1",
"billno": "WWRK-20220907-0003",
"billtypeid_modeltype": "BillFormModel",
"billsource": "ISV",
"bill_dis_amount": "0",
"invoicestatus": "1",
"supplierid_number": "GY00003",
"mxoc_biztype_isfault": false,
"mxoc_biztype_isconsiderloss": false,
"mxoc_biztype_isautostart": false,
"mxoc_biztype_inspection": false,
"uninvoiceamount": "0",
"totalamountfor": "0",
"createtime": "2022-09-07 15:46:57",
"basecurrency_rate": "1",
"supplierid_rate": "3",
"billtypeid_number": "mxoc_om_instock",
"billtypeid_id": "mxoc_om_instock",
"basecurrency_id": "1297339258264157184",
"supplierid_isentrust": false,
"mxoc_biztype_enable": "1",
"diffamount": "0",
"totalsettleamount": "0",
"supplierid_creditlimit": "0",
"mxoc_biztype_mxoc_isreceiplist": true,
"voucherid": "0",
"totalpreamountfor": "0",
"mxoc_biztype_modifytime": "2021-11-26 17:00:21",
"mxoc_biztype_materialsunfold": "",
"currencyid_priceprecision": "6",
"billtypeid_name": "委外入库单",
"basecurrency_sign": "",
"supplierid_bankaccount": "123456",
"mxoc_biztype_iscollection": false,
"totalinsfinalamountfor": "0",
"mxoc_biztype_ismustset": false,
"invoicedamount": "0",
"currencyid_rate": "1",
"totalunsettleamountfor": "0",
"mxoc_biztype_stockmaterials": "",
"basecurrency_priceprecision": "6",
"basecurrency_isshowsign": false,
"currencyid_isshowsign": false,
"supplierid_taxpayerno": "123456",
"supplierid_pinyin": "sk",
"audittime": "",
"mxoc_biztype_iswarehousreport": false,
"billstatus": "A",
"mxoc_isprovisio": false,
"currencyid_convertmode": "1",
"supplierid_id": "1309464172391577600",
"supplierid_name": "散客",
"accountcheck": "0",
"basecurrency_name": "人民币",
"mxoc_splitno": "",
"totalpreamount": "0",
"supplierid_bank": "123456",
"modifytime": "",
"supplierid_enable": "1",
"exchangerate": "1",
"mxoc_biztype_name": "启用通知单",
"remark": "",
"totalinsfinalamount": "0",
"mxoc_biztype_unwarehouse": false,
"mxoc_biztype_createtime": "2021-11-26 16:58:54",
"voucherno": "",
"creatorid_enable": "1",
"mxoc_biztype_maxallowvalue": "0",
"bill_dis_rate": "0",
"creatorid_id": "8233530",
"billtypeid_enable": false,
"mxoc_biztype_number": "WWYWKZ-20211126-0002",
"mxoc_biztype_allowvaluetype": "A",
"totalsettleamountfor": "0",
"currencyid_id": "1297339258264157184",
"currencyid_sign": "",
"basecurrency_amtprecision": "4",
"supplierid_fullpinyin": "sanke",
"mxoc_biztype_isautowarehouse": false,
"duedate": "2022-09-07",
"diffamountfor": "0",
"supplierid_deduct": true,
"creatorid_username": "",
"mxoc_biztype_isprice": false,
"supplierid_accountopenaddr": "123456",
"mxoc_biztype_isinstock": false
},
"errorCode": "success"
}
🟢200异常示例