添加采购入库单接口

统一
This commit is contained in:
admin
2021-01-13 12:37:27 +08:00
parent be6ed7aec9
commit 1fc87ae94b
14 changed files with 161 additions and 50 deletions

View File

@@ -231,7 +231,7 @@ namespace NX.ERP.U8
para.ReturnValue = false;
u8ApiBroker.Release();
}
para.ReturnValue = Convert.ToBoolean(u8ApiBroker.GetReturnValue());
para.DOMMsg = u8ApiBroker.GetResult("domMsg") as DOMDocument;
@@ -241,7 +241,7 @@ namespace NX.ERP.U8
{
para.VoucherId = u8ApiBroker.GetResult("VouchId") as string;
VoucherId = para.VoucherId;
}
else
{
@@ -256,19 +256,19 @@ namespace NX.ERP.U8
throw ex3;
}
finally
{
{
}
}
public void LoadRdVoucher(VoucherParameter para)
public void LoadRdVoucher(string Url, VoucherParameter para)
{
try
{
U8EnvContext u8EnvContext = new U8EnvContext();
u8EnvContext.U8Login = this.ClsLogin;
U8ApiAddress apiAddress = new U8ApiAddress("U8API/PuStoreIn/Load");
U8ApiAddress apiAddress = new U8ApiAddress(Url);
U8ApiBroker u8ApiBroker = new U8ApiBroker(apiAddress, u8EnvContext);
u8ApiBroker.AssignNormalValue("sVouchType", para.VoucherType);
u8ApiBroker.AssignNormalValue("sWhere", para.StrWhere);
@@ -325,8 +325,8 @@ namespace NX.ERP.U8
}
catch (Exception ex3)
{
throw ex3;
throw new Exception("装载供应链库存单据失败!");
}
}