该接口主要用于第三方平台或自主研发者,通过调用【生产补料单】的查询接口,将Sunlike ERP或Online ERP系统中的【生产补料单】信息调出至第三方平台中显示。
{
"code": 0, //为0表示执行成功,其他表示错误
"message": "查询成功",
"data": {
"MF_ML": [ //查询单据表头信息
{
"MLID": "M3",
"ML_NO": "LJM32008100001",
"ML_ID": "3",
"ML_DD": "2020-08-10 00:00:00",
"FIX_CST1": "1",
"MO_NO": "MO20081000000001",
"VOH_ID": "",
"USR_NO": "9999",
"DEP": "00101",
"TZ_NO": "TZ20081000000001",
"CHK_MAN": "ADMIN",
"USR": "ADMIN",
"PRT_SW": "N",
"CLS_DATE": "2020-08-10 00:00:00",
"SYS_DATE": "2020-08-10 15:33:49",
"VOH_ID_MC": "",
"YL_ID": "F",
"JD_M31": 12.0
}
],
"TF_ML": [ //查询单据表身信息
{
"MLID": "M3",
"ML_NO": "LJM32008100001",
"ML_ID": "3",
"ITM": 1,
"PRD_NO": "00221",
"PRD_NAME": "00221制程一原料",
"WH": "002",
"UNIT": "1",
"QTY": 9.0,
"CST": 18.0,
"BAT_NO": "",
"REM": "",
"QTY1": 18.0,
"CST_STD": 0.0,
"PRD_NO_CHG": "",
"ID_NO": "",
"PRE_ITM": 1,
"EST_ITM": 1,
"LOS_RTO": 0.0,
"QTY_STD": 3.0,
"ZC_PRD": "",
"QTY_LEFT": 9.0,
"PRD_MARK": "0101",
"CHG_RTO": "",
"USEIN_NO": "",
"ML_DD": "2020-08-10 00:00:00",
"MO_NO": "MO20081000000001",
"TZ_NO": "TZ20081000000001",
"QTY_ML": 3.0,
"QL_NO": "",
"QL_ID": "",
"UNIT_H": "1",
"QTY_WH": 947.0,
"ZC_NO": "202001",
"QTY_RSV": 9.0,
"QTY_LOST": 0.0,
"QTY_RTN": 0.0,
"FIX_CST1": "1",
"UP_STD": 0.0,
"CHUW": "002A",
"QTY_WL": -9.0,
"JD_M32": 12.0
}
]
}
}