该接口主要用于第三方平台或自主研发者,需要通过日期、单号、部门批量查询ERP系统的单据时,则可调用该单据的批量查询接口,将Sunlike ERP或Online ERP系统中的批量单据信息查询到第三方平台中。
{
"code": 0, //0值表示执行成功,其他值则表示失败
"message": "查询成功",
"data": {
"UP_DD": "2022-06-06 14:17:53",
"TOTAL_NUM": 1,
"BILL_LIST": [ //请求批量查询返回的单据明细信息
{
"MF_MB": [
{
"MB_ID": "MB",
"MB_NO": "MB2205110001",
"MB_DD": "2022-05-11 00:00:00",
"SO_NO": "SO2205110001",
"USR_NO": "001",
"WH_PRD": "YH001",
"WH_MTL": "YH001",
"MRP_NO": "WDP001",
"PRD_MARK": "",
"PRD_NAME": "打印机",
"EXP_MTH": "1",
"UNIT": "1",
"QTY": 1.00000000,
"QTY1": 2.00000000,
"BAT_NO": "",
"DEP": "965",
"CST": 110.00000000,
"CST_MAKE": 0.00000000,
"CST_PRD": 0.00000000,
"CST_MAN": 0.00000000,
"CST_OUT": 0.00000000,
"USED_TIME": 0.00000000,
"VOH_ID": "",
"REM": "",
"CST_STD": 100.00000000,
"FIX_CST1": "1",
"CST_SMAKE": 0.00000000,
"CST_SPRD": 0.00000000,
"CST_SMAN": 0.00000000,
"CST_SOUT": 0.00000000,
"USED_STIME": 0.00000000,
"USR": "ADMIN",
"CHK_MAN": "ADMIN",
"PRT_SW": "N",
"CLS_DATE": "2022-06-06 14:17:53",
"ID_NO": "WDP001->V0.5",
"EST_ITM": 1,
"BIL_TYPE": "",
"SYS_DATE": "2022-06-06 14:17:53",
"TIME_CNT": 0.00000000,
"TIME_SCNT": 0.00000000,
"PRT_USR": "",
"UP_MAIN": 110.00000000,
"SPC": "H&P",
"CHUW": ""
}
],
"TF_MB": [
{
"MB_ID": "MB",
"MB_NO": "MB2205110001",
"ITM": 1,
"MB_DD": "2022-05-11 00:00:00",
"PRD_NO": "WDP004",
"PRD_NAME": "原色鼓芯",
"PRD_MARK": "",
"WH": "YH001",
"UNIT": "1",
"QTY": 1.00000000,
"QTY_LOST": 0.00000000,
"CST": 100.00000000,
"REM": "",
"CST_STD": 100.00000000,
"PRD_NO_CHG": "WDP006",
"ID_NO": "",
"EST_ITM": 4,
"PRE_ITM": 4,
"USEIN_NO": "",
"LOS_RTO": 0.00000000,
"QTY_STD": 1.00000000,
"DEP_RK": "",
"FIX_CST1": "1",
"CAS_NO": "",
"UP_MAIN": 100.00000000,
"CHUW": "",
"UP_STD_QTY": 100.00000000,
"QTY_UT": 1.00000000,
"SPC": "H&W",
"NAME_ENG": "",
"UNIT1_NAME": "",
"PRD_NO_NO": "WDP004"
},
{
"MB_ID": "MB",
"MB_NO": "MB2205110001",
"ITM": 2,
"MB_DD": "2022-05-11 00:00:00",
"PRD_NO": "WDP008",
"PRD_NAME": "包装箱",
"PRD_MARK": "",
"WH": "YH001",
"UNIT": "1",
"QTY": 1.00000000,
"QTY_LOST": 0.00000000,
"CST": 10.00000000,
"REM": "",
"CST_STD": 0.00000000,
"PRD_NO_CHG": "WDP009",
"ID_NO": "",
"EST_ITM": 5,
"PRE_ITM": 5,
"USEIN_NO": "",
"LOS_RTO": 0.00000000,
"QTY_STD": 1.00000000,
"DEP_RK": "",
"FIX_CST1": "1",
"CAS_NO": "",
"UP_MAIN": 10.00000000,
"CHUW": "",
"UP_STD_QTY": 10.00000000,
"QTY_UT": 1.00000000,
"SPC": "",
"NAME_ENG": "",
"UNIT1_NAME": "",
"PRD_NO_NO": "WDP008"
}
],
"BILL_STATE": {
"READONLY": false,
"READONLY_REM": []
}
}
]
}
}