send stock out to pocm
Description:send stock out to pocm
topic:scc.stock-out
request data description
Param | Required | Type | Length | Format | Description |
---|---|---|---|---|---|
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 |
Request sample
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"
}
Successful response sample
json
{
"code": "0",
"msg": "request success"
}
Failed response sample
json
{
}