diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb
index a08826ba7..f5a0be724 100644
--- a/Compras/Compras.aspx.vb
+++ b/Compras/Compras.aspx.vb
@@ -2164,7 +2164,7 @@ Partial Class Compras_Compras
If Msg <> "" Then
Alert($"El comprobante XML presenta las siguientes inconsistencias: {Msg}", TipoMensaje.MsgAdvertencia)
- Tab.ActiveTabIndex = 0
+ TAB.ActiveTabIndex = 0
''''BLOQUEA ACCIONES''''
BtnGuardar.Enabled = False
@@ -2839,7 +2839,7 @@ Partial Class Compras_Compras
'BLOQUEA OC
TxtOC.Enabled = False
ImgBtnBuscarOC.Visible = False
- Tab.ActiveTabIndex = 0
+ TAB.ActiveTabIndex = 0
GvAnticiposSel.DataSource = dtnc
GvAnticiposSel.DataBind()
@@ -6634,24 +6634,24 @@ Partial Class Compras_Compras
If CveTipoConcepto = 2 Then CveConceptoComplementario = 310
If tipoCambioActual = 1 Then
- IdCtaContable = CtaProveedor
- CveCuenta = CveCuentaProveedor
- Else
- IdCtaContable = CtaProveedorComplementaria
- CveCuenta = CveCuentaProveedorComplementaria
- If importeMovimiento <> 0 AndAlso (IdCtaContable > 0 Or CveCuenta > 0 Or UsuarioActual.CveEmpresa = 119) Then 'Cuando tiene complementaria lo dividimos en dos Then
- importeMN = importeMovimiento
+ IdCtaContable = CtaProveedor
+ CveCuenta = CveCuentaProveedor
+ Else
+ IdCtaContable = CtaProveedorComplementaria
+ CveCuenta = CveCuentaProveedorComplementaria
+ If importeMovimiento <> 0 AndAlso (IdCtaContable > 0 Or CveCuenta > 0 Or UsuarioActual.CveEmpresa = 119) Then 'Cuando tiene complementaria lo dividimos en dos Then
+ importeMN = importeMovimiento
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, 0, Referencia, CveConceptoComplementario, Concepto, FechaMovimiento, IdCtaContable, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, ImporteMX:=importeMovimiento * tipoCambioActual - importeMovimiento, ImporteME:=importeMovimiento, CveCuenta:=CveCuenta, TipoCambio:=tipoCambioActual, Contabilizable:=SeContabiliza) Then
ErrorPrepoliza = True
End If
End If
- IdCtaContable = CtaProveedorExtranjera
- CveCuenta = CveCuentaProveedorExtranjera
- End If
+ IdCtaContable = CtaProveedorExtranjera
+ CveCuenta = CveCuentaProveedorExtranjera
End If
+ End If
- Case 59 'Documentos
+ Case 59 'Documentos
importeMovimiento = importeCreditos
importeMN = importeMovimiento * tipoCambioActual * Multiplicador
If ObjConta.GetRetCuenta(ConceptoContable, CveProveedor) Then
@@ -8838,14 +8838,20 @@ Partial Class Compras_Compras
'Si el importe total de la amortizacion es igual al saldo de la compra se registra IVA
If IVACompleto = False AndAlso UsuarioActual.Empresa.Funcionalidad(521) = "1" Then
If sumaAmortizacionCompleto = CompraSaldo Then
- Dim PorcentajeImpuesto As Decimal = TmpDT.MAX("IVAPorcentaje").ToDecimal
- If Not ObjConta.AddPrePolizasDetalle(CvePrePolizaNueva, True, TxtIVA.Text.ToDecimal, "", 14, "", Fecha, IdCtaIVAXAcreditar, -1, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveIE:=CveIE, ImporteMX:=TxtIVA.Text.ToDecimal * tipoCambio, CvePrePolizaOriginal:=CvePrePoliza, ImporteME:=If(tipoCambio = 1, 0, TxtIVA.Text.ToDecimal), CveCuenta:=CveCuenta, PorcentajeImpuesto:=PorcentajeImpuesto) Then
- ErrorMovtosCxP = 1
- End If
-
- If Not ObjConta.AddPrePolizasDetalle(CvePrePolizaNueva, False, TxtIVA.Text.ToDecimal, "", 19, "", Fecha, IdCtaIVAAcreditable, -1, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveIE:=CveIE, ImporteMX:=TxtIVA.Text.ToDecimal * tipoCambio, CvePrePolizaOriginal:=CvePrePoliza, ImporteME:=If(tipoCambio = 1, 0, TxtIVA.Text.ToDecimal), CveCuenta:=CveCuenta, PorcentajeImpuesto:=PorcentajeImpuesto) Then
- ErrorMovtosCxP = 1
- End If
+ Dim PorcentajeImpuesto As Decimal = TmpDT.MAX("IVAPorcentaje").ToDecimal
+
+
+ If TxtIVA.Text.ToDecimal > 0 Then
+ If Not ObjConta.AddPrePolizasDetalle(CvePrePolizaNueva, True, TxtIVA.Text.ToDecimal, "", 14, "", Fecha, IdCtaIVAXAcreditar, -1, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveIE:=CveIE, ImporteMX:=TxtIVA.Text.ToDecimal * tipoCambio, CvePrePolizaOriginal:=CvePrePoliza, ImporteME:=If(tipoCambio = 1, 0, TxtIVA.Text.ToDecimal), CveCuenta:=CveCuenta, PorcentajeImpuesto:=PorcentajeImpuesto) Then
+ ErrorMovtosCxP = 1
+ End If
+
+ If Not ObjConta.AddPrePolizasDetalle(CvePrePolizaNueva, False, TxtIVA.Text.ToDecimal, "", 19, "", Fecha, IdCtaIVAAcreditable, -1, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveIE:=CveIE, ImporteMX:=TxtIVA.Text.ToDecimal * tipoCambio, CvePrePolizaOriginal:=CvePrePoliza, ImporteME:=If(tipoCambio = 1, 0, TxtIVA.Text.ToDecimal), CveCuenta:=CveCuenta, PorcentajeImpuesto:=PorcentajeImpuesto) Then
+ ErrorMovtosCxP = 1
+ End If
+ End If
+
+
End If
End If
@@ -11634,7 +11640,7 @@ Partial Class Compras_Compras
#Region "TAB - ACTIVOS FIJOS -AF"
Protected Sub CargarGvActivosFijos(sender As Object, e As EventArgs)
- Tab.ActiveTabIndex = 3
+ TAB.ActiveTabIndex = 3
If GvAFInsumos.Rows.Count > 0 Then
llenaDtsAF()
@@ -13706,7 +13712,7 @@ Partial Class Compras_Compras
UpFacturar.Update()
TabGenerales.Enabled = True
- Tab.ActiveTabIndex = 0
+ TAB.ActiveTabIndex = 0
UpTabs.Update()
ImgClasificacion.Visible = False
@@ -14435,7 +14441,7 @@ Partial Class Compras_Compras
'SI NO ES UNA COMPRA REGISTRADA = ENABLE FALSE TAB GENERALES, ACTIVE TAB OC
If Not CveCompra > 0 Then
TabGenerales.Enabled = False
- Tab.ActiveTabIndex = 2
+ TAB.ActiveTabIndex = 2
UpTabs.Update()
End If
@@ -14995,7 +15001,7 @@ Partial Class Compras_Compras
UpFacturar.Update()
TabGenerales.Enabled = True
- Tab.ActiveTabIndex = 0
+ TAB.ActiveTabIndex = 0
UpTabs.Update()
@@ -15098,7 +15104,7 @@ Partial Class Compras_Compras
UpFacturar.Update()
TabGenerales.Enabled = True
- Tab.ActiveTabIndex = 0
+ TAB.ActiveTabIndex = 0
UpTabs.Update()
ImgClasificacion.Visible = False
diff --git a/Contratos/CatContratosTipos.aspx.vb b/Contratos/CatContratosTipos.aspx.vb
index 044ce9b99..f0bdc4aea 100644
--- a/Contratos/CatContratosTipos.aspx.vb
+++ b/Contratos/CatContratosTipos.aspx.vb
@@ -66,8 +66,9 @@ Partial Class Contratos_CatContratosTipos
Dim TipoContrato = GvContratos.Rows(e.RowIndex).FCTextBox("TxtTipoContrato").Text.Trim
Dim Descripcion = GvContratos.Rows(e.RowIndex).FCTextBox("TxtDescripcion").Text.Trim
Dim Clave = GvContratos.Rows(e.RowIndex).DataKey("CveContratoTipo").ToEntero
- If Update.UpdateContratosTipos(Clave, TipoContrato, Descripcion, True, UsuarioActual.CveEmpresa) Then
+ If Update.UpdateContratosTipos(Clave, TipoContrato, Descripcion, True, UsuarioActual.CveUsuario) Then
Alert("El Tipo de Contrato se actualizó correctamente.", TipoMensaje.MsgInformacion)
+ GlobalDTContratosTipos(UsuarioActual.CveEmpresa) = Nothing
End If
GvContratos.EditIndex = -1
CargaDatos()
diff --git a/Empresas/Grales/Formatos/EntradaSalida.rdlc b/Empresas/Grales/Formatos/EntradaSalida.rdlc
index b5fd6cb99..39632b298 100644
--- a/Empresas/Grales/Formatos/EntradaSalida.rdlc
+++ b/Empresas/Grales/Formatos/EntradaSalida.rdlc
@@ -1,1343 +1,1343 @@
-
-
-
-
-
-
-
-
- 1.72112cm
-
-
- 2.33244cm
-
-
- 7.27452cm
-
-
- 2.70027cm
-
-
- 1.89819cm
-
-
- 1.87391cm
-
-
-
-
- 0.42054cm
-
-
-
-
- true
- true
-
-
-
-
- Cant.
-
-
-
-
-
-
- Textbox7
-
-
-
- Black
-
- 1pt
-
-
- Black
-
- 1pt
-
- White
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Código
-
-
-
-
-
-
- Textbox9
-
-
-
- Black
-
- 1pt
-
-
- Black
-
- 1pt
-
- White
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Descripción
-
-
-
-
-
-
- Textbox11
-
-
-
- Black
-
- 1pt
-
-
- Black
-
- 1pt
-
- White
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Serie Lote
-
-
-
-
-
-
- Textbox6
-
-
-
- Black
-
- 1pt
-
-
- Black
-
- 1pt
-
- White
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Lote
-
-
-
-
-
-
- Textbox5
-
-
-
- Black
-
- 1pt
-
-
- Black
-
- 1pt
-
- White
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- Batch
-
-
-
-
-
-
- Textbox12
-
-
-
- Black
-
- 1pt
-
-
- Black
-
- 1pt
-
- White
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 0.69042cm
-
-
-
-
- true
- true
-
-
-
-
- =Fields!Cantidad.Value
-
-
-
-
-
-
- Cantidad
-
-
- 2pt
- 2pt
- =IIf(RowNumber(Nothing)=1,"1pt","0pt")
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!Codigo.Value
-
-
-
-
-
-
- Codigo
-
-
- 2pt
- 2pt
- =IIf(RowNumber(Nothing)=1,"1pt","0pt")
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!PS.Value
-
-
-
-
-
-
- PS
-
-
- 2pt
- 2pt
- =IIf(RowNumber(Nothing)=1,"1pt","0pt")
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!SerieLote.Value
-
-
-
-
-
-
- SerieLote
-
-
- 2pt
- 2pt
- =IIf(RowNumber(Nothing)=1,"1pt","0pt")
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!Lote.Value
-
-
-
-
-
-
- Lote
-
-
- 2pt
- 2pt
- =IIf(RowNumber(Nothing)=1,"1pt","0pt")
-
-
-
-
-
-
-
- true
- true
-
-
-
-
- =Fields!Batch.Value
-
-
-
-
-
-
- Batch
-
-
- 2pt
- 2pt
- =IIf(RowNumber(Nothing)=1,"1pt","0pt")
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- =IIF(String.IsNullOrEmpty(Fields!Lote.Value), True,False)
-
-
-
-
- =IIF(String.IsNullOrEmpty(Fields!Batch.Value), True,False)
-
-
-
-
-
-
-
- After
-
-
-
-
-
-
- DsInventarios
- 0.17639cm
- 0.12931cm
- 1.11096cm
- 17.80045cm
-
-
-
-
-
- true
- true
-
-
-
-
- =Parameters!Observaciones.Value
-
-
-
-
-
-
- Textbox2
- 1.39318cm
- 0.16459cm
- 0.6cm
- 11.36782cm
- 1
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- 0.82291in
-
-
- 7.05896in
-
-
- 4.11151cm
- true
- true
-
-
- true
- true
-
-
-
-
- =Parameters!Empresa.Value
-
-
-
-
-
-
- Textbox1
- 0.28677cm
- 3.73711cm
- 0.67056cm
- 8.97552cm
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- =Parameters!Concepto.Value
-
-
-
-
-
-
- Textbox34
- 1.02789cm
- 3.73711cm
- 0.95277cm
- 8.10916cm
- 1
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- External
- =Parameters!LogoPath.Value
- FitProportional
- 0.3175cm
- 0.19987cm
- 1.66316cm
- 3.43141cm
- 2
-
-
-
-
-
- true
- true
-
-
-
-
- =Parameters!FacturaProveedor.Value
-
-
-
-
-
-
- Textbox15
- 2.40854cm
- 2.30482cm
- 0.6cm
- 9.54145cm
- 3
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
-
-
-
-
- =Parameters!FacturadoA.Value
-
-
-
-
-
-
- Textbox18
- 3.14964cm
- 2.30482cm
- 0.6cm
- 9.54145cm
- 4
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Proveedor:
-
-
-
-
-
-
- Textbox16
- 3.1605cm
- 0.14172cm
- 0.6cm
- 2.11724cm
- 5
-
- =IIF(Parameters!FacturadoA.Value = "", True, False)
-
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Factura:
-
-
-
-
-
-
- Textbox14
- 2.40854cm
- 0.12931cm
- 0.6cm
- 2.12965cm
- 6
-
- =IIF(Parameters!FacturaProveedor.Value = "", True, False)
-
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Folio:
-
-
-
-
-
-
- Textbox3
- 0.35028cm
- 12.99791cm
- 0.89103cm
- 2.06494cm
- 7
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- =Parameters!Folio.Value
-
-
-
-
-
-
- Textbox31
- 0.31501cm
- 15.06284cm
- 0.9263cm
- 2.57165cm
- 8
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Fecha:
-
-
-
-
-
-
- Textbox4
- 3.16051cm
- 12.17799cm
- 0.59999cm
- 1.80326cm
- 9
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
-
-
-
-
- =Parameters!Almacen.Value
-
-
-
-
-
-
- Textbox6
- 2.40855cm
- 13.98125cm
- 0.6cm
- 3.65324cm
- 10
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- =Parameters!Fecha.Value
-
-
-
-
-
-
- Textbox32
- 3.16051cm
- 13.98125cm
- 0.59999cm
- 3.65324cm
- 11
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Almacén:
-
-
-
-
-
-
- Textbox3
- 2.40855cm
- 12.17799cm
- 0.59999cm
- 1.80326cm
- 12
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
-
- 2.22251cm
- true
- true
-
-
- 0.28886cm
- 2.22221cm
- 0cm
- 4.95004cm
-
-
-
-
-
- true
- true
-
-
-
-
- =Parameters!NombreRecibio.Value
-
-
-
-
-
-
- Textbox31
- 0.46525cm
- 1.74387cm
- 0.6cm
- 5.95755cm
- 1
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- 0.28886cm
- 12.07381cm
- 0cm
- 4.95004cm
- 2
-
-
-
-
-
- true
- true
-
-
-
-
- =Parameters!Almacen.Value
-
-
-
-
-
-
- Textbox31
- 0.42997cm
- 11.67694cm
- 0.6cm
- 5.95755cm
- 3
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- Fecha Impresion:
-
-
-
-
-
-
- Textbox5
- 1.49022cm
- 11.83688cm
- 0.6cm
- 2.90426cm
- 4
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
- true
- true
-
-
-
-
- =Parameters!FechaImpresion.Value
-
-
-
-
-
-
- Textbox33
- 1.49022cm
- 14.74114cm
- 0.6cm
- 2.89335cm
- 5
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
-
-
-
-
-
- 29.7cm
- 21cm
- 0.5cm
- 1.5cm
- 2cm
- 2cm
- 0.13cm
-
-
- 0
-
-
-
- System.Data.DataSet
- /* Local Connection */
-
- 1f7ab5df-1d00-4763-8479-9ab750b1589a
-
-
-
-
-
- DsInventarios
- /* Local Query */
-
-
-
- Codigo
- System.String
-
-
- PS
- System.String
-
-
- UnidadMedida
- System.String
-
-
- PU
- System.Decimal
-
-
- Cantidad
- System.Decimal
-
-
- Total
- System.Decimal
-
-
- Descuento
- System.Decimal
-
-
- CodigoAF
- System.String
-
-
- Almacen
- System.String
-
-
- Lote
- System.String
-
-
- Batch
- System.String
-
-
- SerieLote
- System.String
-
-
-
- DsInventarios
- C:\inetpub\wwwVentas\App_Code\DsInventarios.xsd
- DtMovimientos
-
-
-
-
-
-
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- ReportParameter1
-
-
- String
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- String
- true
- true
- ReportParameter1
-
-
- Cm
- e6b08487-acfe-4020-a8f2-f9a54953646f
+
+
+
+
+
+
+
+
+ 1.72112cm
+
+
+ 2.33244cm
+
+
+ 7.27452cm
+
+
+ 2.70027cm
+
+
+ 1.89819cm
+
+
+ 1.57864cm
+
+
+
+
+ 0.42054cm
+
+
+
+
+ true
+ true
+
+
+
+
+ Cant.
+
+
+
+
+
+
+ Textbox7
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Código
+
+
+
+
+
+
+ Textbox9
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Descripción
+
+
+
+
+
+
+ Textbox11
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Serie Lote
+
+
+
+
+
+
+ Textbox6
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Lote
+
+
+
+
+
+
+ Textbox5
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Batch
+
+
+
+
+
+
+ Textbox12
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.69042cm
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Cantidad.Value
+
+
+
+
+
+
+ Cantidad
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Codigo.Value
+
+
+
+
+
+
+ Codigo
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!PS.Value
+
+
+
+
+
+
+ PS
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!SerieLote.Value
+
+
+
+
+
+
+ SerieLote
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Lote.Value
+
+
+
+
+
+
+ Lote
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Batch.Value
+
+
+
+
+
+
+ Batch
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ =IIF(String.IsNullOrEmpty(Fields!Lote.Value), True,False)
+
+
+
+
+ =IIF(String.IsNullOrEmpty(Fields!Batch.Value), True,False)
+
+
+
+
+
+
+
+ After
+
+
+
+
+
+
+ DsInventarios
+ 0.17639cm
+ 0.22456cm
+ 1.11096cm
+ 17.50518cm
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Observaciones.Value
+
+
+
+
+
+
+ Textbox2
+ 1.39318cm
+ 0.25984cm
+ 0.6cm
+ 11.36782cm
+ 1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ 0.82291in
+
+
+ 7.06771in
+
+
+ 4.11151cm
+ true
+ true
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Empresa.Value
+
+
+
+
+
+
+ Textbox1
+ 0.28677cm
+ 3.73711cm
+ 0.67056cm
+ 8.97552cm
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Concepto.Value
+
+
+
+
+
+
+ Textbox34
+ 1.02789cm
+ 3.73711cm
+ 0.95277cm
+ 8.10916cm
+ 1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ External
+ =Parameters!LogoPath.Value
+ FitProportional
+ 0.3175cm
+ 0.19987cm
+ 1.66316cm
+ 3.43141cm
+ 2
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!FacturaProveedor.Value
+
+
+
+
+
+
+ Textbox15
+ 2.34504cm
+ 2.43182cm
+ 0.6cm
+ 9.54145cm
+ 3
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+
+
+
+
+ =Parameters!FacturadoA.Value
+
+
+
+
+
+
+ Textbox18
+ 3.08614cm
+ 2.43182cm
+ 0.6cm
+ 9.54145cm
+ 4
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Proveedor:
+
+
+
+
+
+
+ Textbox16
+ 3.097cm
+ 0.26872cm
+ 0.6cm
+ 2.11724cm
+ 5
+
+ =IIF(Parameters!FacturadoA.Value = "", True, False)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Factura:
+
+
+
+
+
+
+ Textbox14
+ 2.34504cm
+ 0.25631cm
+ 0.6cm
+ 2.12965cm
+ 6
+
+ =IIF(Parameters!FacturaProveedor.Value = "", True, False)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Folio:
+
+
+
+
+
+
+ Textbox3
+ 0.35028cm
+ 12.99791cm
+ 0.89103cm
+ 2.06494cm
+ 7
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Folio.Value
+
+
+
+
+
+
+ Textbox31
+ 0.31501cm
+ 15.06284cm
+ 0.9263cm
+ 2.57165cm
+ 8
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Fecha:
+
+
+
+
+
+
+ Textbox4
+ 3.09701cm
+ 12.33674cm
+ 0.59999cm
+ 1.80326cm
+ 9
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+
+
+
+
+ =Parameters!Almacen.Value
+
+
+
+
+
+
+ Textbox6
+ 2.34505cm
+ 14.14cm
+ 0.6cm
+ 3.65324cm
+ 10
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Fecha.Value
+
+
+
+
+
+
+ Textbox32
+ 3.09701cm
+ 14.14cm
+ 0.59999cm
+ 3.65324cm
+ 11
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Almacén:
+
+
+
+
+
+
+ Textbox3
+ 2.34505cm
+ 12.33674cm
+ 0.59999cm
+ 1.80326cm
+ 12
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+
+ 2.22251cm
+ true
+ true
+
+
+ 0.28886cm
+ 2.22221cm
+ 0cm
+ 4.95004cm
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!NombreRecibio.Value
+
+
+
+
+
+
+ Textbox31
+ 0.46525cm
+ 1.74387cm
+ 0.6cm
+ 5.95755cm
+ 1
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ 0.28886cm
+ 12.20081cm
+ 0cm
+ 4.95004cm
+ 2
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!Almacen.Value
+
+
+
+
+
+
+ Textbox31
+ 0.42997cm
+ 11.80394cm
+ 0.6cm
+ 5.95755cm
+ 3
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ Fecha Impresion:
+
+
+
+
+
+
+ Textbox5
+ 1.49022cm
+ 11.96388cm
+ 0.6cm
+ 2.90426cm
+ 4
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+ true
+ true
+
+
+
+
+ =Parameters!FechaImpresion.Value
+
+
+
+
+
+
+ Textbox33
+ 1.49022cm
+ 14.86814cm
+ 0.6cm
+ 2.89335cm
+ 5
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 29.7cm
+ 21cm
+ 0.5cm
+ 1.5cm
+ 2cm
+ 2cm
+ 0.13cm
+
+
+ 0
+
+
+
+ System.Data.DataSet
+ /* Local Connection */
+
+ 1f7ab5df-1d00-4763-8479-9ab750b1589a
+
+
+
+
+
+ DsInventarios
+ /* Local Query */
+
+
+
+ Codigo
+ System.String
+
+
+ PS
+ System.String
+
+
+ UnidadMedida
+ System.String
+
+
+ PU
+ System.Decimal
+
+
+ Cantidad
+ System.Decimal
+
+
+ Total
+ System.Decimal
+
+
+ Descuento
+ System.Decimal
+
+
+ CodigoAF
+ System.String
+
+
+ Almacen
+ System.String
+
+
+ Lote
+ System.String
+
+
+ Batch
+ System.String
+
+
+ SerieLote
+ System.String
+
+
+
+ DsInventarios
+ C:\inetpub\wwwVentas\App_Code\DsInventarios.xsd
+ DtMovimientos
+
+
+
+
+
+
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ ReportParameter1
+
+
+ String
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ String
+ true
+ true
+ ReportParameter1
+
+
+ Cm
+ e6b08487-acfe-4020-a8f2-f9a54953646f
\ No newline at end of file
diff --git a/Inventarios/TraspasoAlmacen.aspx.vb b/Inventarios/TraspasoAlmacen.aspx.vb
index a6d04f26b..8b3f9aa69 100644
--- a/Inventarios/TraspasoAlmacen.aspx.vb
+++ b/Inventarios/TraspasoAlmacen.aspx.vb
@@ -821,7 +821,7 @@ Partial Class Inventarios_TraspasoAlmacen
Dim CveSubProyecto As Integer = GlobalDTAlmacen(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveSubProyecto", $"CveAlmacen= {DdlAlmacenOrigen.SelectedValue}").ToEntero()
- Dim CveAlmacenVirtual As Integer = GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, 24).FiltroPrimeroValor("CveAlmacen", $"CveSubProyecto={CveSubProyecto}").ToEntero()
+ Dim CveAlmacenVirtual As Integer = GlobalDTAlmacen(UsuarioActual.CveEmpresa, 24).FiltroPrimeroValor("CveAlmacen", $"CveSubProyecto={CveSubProyecto}").ToEntero()
CveMovimientoVirtualSalida = ObjInventario.AddMovimiento(CveAlmacenVirtual, 37, 1, TxtFecha.Text.ToDate, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, -1, -1, -1, -1, Observaciones:=TxtObservaciones.Text.Trim, Modulo:="TA/V", CveMovimientoRelacionado:=CveMovimientoSalida)
FolioVirtualSalida = ObjInventario.Folio