mejora validación
This commit is contained in:
@@ -741,7 +741,7 @@ public partial class General_PopUpPaqueteriasGuias : ClsPaginas
|
|||||||
private string DocumentoEntregaInterna()
|
private string DocumentoEntregaInterna()
|
||||||
{
|
{
|
||||||
ClsVentas ObjVentas = new ClsVentas();
|
ClsVentas ObjVentas = new ClsVentas();
|
||||||
if (ObjVentas.GetVenta(this.CveVenta, UsuarioActual.CveEmpresa))
|
if (ObjVentas.GetVenta(this.CveVenta, UsuarioActual.CveEmpresa) && ObjVentas.DtResultados.Rows.Count> 0)
|
||||||
{
|
{
|
||||||
string ClienteNombre = ObjVentas.DtResultados.Rows[0]["ClienteNombre"].ToString();
|
string ClienteNombre = ObjVentas.DtResultados.Rows[0]["ClienteNombre"].ToString();
|
||||||
string FolioVenta = ObjVentas.DtResultados.Rows[0]["SerieFolio"].ToString();
|
string FolioVenta = ObjVentas.DtResultados.Rows[0]["SerieFolio"].ToString();
|
||||||
|
|||||||
Reference in New Issue
Block a user