Skip to content

send stock_in to pocm

Description:send stock_in to pocm
topic:scc.stock-in
business data description
ParamRequiredTypeLengthFormatDescription
lenovo_pnYstring50
lenovo_plant_codeYstring50
lenovo_storage_locationYstring50
original_supplier_codeYstring50
posaYstring50
stock_receiving_typeYstring50
stock_receiving_dateYdatetimeyyyy-MM-dd HH24:mm:ss
tpl_receiving_idYstring50
receipt_idYstring50
line_idYstring50
ecc_gr_docYstring50
good_quantityYdecimal10,3
actionYstring10INSERT 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
{

}