接口说明

  • ERP调用的虎符API名称:jingdong.hufu.storeprocess.create
  • 虎符调用WMS的API名称:storeprocess.create
  • 接口描述:虎符仓内加工单创建接口

入参规范

<?xml version="1.0" encoding="UTF-8"?>
<request type="object">
    <processOrderCode name="加工单编码" required="true" type="string (50)" />
    <warehouseCode name="仓库编码" required="true" type="string (50)">统仓统配等无需ERP指定仓储编码的情况填OTHER</warehouseCode>
    <orderType name="单据类型 CNJG=仓内加工作业单" required="true" type="string (50)" />
    <orderCreateTime name="加工单创建时间" required="true" type="string (19)">YYYY-MM-DD HH:MM:SS</orderCreateTime>
    <planTime name="计划加工时间" required="true" type="string (19)">YYYY-MM-DD HH:MM:SS</planTime>
    <serviceType name="加工类型:1:仓内组合加工 2:仓内组合拆分" required="true" type="int" />
    <planQty name="成品计划数量" type="int" />
    <extendProps name="扩展属性&#10;        " type="object"><key1 name="value1" type="string (50)" />
        <key2 name="value2" type="string (50)" />
    </extendProps>
    <remark name="备注" type="string (500)" />
    <materialitems type="array">
        <item type="object">
            <itemCode name="erp系统商品编码" required="true" type="string (50)" />
            <itemId name="仓储系统商品ID" type="string (50)" />
            <ownerCode name="货主编码" type="string(50)" />
            <inventoryType name="库存类型" type="string (50)">ZP=正品 CC=残次JS=机损 XS= 箱损默认为ZP</inventoryType>
            <quantity name="数量" required="true" type="int" />
            <ratioQty name="配比数量" type="int" />
            <productDate name="商品生产日期 " type="string (10)">YYYY-MM-DD</productDate>
            <expireDate name="商品过期日期" type="string (10)">YYYY-MM-DD</expireDate>
            <produceCode name="生产批号" type="string (50)" />
            <remark name="备注" type="string (500)" />
        </item>
    </materialitems>
    <productitems type="array">
        <item type="object">
            <itemCode name="erp系统商品编码" required="true" type="string (50)" />
            <itemId name="仓储系统商品ID" type="string (50)" />
            <ownerCode name="货主编码" type="string (50)" />
            <inventoryType name="库存类型" type="string (50)">ZP=正品 CC=残次JS=机损 XS= 箱损默认为ZP</inventoryType>
            <quantity name="数量" required="true" type="int" />
            <ratioQty name="配比数量" type="int" />
            <productDate name="商品生产日期 " type="string (10)">YYYY-MM-DD</productDate>
            <expireDate name="商品过期日期" type="string (10)">YYYY-MM-DD</expireDate>
            <produceCode name="生产批号" type="string (50)" />
            <remark name="备注" type="string (500)" />
        </item>
    </productitems>
</request>

出参规范

 <?xml version="1.0" encoding="UTF-8"?>
 <response type="object">
     <flag name="success|failure" type="string (50)" />
     <code name="响应码" type="string (50)" />
     <message name="响应信息" type="string (50)" />
     <processOrderId name="仓储系统处理单ID" type="string(50)" />
 </response>

results matching ""

    No results matching ""