纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. using NFine.Application.WMS;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. using System.IO;
  6. using System.Linq;
  7. using System.Web;
  8. using System.Web.Mvc;
  9. using NFine.Code;
  10. using System.Data.SqlClient;
  11. using NFine.Data.Extensions;
  12. using System.Data.OleDb;
  13. using System.Configuration;
  14. using ICS.Application.Entity;
  15. namespace NFine.Web.Areas.WMS.Controllers
  16. {
  17. public class ICSToSAPController : ControllerBase
  18. {
  19. ICSToSAPApp App = new ICSToSAPApp();
  20. // GET: WMS/ICSMTDOC
  21. /// <summary>
  22. /// 销售出库单过账SAP
  23. /// </summary>
  24. /// <param name="keyValue"></param>
  25. /// <returns></returns>
  26. [HttpPost]
  27. [HandlerAjaxOnly]
  28. public ActionResult DisPatchToSAP(string DisPatchCodeList,string WorkPoint)
  29. {
  30. string msg = App.DisPatchToSAP(DisPatchCodeList, WorkPoint);
  31. if (!string.IsNullOrEmpty(msg))
  32. {
  33. return Error(msg);
  34. }
  35. else
  36. {
  37. return Success("过账成功!");
  38. }
  39. }
  40. }
  41. }