该接口主要用于第三方平台或自主研发者,通过调用【销货折让单】的查询接口,将Sunlike ERP或Online ERP系统中的【销货折让单】信息查询到第三方平台中。
{
"code": 0, //为0表示执行成功,其他表示错误
"message": "查询成功", //提示信息
"data": {
"MF_PSS": [ //查询单据表头信息
{
"PS_ID": "SD",
"PS_NO": "SD20082700000001",
"PS_DD": "2020-08-27 00:00:00",
"PAY_DD": "2020-09-01 00:00:00",
"CHK_DD": "2020-10-01 00:00:00",
"CUS_NO": "0008",
"CUS_NAME": "0008客户(单张立帐)",
"DEP": "00000000",
"DEP_NAME": "First Department",
"TAX_ID": "2",
"SEND_MTH": "1",
"SEND_WH": "0008",
"ZHANG_ID": "1",
"CUR_ID": "",
"EXC_RTO": 1.0,
"SAL_NO": "9999",
"SAL_NAME": "LJ",
"ARP_NO": "AR20082700000001",
"ARP_DD": "2020-08-28 00:00:00",
"PAY_MTH": "1",
"PAY_DAYS": 1,
"CHK_DAYS": 30,
"INT_DAYS": 30,
"PAY_REM": "结帐期:2020-09-01;票据到期日:2020-10-01",
"USR": "ADMIN",
"CHK_MAN": "ADMIN",
"PRT_SW": "N",
"CLS_DATE": "2020-08-27 00:00:00",
"BIL_TYPE": "",
"AMTN_RCV": 0.0,
"SYS_DATE": "2020-08-28 11:28:14",
"REM": "API产生",
"MOB_ID": "",
"KP_ID": "F",
"OFF_OS_NO": "",
"AMTN_TAX_IRP": 0.0,
"AMT_TAX_IRP": 0.0,
"BIL_FILE_COUNT": 0
}
],
"TF_PSS": [ //查询单据表身信息
{
"PS_ID": "SD",
"PS_NO": "SD20082700000001",
"ITM": 1,
"PS_DD": "2020-08-27 00:00:00",
"WH": "9902",
"PRD_NO": "0001",
"PRD_NAME": "不粘锅",
"PRD_MARK": "",
"SPC": "4L",
"BAR_CODE": "",
"UPR": 500.0,
"IDX1": "A110101",
"MRK": "A",
"UNIT": "1",
"PRM_NO": "",
"QTY": 0.0,
"UP": 100.0,
"AMTN_NET": 95.24,
"AMT": 100.0,
"AMTN_SALE": 0.0,
"PRE_ITM": 1,
"TAX": 4.76,
"CST_STD": 0.0,
"TAX_RTO": 5.0,
"TRANSM": "0",
"LOGIST": "0",
"TPL_NO": "001",
"SUP_PRD_NO": "",
"SUP_PRD_MARK": "",
"ACT_DSC": "",
"ACT_REM": "",
"CHK_TAX": "F",
"TAXCODE": "",
"UP_DIS_CNT": 100.0,
"QTY_BAR": 0.0,
"PRD_NO_NO": "0001",
"CST_STD_UNIT": 0.0,
"AMT_OLD": 0.0
}
]
}
}