该接口主要用于第三方平台或自主研发者,通过调用【生产退料单】的查询接口,将Sunlike ERP或Online ERP系统中的【生产退料单】信息调出至第三方平台中显示。
{
"code": 0, //为0表示执行成功,其他表示错误
"message": "查询成功",
"data": {
"MF_ML": [ //查询单据表头信息
{
"MLID": "M2",
"ML_NO": "LJM22008100001",
"ML_ID": "2",
"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 12:26:15",
"YL_ID": "F",
"TL_NO1": 1.0
}
],
"TF_ML": [ //查询单据表身信息
{
"MLID": "M2",
"ML_NO": "LJM22008100001",
"ML_ID": "2",
"ITM": 1,
"PRD_NO": "00221",
"PRD_NAME": "00221制程一原料",
"WH": "002",
"UNIT": "1",
"QTY": 9.0,
"CST": 18.0,
"BAT_NO": "",
"REM": "",
"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": "",
"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": 938.0,
"ZC_NO": "202001",
"QTY_RSV": 9.0,
"QTY_LOST": 0.0,
"QTY_RTN": 9.0,
"FIX_CST1": "1",
"UP_STD": 0.0,
"CHUW": "002A",
"QTY_WL": -9.0,
"TF_TL_NO1": 1.0
}
]
}
}