该接口主要用于第三方平台或自主研发者,通过调用【生产领料单】的查询接口,将Sunlike ERP或Online ERP系统中的【生产领料单】信息调出至第三方平台中显示。
{
"code": 0, //为0表示执行成功,其他表示错误
"message": "查询成功",
"data": {
"MF_ML": [ //查询单据表头信息
{
"MLID": "M4",
"ML_NO": "LJM42008100001",
"ML_ID": "4",
"ML_DD": "2020-08-10 00:00:00",
"FIX_CST1": "1",
"VOH_ID": "",
"USR_NO": "9999",
"DEP": "00000000",
"TZ_NO": "TW20081000000001",
"CHK_MAN": "ADMIN",
"USR": "ADMIN",
"PRT_SW": "N",
"CLS_DATE": "2020-08-10 00:00:00",
"SYS_DATE": "2020-08-10 16:40:15",
"CUS_NO": "0009",
"MC_NO": "MC20081000000001",
"VOH_ID_MC": "",
"LJ_M41": 12.0,
"LJ_M42": 12.0
}
],
"TF_ML": [ //查询单据表身信息
{
"MLID": "M4",
"ML_NO": "LJM42008100001",
"ML_ID": "4",
"ITM": 2,
"PRD_NO": "00222",
"PRD_NAME": "00222托外制程二",
"WH": "002",
"UNIT": "1",
"QTY": 15.0,
"CST": 146.50484693,
"BAT_NO": "",
"REM": "",
"QTY1": 30.0,
"CST_STD": 0.0,
"PRD_NO_CHG": "",
"ID_NO": "",
"PRE_ITM": 2,
"EST_ITM": 2,
"LOS_RTO": 0.0,
"QTY_STD": 5.0,
"ZC_PRD": "",
"QTY_LEFT": 15.0,
"PRD_MARK": "",
"WH_LC": "004",
"QTY_OVER": 5.0,
"PK_ID": "T",
"QTY_LC": 20.0,
"CHG_RTO": "",
"USEIN_NO": "",
"ML_DD": "2020-08-10 00:00:00",
"MO_NO": "MO20081000000001",
"TZ_NO": "TW20081000000001",
"QTY_ML": 3.0,
"QL_NO": "",
"QL_ID": "",
"UNIT_H": "1",
"QTY_WH": 980.0,
"ZC_NO": "202002",
"QTY_RSV": 15.0,
"QTY_LOST": 0.0,
"QTY_RTN": 0.0,
"FIX_CST1": "1",
"UP_STD": 0.0,
"QTY_WL": -15.0,
"LJ_M43": 12.0
}
]
}
}