4.10 单据取消接口


4.10.1 接口介绍

场景介绍:ERP主动发起取消某些创建的单据, 如入库单、出库单、退货单等, 所有的场景

ERP调用WMS的API名称:openapi.order.cancel


4.10.2 入参规范

<?xml version="1.0" encoding="utf-8"?>

<request>

<warehouseCode>仓库编码, string (50),必填 ,统仓统配等无需ERP指定仓储编码的情况填OTHER</warehouseCode>

<ownerCode>货主编码, string (50) </ownerCode>

<orderCode>单据编码, string (50) ,必填</orderCode>

<orderId>仓储系统单据编码, string (50) ,条件必填</orderId>

<orderType>单据类型, JYCK= 一般交易出库单,HHCK= 换货出库 ,BFCK= 补发出库 PTCK=普通出库单,DBCK=调拨出库 ,B2BRK=B2B入库,B2BCK=B2B出库,QTCK=其他出库, SCRK=生产入库,LYRK=领用入库,CCRK=残次品入库,CGRK=采购入库 ,DBRK= 调拨入库 ,QTRK= 其他入库 ,XTRK= 销退入库 HHRK= 换货入库 CNJG= 仓内加工单</orderType>

<cancelReason>取消原因, string (500) </cancelReason>

</request>


4.10.3 出参规范

<?xml version="1.0" encoding="utf-8"?>

<response>

<flag>success|failure </flag>

<code>响应码</code>

<message>响应信息</message>

</response>

results matching ""

    No results matching ""