diff --git a/Acumuladores/EntradasUsadosResumenRep.aspx.vb b/Acumuladores/EntradasUsadosResumenRep.aspx.vb
index 8e389cde6..c0b5cdd5d 100644
--- a/Acumuladores/EntradasUsadosResumenRep.aspx.vb
+++ b/Acumuladores/EntradasUsadosResumenRep.aspx.vb
@@ -73,11 +73,12 @@ Partial Class Acumuladores_RepEntradasUsados
Dim params As New List(Of ReportParameter)
- params.Add(New ReportParameter("Direccion", "dirección"))
+ params.Add(New ReportParameter("Direccion", UsuarioActual.Empresa.Direccion))
params.Add(New ReportParameter("FechaConFormato", FechaConFormato))
params.Add(New ReportParameter("FechaInicial", txtFechaI.Text))
params.Add(New ReportParameter("FechaFinal", txtFechaF.Text))
params.Add(New ReportParameter("Sucursal", "Sucursal"))
+ params.Add(New ReportParameter("Almacen", DdlAlmacenes.Text.ToString))
Dim rds As New ReportDataSource With {.Name = "DataSet1", .Value = DatosEntradasUsados}
diff --git a/Contabilidad/RegPrePoliza.aspx.vb b/Contabilidad/RegPrePoliza.aspx.vb
index c5225c895..1ec7fb62f 100644
--- a/Contabilidad/RegPrePoliza.aspx.vb
+++ b/Contabilidad/RegPrePoliza.aspx.vb
@@ -1893,7 +1893,6 @@ Partial Class ContabilidadC_RegPrePoliza
Dim TotalCargos As Integer = 0
Dim TotalAbonos As Integer = 0
-
CvePrePoliza = ObjConta.AddPrePolizas("Contabilidad/RegPrePolizaExcel", DdlPlantilla2.SelectedValue.ToEntero, TotalCargos, TotalAbonos, 1, TxtFecha.Text.ToDate, DdlPlantilla2.SelectedItem.Text.ToString, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, CveTipoPoliza:=DdlTipoPolizaAdd.SelectedValue.ToEntero)
@@ -1911,6 +1910,7 @@ Partial Class ContabilidadC_RegPrePoliza
Dim CveConceptoContable As Integer = Row("CveConceptoContable").ToString.ToEntero
Dim IdCtaContable As Integer = Row("IdCtaContable").ToString.ToEntero
+
If ObjConta.GetCuentas(-1, Cuenta.Replace("-", ""), 1, UsuarioActual.CveEmpresa) Then
If ObjConta.DtResultados.Rows.Count > 0 Then
IdCuenta = ObjConta.DtResultados().FiltroPrimeroValor("CveCuenta").ToEntero
@@ -1932,7 +1932,7 @@ Partial Class ContabilidadC_RegPrePoliza
If YaExiste = False Then
If IdCuenta > 0 Then
- If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovto, Importe, "", CveConceptoContable, Concepto, Now.ToDate, IdCtaContable, -1, ImporteMX:=Importe, CveSubProyecto:=CveSubProyecto, CveCuenta:=IdCuenta) Then
+ If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovto, Importe, Referencia, CveConceptoContable, Concepto, Now.ToDate, IdCtaContable, -1, ImporteMX:=Importe, CveSubProyecto:=CveSubProyecto, CveCuenta:=IdCuenta) Then
TieneError = True
Exit For
End If
@@ -1941,7 +1941,6 @@ Partial Class ContabilidadC_RegPrePoliza
End If
End If
-
Next
If Not TieneError Then
ObjConta.Commit()
diff --git a/Contabilidad2/PolizasImpresion.aspx b/Contabilidad2/PolizasImpresion.aspx
index 7664693c0..f84703761 100644
--- a/Contabilidad2/PolizasImpresion.aspx
+++ b/Contabilidad2/PolizasImpresion.aspx
@@ -5,6 +5,7 @@
+ Pólizas Impresión
diff --git a/Empresas/140/Formatos/RepEntradasUsados.rdlc b/Empresas/140/Formatos/RepEntradasUsados.rdlc
index 22e6dba92..3335cd483 100644
--- a/Empresas/140/Formatos/RepEntradasUsados.rdlc
+++ b/Empresas/140/Formatos/RepEntradasUsados.rdlc
@@ -1,1160 +1,5 @@
-
-
-
-
-
-
-
- 2.6528cm
-
-
- 1.31753cm
-
-
- 2.31753cm
-
-
- 1.58961cm
-
-
- 1.60315cm
-
-
- 2.31753cm
-
-
- 1.37304cm
-
-
- 1.5767cm
-
-
- 2.05295cm
-
-
- 1.49732cm
-
-
- 2.31753cm
-
-
-
-
- 0.62959cm
-
-
-
-
- true
- true
-
-
-
-
- Grupo
-
-
-
-
-
-
- Textbox9
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Inicial
-
-
-
-
-
-
- Textbox1
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- E.Alm
-
-
-
-
-
-
- Textbox29
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- E.Pub
-
-
-
-
-
-
- Textbox13
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- E.Tras
-
-
-
-
-
-
- Textbox27
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- E.Compras
-
-
-
-
-
-
- Textbox15
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Otrs.
-
-
-
-
-
-
- Textbox17
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- S.Alm
-
-
-
-
-
-
- Textbox5
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- S.Trasp
-
-
-
-
-
-
- Textbox8
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Otrs
-
-
-
-
-
-
- Textbox11
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Exist Actual
-
-
-
-
-
-
- Textbox41
-
-
- Silver
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 0.58521cm
-
-
-
-
- true
- true
-
-
-
-
- =Fields!Codigo.Value
-
-
-
-
-
-
- Codigo
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- 0
-
-
-
-
-
-
- TipoAgrupador
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!E_Almacen.Value
-
-
-
-
-
-
- E_Almacen
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- 0
-
-
-
-
-
-
- Paqueteria1
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!E_Traspaso.Value
-
-
-
-
-
-
- E_Traspaso
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!E_Compra.Value
-
-
-
-
-
-
- E_Compra
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- 0
-
-
-
-
-
-
- Fecha
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!S_Almacen.Value
-
-
-
-
-
-
- S_Almacen
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!S_Traspaso.Value
-
-
-
-
-
-
- S_Traspaso
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- 0
-
-
-
-
-
-
- Textbox16
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- 0
-
-
-
-
-
-
- Textbox42
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- After
-
-
-
-
-
-
- DataSet1
- 0.95278cm
- 0.08377cm
- 1.2148cm
- 20.61569cm
-
-
-
-
-
- true
- true
-
-
-
-
- Entradas
-
-
-
-
-
-
- Textbox37
- 0.17639cm
- 3.02491cm
- 0.6cm
- 10.33589cm
- 1
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Salidas
-
-
-
-
-
-
- Textbox38
- 0.17639cm
- 13.43136cm
- 0.6cm
- 7.2681cm
- 2
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- 0.9799in
-
-
-
-
- 8.2362in
-
-
- 3.1764cm
- true
- true
-
-
- Embedded
- Logo
- Fit
- 0.09927in
- 0.10752in
- 0.99993in
- 1.6045in
-
-
-
-
-
- true
- true
-
-
-
-
- BDH BATERÍAS DISTRIBUCIONES DE
-
-
-
-
-
-
-
-
- HERMOSILLO S.A. DE C.V.
-
-
-
-
-
-
-
-
- =Parameters!Direccion.Value
-
-
-
-
-
-
- Textbox2
- 0.25214cm
- 4.45435cm
- 1.92292cm
- 11.8589cm
- 1
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Tarjeta de Almacén Del
-
-
-
- =Parameters!FechaInicial.Value
-
-
-
- Al
-
-
-
- =Parameters!FechaFinal.Value
-
-
-
-
-
-
- Textbox4
- 2.35145cm
- 6.20715cm
- 0.6cm
- 10.1061cm
- 2
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- =Parameters!FechaConFormato.Value
-
-
-
-
-
-
- FechaConFormato
- 0.28742cm
- 16.48964cm
- 0.6cm
- 3.64648cm
- 3
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- =Globals!PageNumber
-
-
-
-
-
-
- PageNumber
- 1.02853cm
- 16.48964cm
- 0.6cm
- 2.94608cm
- 4
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
- 0.727cm
- true
- true
-
-
- 0.127cm
- 0.01325cm
- 0cm
- 20.90669cm
-
-
-
-
-
-
-
-
-
- 27.94cm
- 21.59cm
- 0.5cm
- 0cm
- 0.5cm
- 1cm
- 0.13cm
-
-
+
0
@@ -1207,6 +52,1131 @@
+
+
+
+
+
+
+
+
+ 2.6528cm
+
+
+ 1.31753cm
+
+
+ 2.31753cm
+
+
+ 1.58961cm
+
+
+ 1.60315cm
+
+
+ 2.31753cm
+
+
+ 1.37304cm
+
+
+ 1.5767cm
+
+
+ 2.05295cm
+
+
+ 1.49732cm
+
+
+ 2.31753cm
+
+
+
+
+ 0.62959cm
+
+
+
+
+ true
+ true
+
+
+
+
+ Grupo
+
+
+
+
+
+
+ Textbox9
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Inicial
+
+
+
+
+
+
+ Textbox1
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ E.Alm
+
+
+
+
+
+
+ Textbox29
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ E.Pub
+
+
+
+
+
+
+ Textbox13
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ E.Tras
+
+
+
+
+
+
+ Textbox27
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ E.Compras
+
+
+
+
+
+
+ Textbox15
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Otrs.
+
+
+
+
+
+
+ Textbox17
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ S.Alm
+
+
+
+
+
+
+ Textbox5
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ S.Trasp
+
+
+
+
+
+
+ Textbox8
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Otrs
+
+
+
+
+
+
+ Textbox11
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Exist Actual
+
+
+
+
+
+
+ Textbox41
+
+
+ Silver
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.58521cm
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Codigo.Value
+
+
+
+
+
+
+ Codigo
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ 0
+
+
+
+
+
+
+ TipoAgrupador
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!E_Almacen.Value
+
+
+
+
+
+
+ E_Almacen
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ 0
+
+
+
+
+
+
+ Paqueteria1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!E_Traspaso.Value
+
+
+
+
+
+
+ E_Traspaso
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!E_Compra.Value
+
+
+
+
+
+
+ E_Compra
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ 0
+
+
+
+
+
+
+ Fecha
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!S_Almacen.Value
+
+
+
+
+
+
+ S_Almacen
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!S_Traspaso.Value
+
+
+
+
+
+
+ S_Traspaso
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ 0
+
+
+
+
+
+
+ Textbox16
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ 0
+
+
+
+
+
+
+ Textbox42
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ After
+
+
+
+
+
+
+ DataSet1
+ 0.10583cm
+ 0.08377cm
+ 1.2148cm
+ 20.61569cm
+
+
+
+
+
+ 0.51993in
+
+
+
+
+ 8.2362in
+
+
+ 3.54682cm
+ true
+ true
+
+
+ Embedded
+ Logo
+ Fit
+ 0.09927in
+ 0.10752in
+ 0.99993in
+ 1.6045in
+
+
+
+
+
+ true
+ true
+
+
+
+
+ BDH BATERÍAS DISTRIBUCIONES DE
+
+
+
+
+
+
+
+
+ HERMOSILLO S.A. DE C.V.
+
+
+
+
+
+
+
+
+ =Parameters!Direccion.Value
+
+
+
+
+
+
+ Textbox2
+ 0.25214cm
+ 4.45435cm
+ 1.92292cm
+ 11.8589cm
+ 1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Tarjeta de Almacén Del
+
+
+
+ =Parameters!FechaInicial.Value
+
+
+
+ Al
+
+
+
+ =Parameters!FechaFinal.Value
+
+
+
+
+
+
+ Textbox4
+ 2.84098cm
+ 5.75736cm
+ 0.6cm
+ 10.1061cm
+ 2
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!FechaConFormato.Value
+
+
+
+
+
+
+ FechaConFormato
+ 0.28742cm
+ 16.48964cm
+ 0.6cm
+ 3.64648cm
+ 3
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Globals!PageNumber
+
+
+
+
+
+
+ PageNumber
+ 1.02853cm
+ 16.48964cm
+ 0.6cm
+ 2.94608cm
+ 4
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Almacen.Value
+
+
+
+
+
+
+ Textbox4
+ 2.19197cm
+ 5.75736cm
+ 0.6cm
+ 10.1061cm
+ 5
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ 0.727cm
+ true
+ true
+
+
+ 0.127cm
+ 0.01325cm
+ 0cm
+ 20.90669cm
+
+
+
+
+
+
+
+
+
+ 27.94cm
+ 21.59cm
+ 0.5cm
+ 0cm
+ 0.5cm
+ 1cm
+ 0.13cm
+
+
+
+
DateTime
@@ -1234,7 +1204,51 @@
true
ReportParameter1
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+
+ 2
+ 3
+
+
+ 0
+ 0
+ FechaInicial
+
+
+ 1
+ 0
+ FechaFinal
+
+
+ 0
+ 1
+ Sucursal
+
+
+ 1
+ 1
+ Direccion
+
+
+ 0
+ 2
+ FechaConFormato
+
+
+ 1
+ 2
+ Almacen
+
+
+
+
image/png
diff --git a/Empresas/153/Formatos/Cotizacion.rdlc b/Empresas/153/Formatos/Cotizacion.rdlc
index fc6b403d8..b9f92f77e 100644
--- a/Empresas/153/Formatos/Cotizacion.rdlc
+++ b/Empresas/153/Formatos/Cotizacion.rdlc
@@ -1,5 +1,5 @@
-
+
0
@@ -1588,7 +1588,21 @@
- CP
+
+
+
+
+ =IIF(Parameters!ClienteCP.Value <> "", "CP", "")
+
+
+
+
+
Gray
2pt
2pt
@@ -120,28 +122,25 @@
- 4.91744cm
+ 5.26966cm
- 4.73895cm
+ 3.98929cm
2.5cm
- 3.44027cm
+ 3.6966cm
- 2.14434cm
-
-
- 1.01833cm
+ 2.91394cm
1.25645cm
- 1.70625cm
+ 2.23542cm
@@ -159,7 +158,7 @@
=Fields!RazonSocial.Value
@@ -193,7 +192,7 @@
=Fields!Descripcion.Value
@@ -226,7 +225,7 @@
=Fields!SubProyecto.Value
@@ -259,7 +258,7 @@
=Fields!Nombre.Value
@@ -293,7 +292,7 @@
=Fields!ImporteSol.Value
@@ -317,39 +316,6 @@
-
-
-
- true
- true
-
-
-
-
- =Fields!Abreviatura.Value
-
-
-
-
-
-
- Abreviatura
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
@@ -361,7 +327,7 @@
=Fields!FolioMov.Value
@@ -394,7 +360,7 @@
=Fields!Importe.Value
@@ -473,7 +439,7 @@
- Descripción
+ Descripcion
-
-
-
-
-
- Textbox20
-
-
- Gray
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
0.46771cm
@@ -759,7 +686,7 @@
=Fields!Folio.Value
@@ -790,7 +717,7 @@
0.82931cm
0.06614cm
0.93542cm
- 23.14606cm
+ 23.28539cm
@@ -837,7 +764,7 @@
0.79506in