send stock_in to pocm
Description:send stock_in to pocm
topic:scc.stock-in
business 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 | ||
stock_receiving_type | Y | string | 50 | ||
stock_receiving_date | Y | datetime | yyyy-MM-dd HH24:mm:ss | ||
tpl_receiving_id | Y | string | 50 | ||
receipt_id | Y | string | 50 | ||
line_id | Y | string | 50 | ||
ecc_gr_doc | Y | string | 50 | ||
good_quantity | Y | decimal | 10,3 | ||
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",
"stock_receiving_type":"",
"stock_receiving_date": "2023-10-24 23:32:12",
"tpl_receiving_id":"",
"receipt_id":"",
"line_id":"233.23",
"ecc_gr_doc":"2344.42",
"good_quantity":"1.23",
"action": "insert"
}
Successful response sample
json
{
"code": "0",
"msg": "request success"
}
Failed response sample
json
{
}