示例#1
0
    public DataSet TPV_Queue_Request(string User,
                                string Password, string Fecha)
    {
        try
        {
            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.TPVQueueRequest(Fecha);
        }
        catch (Exception ex)
        {
            return MiddleWareTPVCentral.Utilidades.GenerarError(User, "TPV_Queue_Request()", ex.Message);
        }
    }