diff --git a/App_Code/ClsContPAQi.vb b/App_Code/ClsContPAQi.vb
index a191b7b11..cbe00b5ee 100644
--- a/App_Code/ClsContPAQi.vb
+++ b/App_Code/ClsContPAQi.vb
@@ -3322,7 +3322,7 @@ Public Class ClsContPAQi
StrSQL.Append(" AND (@Codigo = '-1' OR C.Codigo = @Codigo) ")
StrSQL.Append(" AND (@Afectable = -1 OR C.Afectable = @Afectable) ")
StrSQL.Append(" AND (@IdPadre = -1 OR CFad.Id = @IdPadre) ")
- StrSQL.Append(" ORDER BY C.id ")
+ StrSQL.Append(" ORDER BY C.Codigo ")
''JJMQ - 20150210: Agregué la cuenta contable padre
'StrSQL.Append(" SELECT Top(@RowNum) Id, Codigo, Nombre, ")
diff --git a/Bin/GoCfdi.dll b/Bin/GoCfdi.dll
index edecce87c..6fabb13d8 100644
Binary files a/Bin/GoCfdi.dll and b/Bin/GoCfdi.dll differ
diff --git a/Contabilidad/OCDetalleAlmacen.aspx b/Contabilidad/OCDetalleAlmacen.aspx
index 49a17fbd0..c9cd7bbd9 100644
--- a/Contabilidad/OCDetalleAlmacen.aspx
+++ b/Contabilidad/OCDetalleAlmacen.aspx
@@ -37,7 +37,8 @@
-
+
+
diff --git a/Contabilidad/OCDetalleAlmacen.aspx.vb b/Contabilidad/OCDetalleAlmacen.aspx.vb
index 1c74b5520..840691ef0 100644
--- a/Contabilidad/OCDetalleAlmacen.aspx.vb
+++ b/Contabilidad/OCDetalleAlmacen.aspx.vb
@@ -35,7 +35,7 @@ Partial Class Contabilidad_OCDetalleAlmacen
- If ObjConta.GetOCDetalleAlmacen(1000D, UsuarioActual.CveEmpresa) Then
+ If ObjConta.GetOCDetalleAlmacen(100000D, UsuarioActual.CveEmpresa) Then
If ObjConta.DtResultados.Rows.Count > 0 Then
DTDatos = ObjConta.DtResultados
@@ -95,7 +95,7 @@ Partial Class Contabilidad_OCDetalleAlmacen
If Chk IsNot Nothing AndAlso Chk.Checked Then
- CvePrePoliza = ObjConta.AddPrePolizas(modulo, 3, Diferencia, Diferencia, CveMoneda, Fecha, modulo, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
+ CvePrePoliza = ObjConta.AddPrePolizas(modulo, 3, Diferencia, Diferencia, CveMoneda, Fecha, Referencia, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, CveTipoPoliza:=3)
GvDrow.Cells(1).Text = CvePrePoliza.ToString
mensaje = mensaje & $"CvePrePoliza {CvePrePoliza } OC: {Folio} Importe :{Diferencia}
"
diff --git a/Ventas/PV.aspx.vb b/Ventas/PV.aspx.vb
index f9e85dfc2..52a13be90 100644
--- a/Ventas/PV.aspx.vb
+++ b/Ventas/PV.aspx.vb
@@ -4582,7 +4582,7 @@ Partial Class PV
Private Sub BtnValidarRFC_Click(sender As Object, e As EventArgs) Handles BtnValidarRFC.Click
- If TxtRFCCliente.Text = "XAXX010101000" Then
+ If TxtRFCCliente.Text.ToUpper = "XAXX010101000" Then
DivNombreCliente.Visible = True
DivDireccionCliente.Visible = True
DivNumeroCPCliente.Visible = True