EAS供应链Web Service应收单接口JSON参数样例
18861332663 李
StringBuilder datastring = new StringBuilder();
datastring.append("[{");
//应收单据头
datastring.append("\"company\":{\"number\":\"101000\"}");
datastring.append(",\"number\":\"ap-20190408-0001\"");
datastring.append(",\"bizDate\":\"2019-04-08\"");
datastring.append(",\"billDate\":\"2019-04-08\"");
datastring.append(",\"asstActType\":{\"number\":\"00001\"}");
datastring.append(",\"asstActNumber\":\"2.02.01.001\"");
datastring.append(",\"currency\":{\"number\":\"BB01\"}");
datastring.append(",\"exchangeRate\":1");
datastring.append(",\"amount\":3000.00");
datastring.append(",\"paymentType\":{\"number\":\"001\"}");
datastring.append(",\"totalAmount\":3000.00");
datastring.append(",\"totalTax\":0");
datastring.append(",\"saleOrg\":{\"number\":\"101000\"}");
datastring.append(",\"billType\":102");
datastring.append(",\"bizType\":{\"number\":\"210\"}");
// //收款计划
//
// datastring.append(",\"payPlan\":{\"recievePayDate\":\"101000\"}");
// datastring.append(",{\"recievePayAmount\":3000.00\"}");
//应收单据体
datastring.append(",\"entry\":[{\"material\":{\"number\":\"3.103.003\"}");
datastring.append(",\"measureUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"recievePayAmount\":3000.00");
datastring.append(",\"unVerifyAmount\":3000.00");
datastring.append(",\"lockUnVerifyAmt\":3000.00");
datastring.append(",\"quantity\":1");
datastring.append(",\"price\":3000.00");
datastring.append(",\"realPrice\":3000.00");
datastring.append(",\"taxPrice\":3000.00");
datastring.append(",\"actualPrice\":3000.00");
datastring.append(",\"taxAmount\":0");
datastring.append(",\"amount\":3000.00");
datastring.append(",\"baseUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"baseQty\":1");
datastring.append(",\"unwriteOffBaseQty\":1");
datastring.append(",\"localUnwriteOffAmount\":3000.00");
datastring.append(",\"recAsstActType\":{\"number\":\"00001\"}");
datastring.append(",\"recAsstActNumber\":\"2.02.01.001\"");
datastring.append(",\"recAsstActName\":\"香港翔富数控有限公司\"}");
//第二条分录
datastring.append(",{\"material\":{\"number\":\"3.103.003\"}");
datastring.append(",\"measureUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"recievePayAmount\":3000.00");
datastring.append(",\"unVerifyAmount\":3000.00");
datastring.append(",\"lockUnVerifyAmt\":3000.00");
datastring.append(",\"quantity\":2");
datastring.append(",\"price\":3000.00");
datastring.append(",\"realPrice\":3000.00");
datastring.append(",\"taxPrice\":3000.00");
datastring.append(",\"actualPrice\":3000.00");
datastring.append(",\"taxAmount\":0");
datastring.append(",\"amount\":3000.00");
datastring.append(",\"baseUnit\":{\"number\":\"PCS\"}");
datastring.append(",\"baseQty\":2");
datastring.append(",\"unwriteOffBaseQty\":1");
datastring.append(",\"localUnwriteOffAmount\":3000.00");
datastring.append(",\"recAsstActType\":{\"number\":\"00001\"}");
datastring.append(",\"recAsstActNumber\":\"2.02.01.001\"");
datastring.append(",\"recAsstActName\":\"香港翔富数控有限公司\"}]");
datastring.append("}]");
System.out.println(datastring.toString());
String rs= wssProxy.importBill("010",datastring.toString(), 1);
System.out.println(rs);
请问有标准接口吗 接口名称是什么?
EAS供应链Web Service应收单接口JSON参数样例
本文2024-09-16 23:23:39发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-54283.html