Beispiel #1
0
    public DataSet TPV_Traer_Pago_Central(string Usuario, string password, string NumDoc)
    {
        try
        {
            NavisionDB.NavisionDBUser user = new NavisionDB.NavisionDBUser();
            if ((Usuario != null) && (password != null))
            {
                DataSet DsRes = new DataSet();
                user = MiddleWareTPVCentral.Utilidades.Abrir_Login(Usuario, password, ref DsRes, WebServiceTPVCentral.Global.navConection);
            }

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

            return TPV.Traer_Pago_Central(NumDoc);

        }
        catch (Exception ex)
        {
            return MiddleWareTPVCentral.Utilidades.GenerarError("", "TPV_Traer_Pago_Central()", ex.Message);
        }
    }