事件订阅 / 商品与库存

入库修正单创建

修正入库单创建后发送事件。

字段值说明
eventModule3事件模块编号
eventType306具体事件编号

事件结构

名称说明类型
Body 参数
id可选

消息 ID,作为接收端幂等键;同一次业务通知的重试使用同一消息 ID

string
clinicId可选

授权门店 ID

string
eventModule可选

枚举:3

integer
eventType可选

枚举:306

integer
eventName可选

枚举:入库修正单创建

string
callbackCount可选
integer

结构示例

json
{
  "id": "string",
  "clinicId": "string",
  "eventModule": 3,
  "eventType": 306,
  "eventName": "入库修正单创建",
  "callbackCount": 0,
  "eventData": {
    "fixedInOrderItemList": [
      {
        "id": 0,
        "outDetailId": 123123,
        "originalItemId": 0,
        "originalOutDetailId": 123123,
        "productId": "string",
        "productShortId": "string",
        "productName": "string",
        "specification": "string",
        "pieceNum": 5,
        "pieceUnit": "片",
        "packageUnit": "盒",
        "originalPackageCount": 2,
        "originalPieceCount": 10,
        "originalAmount": 6033.23,
        "changePackageCount": 2,
        "changePieceCount": 10,
        "changeAmount": 633.23,
        "originalBatchNo": "string",
        "batchNo": 20220526000001,
        "created": "2022-05-10 12:22:56"
      }
    ],
    "id": 0,
    "orderNo": "GRXZ20220526000001",
    "status": 0,
    "organId": 1001,
    "organName": "高新大源店",
    "amount": 6033.23,
    "count": 12,
    "kindCount": 5,
    "operator": "string",
    "supplier": "string",
    "effectiveDate": "2022-04-07 15:12:53",
    "lastModified": "2022-05-13 12:22:56",
    "pharmacy": {
      "no": 0
    },
    "originalOrder": {
      "id": 0,
      "orderNo": "string",
      "outOrderNo": "string"
    }
  }
}

返回事件目录

ABC 开放平台 · 诊所管家

如有疑问,请扫码加入企业微信群咨询。

企业微信群二维码
没有匹配结果

诊所管家