# 调用生产单接口，调用异常请尽快处理

**URL:** <https://group.xinheyun.com/t/topic/842>\
**Category:** 开放平台\
**Tags:** bug单\
**Created:** [2026 年6 月 4 日 06:40 UTC](https://group.xinheyun.com/t/topic/842 "2026-06-04T06:40:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![15801731779](https://avatars.discourse-cdn.com/v4/letter/1/6de8d8/32.png) [@15801731779](https://group.xinheyun.com/u/15801731779)\
发布日期： [2026 年6 月 4 日 06:40 UTC](https://group.xinheyun.com/t/topic/842/1 "2026-06-04T06:40:02Z")

</div>

调用生产订单新增接口，接口返回成功，但是创建的生产订单和实际请求不一致。导致客户数据混乱，希望尽快处理

这里是接口请求的报文日志：

2026/6/4 10:54:16--------\>\>[url][https://c2.xinheyun.com/api/open/v2/workOrders/upsert](https://c2.xinheyun.com/api/open/v2/workOrders/upsert)  
2026/6/4 10:54:16--------\>\>[post]{“body”:{“code”:“MO2606010001-1-1000011515”,“itemCode”:“04030001”,“itemQuantity”:“10000”,“assigneeCode”:“QZ002”,“assigneeType”:1,“customFields”:{“图号”:“1AA232003A”,“客户图号”:“NS1-10124-AA”,“开发号”:“”},“productionWarehouseCode”:“01”}}  
2026/6/4 10:54:19--------\>\>[response]{“code”:200,“message”:“成功”}  
2026/6/4 10:54:19--------\>\>[post]{“body”:{“code”:“MO2606010001-2-1000011516”,“itemCode”:“04030002”,“itemQuantity”:“10000”,“assigneeCode”:“QZ002”,“assigneeType”:1,“customFields”:{“图号”:“1AA232004A”,“客户图号”:“NS1-10125-AA”,“开发号”:“”},“productionWarehouseCode”:“01”}}  
2026/6/4 10:54:21--------\>\>[response]{“code”:200,“message”:“成功”}

实际创建的生产订单的物料都对不上

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/xinheyun/original/1X/a05dd569d7c9caa54c3241523fb3a5bb71312d35.png)

租户是：南昌市奇政模具机械有限公司

---

<div class="post-metadata">

作者： ![yuan.mingfeng](https://avatars.discourse-cdn.com/v4/letter/y/cc9497/32.png) [@yuan.mingfeng](https://group.xinheyun.com/u/yuan.mingfeng)\
发布日期： [2026 年6 月 8 日 02:47 UTC](https://group.xinheyun.com/t/topic/842/2 "2026-06-08T02:47:06Z")

</div>

这个过时接口已经不在维护了，如有问题请使用我们的最新接口[新核云-开放平台](https://c2.xinheyun.com/open-newcore/apidoc)

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/xinheyun/original/1X/b6d3f353a40f983fe766ef4f77192da7a69d12d9.jpeg)
