Пример #1
0
    public DataSet TPV_Queue_Response(string User,
                                      string Password,
                                      string Id,
                                      string Result,
                                      string Fecha,
                                      string Hora,
                                      string Msg)
    {
        try
        {
            bool Result_Aux = Convert.ToBoolean(Result);
            NavisionDB.NavisionDBUser user = new NavisionDB.NavisionDBUser();
            if ((User != null) && (Password != null))
            {
                DataSet DsRes = new DataSet();
                user = MiddleWareTPVCentral.Utilidades.Abrir_Login(User, Password, ref DsRes, WebServiceTPVCentral.Global.navConection);
            }

            TPV = new MiddleWareTPVCentral.TPV(user, WebServiceTPVCentral.Global.navConection);

            return TPV.TPVQueueResponse(Id, Result_Aux, Fecha, Hora, Msg);
        }
        catch (Exception ex)
        {
            return MiddleWareTPVCentral.Utilidades.GenerarError(User, "TPV_Queue_Response()", ex.Message);
        }
    }