发送数据到pocm
Description:发送stock out的数据
topic:scc.stock-out
业务数据说明
参数名称 | 必填 | 参数类型 | 长度 | 参数格式 | 描述 |
---|---|---|---|---|---|
lenovo_pn | Y | string | 50 | ||
lenovo_plant_code | Y | string | 50 | ||
lenovo_storage_location | Y | string | 50 | ||
original_supplier_code | Y | string | 50 | ||
posa | Y | string | 50 | ||
tpl_receiving_id | Y | string | 50 | ||
receipt_id | Y | string | 50 | ||
line_id | Y | string | 50 | ||
ecc_gr_doc | Y | string | 50 | ||
stock_issuing_type | Y | string | 10 | ||
pull_date | Y | datetime | yyyy-MM-dd HH24:mm:ss | ||
vmi_pull_id | Y | string | 50 | ||
vmi_line_id | Y | string | 50 | ||
soi_to_loi_gr_doc | Y | string | 50 | ||
pull_quantity | Y | decimal | 10,3 | ||
aging_days | Y | integer | 50 | ||
action | Y | string | 10 | 新增:INSERT 更新:UPDATE 删除:DELETE |
请求示例
JSON
{
"batch_id": "11297",
"batch_size": 1,
"lenovo_pn":"pn01",
"lenovo_plant_code":"vendor001",
"lenovo_storage_location":"tst",
"original_supplier_code":"0232823233343",
"posa":"102343",
"tpl_receiving_id":"id01",
"receipt_id":"id02",
"line_id":"233.23",
"ecc_gr_doc":"2344.42",
"stock_issuing_type": "",
"pull_date": "2023-10-24 23:32:12",
"vmi_pull_id": "id01",
"vmi_line_id": "id01",
"soi_to_loi_gr_doc": "",
"pull_quantity": "1.23",
"aging_days": "3",
"action": "insert"
}
返回成功示例
json
{
"code": "0",
"msg": "request success"
}
返回包含错误数据示例
json
{
}