diff --git a/App_Code/ClsInventarios.vb b/App_Code/ClsInventarios.vb
index 0d59da612..4cacc834a 100644
--- a/App_Code/ClsInventarios.vb
+++ b/App_Code/ClsInventarios.vb
@@ -4899,6 +4899,29 @@ Public Class ClsInventarios
Return Retorno
End Function
#End Region
+
+ 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 Ex1 As SqlException
+ Me.OnError("Ocurrió un error al obtener las existencias.", Ex1, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
+ Catch ex As Exception
+ OnError("Ocurrió un error al obtener las existencias.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
+ End Try
+
+ Return Retorno
+ End Function
#Region " IDisposable Support "
' IDisposable
Protected Overridable Sub Dispose(ByVal disposing As Boolean)
diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb
index 1ed19772f..7f3c76b8b 100644
--- a/Compras/Compras.aspx.vb
+++ b/Compras/Compras.aspx.vb
@@ -16718,7 +16718,7 @@ Partial Class Compras_Compras
TempIEPS = TxtIEPS.Text.ToDouble
TempRetIVA = TxtRetIVA.Text.ToDouble
TempRetISR = TxtRetISR.Text.ToDouble
- TempTotal = Math.Round(TempSubTotal2 + TempIVA + TempIEPS - TempRetIVA - TempRetISR - TxtOtrosImpuestos.Text.ToDouble - Amortizacion, 2)
+ TempTotal = Math.Round(TempSubTotal2 + TempIVA + TempIEPS - TempRetIVA - TempRetISR + TxtOtrosImpuestos.Text.ToDouble - Amortizacion, 2)
DifTotales = TxtTotal.Text.ToDouble - TempTotal
Dim DiferenciaPermitida = 0.6
diff --git a/Empresas/1/Formatos/ResguardoAF.rdlc b/Empresas/1/Formatos/ResguardoAF.rdlc
index b6ae1303e..93ec0fd17 100644
--- a/Empresas/1/Formatos/ResguardoAF.rdlc
+++ b/Empresas/1/Formatos/ResguardoAF.rdlc
@@ -535,7 +535,7 @@
- 7.35216cm
+ 7.37187cm
true
true
@@ -557,7 +557,7 @@
Textbox31
- 0.07054cm
+ 0.07053cm
0.11166cm
0.6cm
2.77516cm
@@ -588,7 +588,7 @@
Textbox31
- 0.10581cm
+ 0.1058cm
2.9221cm
1.2cm
13.85147cm
@@ -604,7 +604,7 @@
- 0.10582cm
+ 0.10581cm
0.05604cm
0cm
16.76689cm
@@ -616,7 +616,7 @@
- 1.30581cm
+ 1.3058cm
0.11166cm
0cm
16.71127cm
@@ -646,7 +646,7 @@
Textbox21
- 1.65887cm
+ 1.65886cm
0.55741cm
0.63528cm
7.11779cm
@@ -692,7 +692,7 @@
Textbox21
- 2.85338cm
+ 2.85337cm
0.55115cm
0.90367cm
7.11779cm
@@ -726,7 +726,7 @@
Textbox22
- 1.30581cm
+ 1.3058cm
0.56367cm
0.6cm
7.11153cm
@@ -760,7 +760,7 @@
Textbox21
- 1.62359cm
+ 1.62358cm
9.66204cm
0.63528cm
7.11779cm
@@ -806,7 +806,7 @@
Textbox21
- 2.85338cm
+ 2.85337cm
9.65578cm
0.90367cm
7.11779cm
@@ -840,7 +840,7 @@
Textbox22
- 1.30581cm
+ 1.3058cm
9.66204cm
0.6cm
7.11779cm
@@ -873,7 +873,7 @@
Textbox17
- 3.8276cm
+ 3.82759cm
0.00042cm
1.36498cm
16.77315cm
@@ -888,6 +888,51 @@
2pt
+
+ true
+ true
+
+
+
+
+ Fecha Impresión:
+
+
+
+
+
+
+
+ =Today
+
+
+
+
+
+
+ Textbox8
+ 6.50728cm
+ 0.11166cm
+ 0.6cm
+ 6.86562cm
+ 11
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Fecha Impresión:
+
+
+
+
+
+
+
+ =Today
+
+
+
+
+
+
+ Textbox8
+ 8.22649cm
+ 0.16462cm
+ 0.6cm
+ 6.86562cm
+ 11
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ =Today
+
+
+
+
+
+
+ Textbox8
+ 0.04925cm
+ 0.09525cm
+ 0.46771cm
+ 6.86562cm
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
27.94cm
21.59cm
0.5cm
diff --git a/Empresas/109/Formatos/Factura.rdlc b/Empresas/109/Formatos/Factura.rdlc
index 6fb8aab0c..14ae7feb2 100644
--- a/Empresas/109/Formatos/Factura.rdlc
+++ b/Empresas/109/Formatos/Factura.rdlc
@@ -4355,6 +4355,51 @@
2pt
+
+ true
+ true
+
+
+
+
+ Fecha Impresión:
+
+
+
+
+
+
+
+ =Today
+
+
+
+
+
+
+ Textbox8
+ 0.10583cm
+ 0.20791cm
+ 0.46771cm
+ 6.86562cm
+ 1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Fecha Impresión:
+
+
+
+
+
+
+
+ =Today
+
+
+
+
+
+
+ Textbox8
+ 0.10583cm
+ 0.14084cm
+ 0.46771cm
+ 6.86562cm
+ 1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Fecha Impresión:
+
+
+
+
+
+
+
+ =Today
+
+
+
+
+
+
+ Textbox8
+ 14.71932cm
+ 0.46771cm
+ 6.86562cm
+ 22
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
- 5.93748in
+ 6.03123in