该接口主要用于第三方平台或自主研发者,通过调用【暂估退回单】的查询接口,将Sunlike ERP或Online ERP系统中的【暂估退回单】信息查询到第三方平台中。
{
"code": 0, //为0表示执行成功,其他表示错误
"message": "查询成功", //提示信息
"data": {
"MF_ZG": [ //查询单据表头信息
{
"ZG_ID": "ZR",
"ZG_NO": "ZR20082100000001",
"ZG_DD": "2020-08-21 00:00:00",
"CUS_NO": "C1000",
"DEP": "001",
"TAX_ID": "2",
"OS_ID": "ZG",
"OS_NO": "ZG20082100000001",
"SEND_MTH": "1",
"ZHANG_ID": "3",
"CUR_ID": "",
"EXC_RTO": 1.0,
"SAL_NO": "0001",
"REM": "API生产",
"PAY_MTH": "1",
"PAY_DAYS": 1,
"CHK_DAYS": 30,
"PAY_REM": "结帐期:2020-09-01;票据到期日:2020-10-01",
"PAY_DD": "2020-09-01 00:00:00",
"CHK_DD": "2020-10-01 00:00:00",
"INT_DAYS": 30,
"PRT_SW": "N",
"DIS_CNT": 0.0,
"AMT": 200.0,
"CLS_DATE": "2020-08-21 00:00:00",
"BIL_TYPE": "",
"CAS_NO": "",
"USR": "ADMIN",
"CHK_MAN": "ADMIN",
"SYS_DATE": "2020-08-21 17:00:46",
"LJ_ZR1": "API单据"
}
],
"TF_ZG": [ //查询单据表头信息
{
"ZG_ID": "ZR",
"ZG_NO": "ZR20082100000001",
"ITM": 1,
"ZG_DD": "2020-08-21 00:00:00",
"WH": "002",
"OS_NO": "ZG20082100000001",
"PRD_NO": "00221",
"PRD_NAME": "00221制程一原料",
"PRD_MARK": "0101",
"UNIT": "1",
"QTY": 100.0,
"QTY1": 200.0,
"UP": 2.0,
"AMTN_NET": 190.48,
"AMT": 200.0,
"TAX": 9.52,
"TAX_RTO": 5.0,
"CST_STD": 0.0,
"UP_QTY1": 1.0,
"OS_ID": "ZG",
"OTH_ITM": 1,
"CUS_OS_NO": "",
"PRE_ITM": 2,
"PRD_NO_NO": "00221",
"QTY_SO_ORG": 100.0,
"QTY_SO_ORG_ALL": 100.0,
"CST_STD_UNIT": 0.0,
"LJ_ZR2": 10.0
}
]
}
}