This commit is contained in:
Rakcsle Supertramp
2019-09-25 11:18:46 -07:00
5 changed files with 6 additions and 5 deletions

View File

@@ -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, ")

Binary file not shown.

View File

@@ -37,7 +37,8 @@
<asp:BoundField DataField="Cargo" HeaderText="Cargo" DataFormatString="{0:C2}" ></asp:BoundField>
<asp:BoundField DataField="Abono" HeaderText="Abono" DataFormatString="{0:C2}"></asp:BoundField>
<asp:BoundField DataField="Dif" HeaderText="Dif" DataFormatString="{0:C2}" ></asp:BoundField>
<asp:BoundField DataField="CveCompra" HeaderText="CveCompra"></asp:BoundField>
<asp:BoundField DataField="CveCompra" HeaderText="CveCompra"></asp:BoundField>
<asp:BoundField DataField="Fecha" HeaderText="Fecha"></asp:BoundField>
</Columns>
</asp:GridView>

View File

@@ -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} <br>"

View File

@@ -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