using NFine.Application.WMS;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NFine.Code;
using System.Data.SqlClient;
using NFine.Data.Extensions;
using System.Data.OleDb;
using System.Configuration;
using ICS.Application.Entity;

namespace NFine.Web.Areas.WMS.Controllers
{
    public class ICSHGErrorHandleController : ControllerBase
    {
        ICSHGErrorHandleApp App = new ICSHGErrorHandleApp();
        // GET: WMS/ICSMTDOC
        
        /// <summary>
        /// 销售出库单过账SAP
        /// </summary>
        /// <param name="keyValue"></param>
        /// <returns></returns>
        [HttpPost]
        [HandlerAjaxOnly]
        public ActionResult WMSInterfaceReCall(string IDList, string WorkPoint)
        {
             string msg = App.WMSInterfaceReCall(IDList, WorkPoint);
            if (!string.IsNullOrEmpty(msg))
            {
                return Error(msg);
            }
            else
            {
                return Success("调用成功!");
            }
        }
    }
}