diff --git a/Acumuladores/RepEntradasUsadosClientes.aspx.vb b/Acumuladores/RepEntradasUsadosClientes.aspx.vb
index 9d266557c..e23ddf41d 100644
--- a/Acumuladores/RepEntradasUsadosClientes.aspx.vb
+++ b/Acumuladores/RepEntradasUsadosClientes.aspx.vb
@@ -29,7 +29,7 @@ Partial Class Acumuladores_RepEntradasUsadosClientes
End Sub
Public Sub CargaCombos()
- DdlAlmacen.DataSource = GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
+ DdlAlmacen.DataSource = GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, 22)
DdlAlmacen.DataBind()
DdlAlmacen.Items.Insert(0, New ListItem("Todos", "-1"))
diff --git a/App_Code/ClsInventarios.vb b/App_Code/ClsInventarios.vb
index e574d4783..2a6016ebd 100644
--- a/App_Code/ClsInventarios.vb
+++ b/App_Code/ClsInventarios.vb
@@ -1472,7 +1472,7 @@ Public Class ClsInventarios
Return Retorno
End Function
- Public Function GetKardexAlmacenHorizontal(CvePS As Integer, FechaFin As Date, CveAlmacen As Integer, CveUnidadMedida As Integer, CveProveedor As Integer, CveTipoAlmacen As Integer, IncluyeTransitorios As Integer, CveClasificacion As Integer, CveUsuario As Integer, CveEmpresa As Integer, Optional CondicionExistencias As Integer = 0, Optional CveMarca As Integer = -1) As Boolean
+ Public Function GetKardexAlmacenHorizontal(CvePS As Integer, FechaFin As Date, CveAlmacen As Integer, CveUnidadMedida As Integer, CveProveedor As Integer, CveTipoAlmacen As Integer, IncluyeTransitorios As Integer, CveClasificacion As Integer, CveUsuario As Integer, CveEmpresa As Integer, Optional CondicionExistencias As Integer = 0, Optional Orden As Integer = -1, Optional CveMarca As Integer = -1) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Inv_KardexAlmacenHorizontalGet")
@@ -1490,6 +1490,7 @@ Public Class ClsInventarios
.Add("@CveProveedorCompra", SqlDbType.Int).Value = CveProveedor
.Add("@CveTipoAlmacen", SqlDbType.Int).Value = CveTipoAlmacen
.Add("@ExistenciasCondicion", SqlDbType.Int).Value = CondicionExistencias
+ .Add("@Orden", SqlDbType.Int).Value = Orden
.Add("@CveMarca", SqlDbType.Int).Value = CveMarca
End With
@@ -4879,27 +4880,6 @@ Public Class ClsInventarios
End Try
Return Retorno
End Function
-
- Public Function GetExistenciasMedRin(CvePS As Integer, CveEmpresa As Integer, CveRinTamaño As Integer, CveMedida As Integer) As Boolean
- Dim Retorno As Boolean = False
- DataAdapter("PA_Inv_ExistenciaMedRinGet")
-
- With SqlAdapter.SelectCommand.Parameters
- .Add("@CvePS", SqlDbType.Int).Value = CvePS
- .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
- .Add("@CveRinTamaño", SqlDbType.Int).Value = CveRinTamaño
- .Add("@CveMedida", SqlDbType.Int).Value = CveMedida
- End With
- Try
- SqlAdapter.Fill(Data)
- Retorno = True
- Catch ex As Exception
- OnError("Ocurrió un error al obtener las Existencias.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
- End Try
-
- Return Retorno
- End Function
-
Public Function UpdateCamiones(CveCamion As Integer, Placa As String, Especificacion As String) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Inv_CamionesUpdate")
diff --git a/CxC/RepCxC.aspx.vb b/CxC/RepCxC.aspx.vb
index 34a9b77b2..7c3b73753 100644
--- a/CxC/RepCxC.aspx.vb
+++ b/CxC/RepCxC.aspx.vb
@@ -114,13 +114,11 @@ Partial Class RepCxC
#Region "CARGAS"
Private Sub CargaCombos()
'CargaClientes
- If UsuarioActual.CveEmpresa = 119 Then
+ If UsuarioActual.Empresa.Funcionalidad(105) = "1" Then
DdlClientesWS.setEsWebService(True)
Else
DdlClientesWS.setEsWebService(False)
- DdlClientesWS.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa, -1)
- DdlClientesWS.DataBind()
- DdlClientesWS.ddl.Items.Insert(0, New ListItem("Todos", "-1"))
+ CargaClientes()
End If
'DdlClientes.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa, -1)
'DdlClientes.DataBind()
@@ -1433,7 +1431,7 @@ Partial Class RepCxC
End Sub
Private Sub CargaClientes()
- If UsuarioActual.CveEmpresa <> 119 Then
+ If Not UsuarioActual.Empresa.Funcionalidad(105) = "1" Then
DdlClientesWS.ddl.Items.Clear()
DdlClientesWS.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa, -1).FiltraParametros($"CveClienteClasificacion = {DdlClienteClasificacion.SelectedValue.ToEntero} OR {DdlClienteClasificacion.SelectedValue.ToEntero} = -1")
DdlClientesWS.DataBind()
diff --git a/CxC/RepCxCDetalle.aspx.vb b/CxC/RepCxCDetalle.aspx.vb
index 9795b367f..8b2f794e6 100644
--- a/CxC/RepCxCDetalle.aspx.vb
+++ b/CxC/RepCxCDetalle.aspx.vb
@@ -205,13 +205,11 @@ Partial Class RepCxCDetalle
'CargaClientes
'CargaClientes
- If UsuarioActual.CveEmpresa = 119 Then
+ If UsuarioActual.Empresa.Funcionalidad(105) = "1" Then
DdlClientesWS.setEsWebService(True)
Else
- DdlClientesWS.setEsWebService(False)
- DdlClientesWS.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa, -1)
- DdlClientesWS.DataBind()
- DdlClientesWS.ddl.Items.Insert(0, New ListItem("Todos", "-1"))
+ DdlClientesWS.setEsWebService(False)
+ CargaClientes()
End If
'DdlClientes.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa, -1)
'DdlClientes.DataBind()
@@ -983,7 +981,7 @@ Partial Class RepCxCDetalle
End Sub
Private Sub CargaClientes()
- If UsuarioActual.CveEmpresa <> 119 Then
+ If Not UsuarioActual.Empresa.Funcionalidad(105) = "1" Then
DdlClientesWS.ddl.Items.Clear()
DdlClientesWS.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa, -1).FiltraParametros($"CveClienteClasificacion = {DdlClienteClasificacion.SelectedValue.ToEntero} OR {DdlClienteClasificacion.SelectedValue.ToEntero} = -1")
DdlClientesWS.DataBind()
diff --git a/Empresas/141/Formatos/Factura.rdlc b/Empresas/141/Formatos/Factura.rdlc
index fe9d24568..214c598f8 100644
--- a/Empresas/141/Formatos/Factura.rdlc
+++ b/Empresas/141/Formatos/Factura.rdlc
@@ -144,6 +144,14 @@
SATClaveProdServ
System.String
+
+ SATClaveUM
+ System.String
+
+
+ PorcentajeIVA
+ System.String
+
DsOC
@@ -333,10 +341,10 @@
External
=Parameters!QR.Value
FitProportional
- 0.1632in
+ 0.02778in
0.02254in
- 1.2939in
- 1.53682in
+ 0.88765in
+ 0.97432in
@@ -345,6 +353,7 @@
true
+ true
true
@@ -372,19 +381,6 @@
-
-
-
-
-
-
-
-
-
@@ -411,19 +407,6 @@
-
-
-
-
-
-
-
-
-
@@ -450,19 +433,6 @@
-
-
-
-
-
-
-
-
-
@@ -491,9 +461,9 @@
Textbox88
- 0.41453cm
+ 0.07057cm
4.18558cm
- 3.5806cm
+ 2.25463cm
16.69544cm
1
-
- Start
-
true
- 6.39675in
- 0.0645in
- 1.67778in
+ 6.39118in
+ 0.07484in
+ 0.91543in
8.23221in
@@ -988,7 +955,7 @@
- true
+ true
true
@@ -997,7 +964,7 @@
=Fields!UM.Value
@@ -1023,7 +990,7 @@
- true
+ true
true
@@ -1032,7 +999,7 @@
=Fields!Codigo.Value
@@ -1057,17 +1024,17 @@
-
- true
+
+ true
true
- =Fields!SATClaveProdServ.Value
+ =Fields!SATClaveUM.Value
@@ -1077,7 +1044,7 @@
- SATClaveProdServ
+ SATClaveUM
@@ -1093,7 +1060,7 @@
- true
+ true
true
@@ -1102,7 +1069,7 @@
=Fields!PS.Value & System.Environment.NewLine & IIF(Fields!Obs.Value <> "","Observaciones: ","") & Fields!Obs.Value
@@ -1126,7 +1093,7 @@
- true
+ true
true
@@ -1135,8 +1102,9 @@
=Fields!PU.Value
@@ -1158,17 +1126,17 @@
-
- true
+
+ true
true
-
+ =Fields!PorcentajeIVA.Value
- Descuento
+ PorcentajeIVA
@@ -1196,7 +1164,7 @@
- true
+ true
true
@@ -1205,7 +1173,7 @@
=Fields!Descuento.Value
-
+
@@ -1717,7 +1685,9 @@
-
+
@@ -1738,7 +1708,9 @@
-
+
@@ -1751,7 +1723,9 @@
-
+
@@ -1767,7 +1741,7 @@
Textbox4
- 3.20357cm
+ 2.88607cm
0.28014cm
1.09007cm
9.71199cm
@@ -1784,6 +1758,7 @@
true
+ true
true
@@ -1871,7 +1846,7 @@
Textbox4
- 3.50094cm
+ 2.86594cm
10.06268cm
0.7927cm
9.71199cm
@@ -2045,7 +2020,7 @@
Textbox4
- 4.29364cm
+ 3.97614cm
0.25136cm
0.74611cm
13.82025cm
@@ -2078,7 +2053,7 @@
Textbox32
- 4.46621cm
+ 3.98996cm
14.07729cm
0.57354cm
2.90753cm
@@ -2113,7 +2088,7 @@
Textbox35
- 5.09559cm
+ 4.77809cm
0.26772cm
0.52062cm
9.72441cm
@@ -2175,8 +2150,8 @@
Textbox4
- 6.7641cm
- 3.33321cm
+ 6.3831cm
+ 1.74571cm
1.05328cm
17.71415cm
15
@@ -2195,6 +2170,7 @@
true
+ true
true
@@ -2213,6 +2189,7 @@
@@ -2231,6 +2208,7 @@
@@ -2249,6 +2227,7 @@
@@ -2267,6 +2246,7 @@
@@ -2285,6 +2265,7 @@
@@ -2303,11 +2284,12 @@
Textbox4
- 9.21745cm
+ 9.72545cm
0.22108cm
2.03224cm
20.79751cm
@@ -2337,8 +2319,8 @@
Textbox5
- 12.95331cm
- 0.19009cm
+ 13.43309cm
+ 0.21585cm
0.05496cm
20.88652cm
17
@@ -2357,7 +2339,7 @@
Embedded
ID5
FitProportional
- 11.49964cm
+ 11.91239cm
0.17151cm
0.96488cm
3.75909cm
@@ -2415,7 +2397,7 @@
Textbox4
- 12.51148cm
+ 12.95598cm
0.19008cm
0.40655cm
12.88812cm
@@ -2434,7 +2416,7 @@
Embedded
ID4
FitProportional
- 11.49964cm
+ 11.91239cm
4.34941cm
0.91769cm
3.03541cm
@@ -2449,7 +2431,7 @@
Embedded
ID1
FitProportional
- 11.49964cm
+ 11.91239cm
7.56121cm
0.97656cm
4.16281cm
@@ -2464,9 +2446,9 @@
Embedded
ID6
FitProportional
- 11.49964cm
+ 11.91239cm
11.90634cm
- 1.01184cm
+ 0.97656cm
3.76809cm
22
+
+ true
+ true
+
+
+
+
+ ** SI LAS LLANTAS NO SON INSTALADAS EN ECONOLLANTAS PIERDE SU GARANTÍA DE FABRICA **
+
+
+
+
+
+
+
+
+ EL CLIENTE NO ACEPTA PÓLIZA DE SEGURO,*ESTAS LLANTASSOLO TENDRAN GARANTÍA DE PROVIDA CONTRA DEFECTO DE FABRICA.
+
+
+
+
+
+
+ Textbox3
+ 7.43638cm
+ 1.15361cm
+ 1.32415cm
+ 19.15078cm
+ 39
+
+ =IIF((Sum(IIF(Fields!CveClasificacion.Value = 20345,1,0), "DsOC") = 0) and (Sum(IIF(Fields!CveClasificacion.Value = 20342 or Fields!CveClasificacion.Value = 20341,1,0), "DsOC") > 0),false,true)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
- 20.50931cm
+ 18.7493cm